LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2005, 02:29 AM   #1
reakinator
Member
 
Registered: Oct 2005
Location: California
Distribution: Ubuntu Feisty
Posts: 52

Rep: Reputation: 15
making FAT32 partition


Hi Linux world,

I recently installed Fedora 4 on a dual boot system, and I love it. But, I'm in school, everything I do requires my computer, and I'm not effecient with Linux yet. So, I have to keep windows around for a little while, but I promise I will be rid of it in due time.

So right now I'm trying to format a partition of the harddrive windows is on to share files between the two operating systems; I have read that FAT32 is the way to go, but have not seen specifics on how to accomplish this. Here is the partition layout:

Disk /dev/hdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 4865 38973690 8e Linux LVM

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 3824 30716248+ 7 HPFS/NTFS
/dev/sda2 3825 14592 86493960 f W95 Ext'd (LBA)
/dev/sda5 3825 7648 30716248+ 7 HPFS/NTFS


I would like to make all of /dev/sda2 a FAT32 format (or whatever is best for both operating systems, I really don't know). I don't exactly know how to do this , and fdisk and mkfs.msdos both give horrendous warnings about errasing your data with the wrong syntax. sda1 and sda5 both have operating systems on them (both winxp, one with all the services and internet bloatware turned off), but sda2 and sda5 start at the same point.

Does anyone know how I can make this extended partion readable for both operating systems? I know, I know, Linux has everything I need, but it will take some time to find and install everything I need, and I have homework due tomorrow. I do hate windows, but its like a bad alcohol addiction, it isn't wise to cut cold turkey, one must slowly wein themselves off the dependancy.

Anywho, thanks for help if anyone can.
 
Old 10-14-2005, 02:37 AM   #2
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
It's really simple. U can use windows to format the partition as FAT32 (there are size limitations for large drives...). Once formatted u can then mount it into your linux environment. Each OS can read/write. I've done this a few times.
 
Old 10-14-2005, 06:41 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
An extended partition (your sda2) is in a nutshell a container for logical partitions i.e. sda5. An extended partition allows one to create more then 4 partitions on a hard drive. Do not attempt to modify it or you will also delete all data in sda5. You have plenty of free space to create an additional logical partition.

The max FAT32 partition you can create in XP or W2k is 32GB but you can create larger partitions with linux or Win98. cfdisk is a more user friendly utility. Use mkdosfs to format the filesystem.

mkdosfs -f 32 /dev/sda6

Last edited by michaelk; 10-14-2005 at 12:09 PM.
 
Old 10-14-2005, 11:53 AM   #4
fast_rizwaan
Member
 
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
it should be

mkdosfs -F 32 /dev/sda6

(observe the Capital "F")
 
Old 10-14-2005, 12:01 PM   #5
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
In case you are confused, you have to create sda6 first before you can run the command "mkdosfs -F 32 /dev/sda6". Of course.

And I think that it is OK not to get rid of windows at all...
We all just can't deny that windows is better for games, certain hardwares and compatibilities with other people outside of the linux world. So I really think it is OK with a dual-boot.

And ya, you can format FAT32 partition with windows.
 
Old 10-14-2005, 08:51 PM   #6
fast_rizwaan
Member
 
Registered: Oct 2002
Location: Hyderabad, India
Distribution: Slackware 10.1
Posts: 34

Rep: Reputation: 15
Use Paragaon ntfs

install ntfs drivers!
Code:
http://www.iust.ecwhost.com/upload/Paragon_NTFS_3.x.v5.1.tar.bz2
 
  


Reply



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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Having trouble making Fat32 Partition eggoz Linux - Hardware 1 09-18-2005 10:12 PM
making a fat32 partition tintilin Slackware 19 12-05-2004 12:45 PM
Making a FAT32 FS linuxnubx Slackware 31 08-22-2004 02:09 PM
Making mounted FAT32 partition writable by all jrittvo Fedora 14 06-07-2004 02:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 AM.

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