LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 07-13-2011, 03:11 PM   #1
DJ_Thunderlord
LQ Newbie
 
Registered: Apr 2011
Posts: 7

Rep: Reputation: 0
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 !
 
Old 07-13-2011, 04:46 PM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Philly, PA
Distribution: Kubuntu x64, RHEL, Fedora Core, FreeBSD, Windows x64
Posts: 1,465
Blog Entries: 35

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
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.
 
Old 07-14-2011, 08:45 AM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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.
Old 07-14-2011, 09:00 AM   #4
paziulek
Member
 
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|debian|arch"
Posts: 77

Rep: Reputation: 11
to be more accurate, max file size in fat32 is 4 GiB -1 byte

Quote:
Originally Posted by i92guboj View Post
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).
 
Old 07-14-2011, 09:03 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
That's what I put in between the parentheses
 
Old 07-14-2011, 09:15 AM   #6
paziulek
Member
 
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|debian|arch"
Posts: 77

Rep: Reputation: 11
are you really sure?

Quote:
Originally Posted by i92guboj View Post
That's what I put in between the parentheses
 
Old 07-14-2011, 09:22 AM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,043

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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.
 
Old 07-14-2011, 09:42 AM   #8
paziulek
Member
 
Registered: Mar 2009
Location: N.C.
Distribution: "gentoo|debian|arch"
Posts: 77

Rep: Reputation: 11
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 View Post
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.
 
  


Reply

Tags
ntfs, partition, repair, vfat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ran mkfs.vfat over top ntfs partition... any way to restore ntfs partition info? oryan_dunn Linux - Hardware 8 10-14-2010 06:08 PM
[SOLVED] how to add/convert memory from my NTFS partition to Linux partition? Morgan- Linux - Software 4 06-07-2010 10:27 PM
Fedora5 help convert NTFS partition/format to Linux please lizard_king825 Linux - General 4 05-21-2006 12:11 AM
Repair NTFS partition from linux nyk Linux - Software 3 10-27-2004 03:27 PM
Convert vfat partition to ext3? retarded Linux - Newbie 1 09-03-2004 07:20 PM


All times are GMT -5. The time now is 06:05 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration