Can I repair and convert ntfs partition to vfat on linux with linux tools !?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Can I repair and convert ntfs partition to vfat on linux with linux tools !?
Ok now I have problem when I tried to change a filetype from ntfs drive to vfat on my linux ! I just need that temporary while i do not by other hdd and then will make this one just as other completely ext4 ! I get a error while I was tryin to resize and move a ntfs with /usr/bin/partitionmanager i mean kde partition manager I mean I use xfce desktop but I tried with kde partition manager that report error that cannot resize my ntfs partition which is quite big I needed some time for a job installation of windows now I kindly thrown all of that shit out of my cpu as a Richard Stallman said defenestrate it
Just now I have one naughty problem now stupid kde partition manager report taht I need to install windows so that I could repair ntfs disk inside windows just to uninstal it later and destroy windows partitions ! I wouldn't like that ! I also have a hehe one interesting tool that is useful when working with multiple os's Acronis disk director just acronis have its one problem of writing partition table on not standard place and some gnu utils than read it as a wrong partition table !
The question is:
Can I successfully repair a ntfs partition on linux ? I mean I have access to all data on it nothing is corrupted I just want to be able to change it into a vfat disk for a while while I do not by one more hdd ! I mean i have quite important data on that disk and other solution is to backup everything on a dvd's and then destroy ntfs and run :$ mkpart logical ext4
Btw I would like to experiment with that convert with few tools but do not want to loose data on partition ! Btw I cannot resize it now ! only delete !
Drives are cheap, data's expensive. Buy a $50 1TB internal/external disk and use that.
You can repair partition tables using parted. You can also use photorec, also testdisk is used for recovering partition tables. Those are the two best methods I've found so far.
Truly you should be copying your data on more than one drive or array if it is important. If you're life ends because of a single hard drive failure then you do not have enough copies. Look up rsync and cron.
You can use ntfsfix from the ntfs3g package to fix ntfs partitions under linux.
Converting them to fat32 is another thing, and I don't know if it can be done. I doubt it since there are significant differences between both fs's. For example, what would happen to a +4gb file if you converted the volume to fat32? (fat32 max file size is 4gb minus 1 byte).
to be more accurate, max file size in fat32 is 4 GiB -1 byte
Quote:
Originally Posted by i92guboj
You can use ntfsfix from the ntfs3g package to fix ntfs partitions under linux.
Converting them to fat32 is another thing, and I don't know if it can be done. I doubt it since there are significant differences between both fs's. For example, what would happen to a +4gb file if you converted the volume to fat32? (fat32 max file size is 4gb minus 1 byte).
I am -and probably anyone that can read will also be- pretty sure just by looking at what's already written above that I said "(fat32 max file size is 4gb minus 1 byte)". I am not a native English speaker, but I am also pretty sure that that sentence means that I know that the fat32 file system can host files that are, at most, [(1024*1024*1024*4)-1] bytes. This time the parentheses were not necessary but I added them just for the sake of clarity, I hope that's fine. In any case, our chit-chat is not too helpful so let's get back to the topic, please.
to me GB is decimal and GiB binary ( for file and media sizes excluding JDEC specs ) - so 4 GB might mislead some people - it is off the topic, sorry, but such "small" things often can save from frustration.
compare:
df -BM
df -BMB
Quote:
Originally Posted by i92guboj
I am -and probably anyone that can read will also be- pretty sure just by looking at what's already written above that I said "(fat32 max file size is 4gb minus 1 byte)". I am not a native English speaker, but I am also pretty sure that that sentence means that I know that the fat32 file system can host files that are, at most, [(1024*1024*1024*4)-1] bytes. This time the parentheses were not necessary but I added them just for the sake of clarity, I hope that's fine. In any case, our chit-chat is not too helpful so let's get back to the topic, please.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.