LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2008, 07:06 AM   #1
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Rep: Reputation: 30
ntfs->fat32


hi every body
i have a problem
i want to changa a windows drive (ntfs) to fat32 from my slackware
without losing the files on the ntfs drive
i know that i can make this with partion magic
but i want to make it on my little slack
any suggestions?
 
Old 01-16-2008, 07:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
converting two proprietary file systems based on reversed engineernig of protocols, if you would trust that, you're nuts, and i'm pretty sure it's also totally impossible within linux anyway, as it should be.
 
Old 01-16-2008, 07:27 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I am not sure it is possible from anywhere to change the filesystem while preserving all the data.

Please tell us why you want to do this. There might be a better way to get to the final goal. (In American slang: What swamp are you trying to drain?)
 
Old 01-16-2008, 07:58 AM   #4
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Rep: Reputation: 73
It is possible, but you need to do it from Windows using
an app like Partition Magic. I've done fat32->ntfs that way
on an empty, brand new USB drive.

If going the opposite way, remember that fat32 has various
restrictions that ntfs doesn't have. For example,
there's a file size limit on fat32 (2Gb or 4Gb, can't remember which?).

A better approach would be to create a fat32 partition and then copy
files from your existing ntfs partition. I don't know if that
can be done from linux.

Good luck!

Andrew
 
Old 01-16-2008, 08:12 AM   #5
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Another thing worth mentioning is the size limit of fat32 itself. One fat32 partition cant be larger then 32GB. And that isn't very much these days. So if your NTFS partition is larger then 32GB it will be impossible with linux, windows, <insert os/application here>.
 
Old 01-16-2008, 08:17 AM   #6
drumz
Member
 
Registered: Apr 2005
Location: Oklahoma, USA
Distribution: Slackware
Posts: 902

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
Quote:
Originally Posted by Dinithion View Post
Another thing worth mentioning is the size limit of fat32 itself. One fat32 partition cant be larger then 32GB.
That isn't true.

Quote:
Originally Posted by http://support.microsoft.com/kb/154997
FAT32 provides the following enhancements over previous implementations of the FAT file system:
• FAT32 supports drives up to 2 terabytes in size.

NOTE: Microsoft Windows 2000 only supports FAT32 partitions up to a size of 32 GB.
If you create the fat32 partition in linux, you won't have any problems. If you try to create it in Windows, then you might have problems (I've run into this before).
 
Old 01-16-2008, 08:28 AM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
yeah, FAT32 limits the size of 1 FILE to 4gb .. so you can't keep all your 9gb dvd images in that drive.

Why do you want to convert ? Is space such a big issue? Copy it to a external drive (beg/borrow/steal from your friends) , and run mkfs.ntfs on that partition. That should be enough .
 
Old 01-16-2008, 09:03 AM   #8
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Quote:
Originally Posted by drumz View Post
That isn't true.
Ops, my bad. I just remembered that is was a case back in the days when I used windows. That was before XP, and I used NT 4.0 until i changed, so I wasn't aware of that fix.

Thanks for pointing it out
 
Old 01-16-2008, 09:39 AM   #9
Melkor
Member
 
Registered: Aug 2003
Location: MN
Distribution: Linux Mint
Posts: 179

Rep: Reputation: 34
Quote:
Originally Posted by ahmed gamal View Post
hi every body
i have a problem
i want to changa a windows drive (ntfs) to fat32 from my slackware
without losing the files on the ntfs drive
i know that i can make this with partion magic
but i want to make it on my little slack
any suggestions?
By far your best bet is to copy the stuff you want to save to a different drive or partition and format that NTFS drive and start fresh.
 
Old 01-18-2008, 11:43 AM   #10
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
My guess is that the op wants to setup a shared drive to be used with windows. If this is the case I would recommend using an ext3 partition and get the (open source) ext3 driver for windows.
 
Old 01-18-2008, 10:47 PM   #11
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by mattydee View Post
My guess is that the op wants to setup a shared drive to be used with windows. If this is the case I would recommend using an ext3 partition and get the (open source) ext3 driver for windows.
If the OP really just wants a shared drive I would instead recommend NTFS-3G. It works wonderfully. The only snag is that you need to make sure that Higher level folders on the partition have permissions set in Windows and that they will be inherited. This is because NTFS-3G doesn't do perms correctly. In Linux they are set as you set them for the partition, but in Windows new files and folders will by default be open for everyone. If you create a top level directory in Linux it is easy to fix the perms in [Edit] Windows later. If you use Linux mostly and care what Windows can access then this is the best way to go. If you use Windows mostly and don't care that it can touch your linux files then the ext3 driver would be the way to go.

Back to the original question, I don't think you can easily convert from NTFS to Fat32 directly in Linux. However, if you don't have partition magic and have a mostly empty NTFS partition you could use gparted (in Slackware if you want) to:

1) shrink the NTFS partition
2) create a fat32 partition with the new extra space (must be > size of data)
3) copy over the files from the NTFS partition to the fat32 partition
4) delete the NTFS partition
5) expand the FAT32 partition to reclaim the space you want

If I were to do this I would just use the gparted live cd, but you can use gparted in Slackware, so there you go.

Last edited by shadowsnipes; 01-19-2008 at 02:17 PM. Reason: correction - look for [Edit]
 
Old 01-19-2008, 02:50 AM   #12
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware current
Posts: 423

Rep: Reputation: 73
Thanks shadowsnipes.

Now I have one less reason to have to reboot into windows
 
Old 01-19-2008, 03:24 AM   #13
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Quote:
Originally Posted by shadowsnipes View Post
If the OP really just wants a shared drive I would instead recommend NTFS-3G.
Closed source file system with a reverse engineered driver.

If you use ext3 you get an open FS with an open source driver.

Just something to think about... I'm assuming the OP was looking for a shared data drive, but who knows...
 
Old 01-19-2008, 04:15 AM   #14
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Using Linux file system drivers brings its own limitations. Good luck finding them for Windows XP64. Maybe ext2 but that's about it. I've been using ntfs-3g for over a year because it's the only option I have to access my xfs partitions. And it's not just XP64, similar limitations apply to Solaris and FreeBSD. FAT - and possibly ext2 - are the only failsafe options. I wish I had known that before as wiping and redoing several hundreds of gigabytes of data is not something that makes me go wild with enthusiasm.

Last edited by jay73; 01-19-2008 at 08:04 AM.
 
Old 01-19-2008, 06:07 AM   #15
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i want to change the ntfs driver to fat32 so i make a share partition between my ntfs drivers of windows and linux
coz linux don't write to ntfs
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where are my NTFS c: and FAT32 D: drives riba43 SUSE / openSUSE 21 11-27-2006 12:17 AM
dd ntfs to fat32 sr_25 Linux - Newbie 8 07-16-2006 08:03 PM
how to convert ntfs to fat32 Longinus Linux - Newbie 7 08-05-2004 06:58 AM
NTFS vs FAT32 Santorres General 21 03-18-2004 02:48 AM
NTFS vs. FAT32 44TR Linux - General 13 06-27-2003 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration