Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-16-2004, 01:54 PM   #1
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0
Posts: 4

Rep: Reputation: 0
How to partition a (new) 2nd hdr so that it can be r/w by both Linux and Windows?

Hello everyone!
I am using SuSE Linux 9.0 in hda3 and Windows XP in hda1. I recently got a Maxtor 32049H2 20 Gb hard drive (got it from a friend who's upgraded his box) and I would like to know how to partition this drive and format it to use Fat32, so that it can be readable/writable by both Linux and Windows.
I used YaST expert partitioner, but can't get quite right.
Any help would be greatly appreciated!
Old 03-16-2004, 01:56 PM   #2
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Partition it with windows fdisk then format it from windows.
Old 03-16-2004, 01:59 PM   #3
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Make ONE primary partition, set the type to C
(assuming you're using fdisk) and write the
partition table.

Then use mkdosfs -F 32 /dev/<newhd>

When finished add it to /etc/fstab
</new/mountpoint> </dev/<newhd>> -t msdos rw,auto,umask=000 0 0

Old 03-16-2004, 03:26 PM   #4
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help guys! I now have one primary partition hdb1 in FAT32.
HOWEVER, I now have a new problem : I can read it, but not write in it (as a user).
The group permission is set to 'root' (unlike the windows directory-set to 'users'.
I've tried (as root) to change that using chgrg, but it says 'You don't have permission' (!).
How can I fix this? Thanks for any help!
Old 03-16-2004, 04:23 PM   #5
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
The 'umask=0' Tink posted should eliminate that. Don't put a '-t' in your fstab. The fs must be remounted to apply changes.
Old 03-17-2004, 02:30 PM   #6
LQ Newbie
Registered: Mar 2004
Distribution: SuSE 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
/dev/hda3 / reiserfs defaults 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
/dev/hda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/sda1 /media/sda1 auto sync,noauto,user,exec 0 0 #HOTPLUG B3Fu.SFaHrVGraQF

/dev/hdb1 /windows/D vfat defaults 0 0

This is what my fstab looks like. What exact changes are needed to (theoretically) solve my problem? Thank you in advance for any helpful reply!
Old 03-17-2004, 03:04 PM   #7
Registered: Feb 2004
Posts: 141

Rep: Reputation: 15
add umask=000 (look at line 2 of the output for an example) after VFAT in the last line so it looks like this

/dev/hdb1 /windows/D vfat defaults,umask=0 0 0


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
linux installation on 2nd drive, partition advice needed... Billydakid Linux - Newbie 16 11-10-2005 03:14 AM
partition strattegy for XP on 1 HD and two linux on 2nd HD luizebs Linux - Software 2 12-28-2004 09:33 AM
Linux on 1st windows on 2nd hd... Teclavow Linux - Newbie 1 02-02-2004 07:12 PM
Installing Linux on the 1st partition and booting Windows off the 2nd Rav Linux - General 15 12-21-2002 03:33 PM
installing SuSe Linux on 2nd (windows 98) HDD camtheoz Linux - General 1 05-16-2002 04:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:04 PM.

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