Dicas para o Ubuntu

Olá!

O objetivo dessa página é orientar usuários iniciantes do Ubuntu que desejam instalar e configurar o Ubuntu utilizando ao máximo o modo gráfico. Caso o uso do ambiente gráfico não for possível, as orientações buscam ser o mais simples possível, sempre voltadas aos iniciantes do Ubuntu. A versão utilizada do Ubuntu é sempre mais atual e estável de 64 bits.

segunda-feira, 9 de julho de 2012

Fixing a NTFS partition in Ubuntu

HOW TO Fix a NTFS partition in Ubuntu

20Sep11
My HowTo on fixing an EXT partition in Ubuntu is by far my most popular post, pulling in new visitors everyday. The only reason I wrote it is because it was something that happened to me now and again.
But what about dual boots? What happens when your NTFS drive goes beserk, and you only have access to your Ubuntu install? Well, finally, I’ve come across a solution.
Now, before we begin, this HowTo assumes that your Ubuntu install is working as normal, and that the NTFS partition isn’t essential to Ubuntu. It’s also possible (though I’ve not yet tried) to follow this HowTo using Parted  Magic.
First, we need to find out what partition we are dealing with. To do this, open a terminal and type;
1sudo fdisk -l
That’ll give you something like this;
1Disk /dev/sdb: 160.0 GB, 160041885696 bytes
2255 heads, 63 sectors/track, 19457 cylinders
3Units = cylinders of 16065 * 512 = 8225280 bytes
4Sector size (logical/physical): 512 bytes / 512 bytes
5I/O size (minimum/optimal): 512 bytes / 512 bytes
6Disk identifier: 0x2709a320
7
8 Device Boot Start End Blocks Id System
9/dev/sdb1 * 1 19457 156288321 7 HPFS/NTFS
/dev/sd1 is in this case the NTFS drive we’ll be working with. Obviously change this to whatever yours is. If your partition isn’t listed here, or appears to be the wrong size, you’ll need to use TestDisk.
Next, you need to install some software called “ntfsprogs”. You can do this through Synaptic or on the command line using;
1sudo apt-get install ntfsprogs
There’s just one last step.
1sudo ntfsfix /dev/sdb1
With any luck, you should see the following;
1Mounting volume... OK
2Processing of $MFT and $MFTMirr completed successfully.
3NTFS volume version is 3.1.
4NTFS partition /dev/sdb1 was processed successfully.
And that’s it! Go try to mount you NTFS partition, and it should work again as normal. If not, feel free to leave a comment below.

Original article from:

http://linuxexpresso.wordpress.com/2011/09/20/howto-fix-an-ntfs-partition-in-ubuntu/