Linux - General This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-13-2011, 03:11 PM
|
#1
|
|
LQ Newbie
Registered: Apr 2011
Posts: 7
Rep:
|
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 !
|
|
|
|
07-13-2011, 04:46 PM
|
#2
|
|
Senior Member
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,062
|
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.
SAM
Last edited by sag47; 07-13-2011 at 04:52 PM.
|
|
|
|
07-14-2011, 08:45 AM
|
#3
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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).
|
|
|
1 members found this post helpful.
|
07-14-2011, 09:00 AM
|
#4
|
|
Member
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|tinycore|arch"
Posts: 42
Rep:
|
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).
|
|
|
|
|
07-14-2011, 09:03 AM
|
#5
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
That's what I put in between the parentheses 
|
|
|
|
07-14-2011, 09:15 AM
|
#6
|
|
Member
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|tinycore|arch"
Posts: 42
Rep:
|
are you really sure?
Quote:
Originally Posted by i92guboj
That's what I put in between the parentheses 
|
|
|
|
|
07-14-2011, 09:22 AM
|
#7
|
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 3,965
|
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.
|
|
|
|
07-14-2011, 09:42 AM
|
#8
|
|
Member
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|tinycore|arch"
Posts: 42
Rep:
|
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.
|
Last edited by paziulek; 07-14-2011 at 09:53 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|