LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-24-2005, 04:34 PM   #1
michaelweaver
LQ Newbie
 
Registered: May 2005
Location: New York
Distribution: Fedora Core 2
Posts: 3

Rep: Reputation: 0
writing to windows 2000 fat32 partitions from Fedora 2


i just went back to linux and set up a dual boot with windows 2000 and Fedora 2. my partition table is (from fstab):

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/hda6 /data vfat defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb5 /music vfat defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

as root i can read and write to the /music and /data partitions, however as a normal user and from gnome i can't write . I have tried to chmod -R 777 /data (and music) however this did not resolve the issue. both are fat32 partitions. any ideas?
 
Old 05-24-2005, 04:43 PM   #2
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
fat32 has no permissions
you'll have to mount it so users can read/write

EDIT: I forgot to mention change this in /etc/fstab
change the defaults to rw,users,auto on the vfat partitions

Last edited by Mr. New; 05-24-2005 at 04:47 PM.
 
Old 05-24-2005, 05:12 PM   #3
michaelweaver
LQ Newbie
 
Registered: May 2005
Location: New York
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
thanks for your reply. however i changed the /etc/fstab like you said:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/hda6 /data vfat rw,users,auto 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb5 /music vfat rw,users,auto 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

and rebooted (living in windows world :-)) when i logged back in the data and music partitions showed as icons on my desktop, however i am still unable to write to them. by right-clicking on the icons->properties->permissions they are set to 755 (don't know if this matters). any other ideas?

thanks
mike
 
Old 05-24-2005, 05:44 PM   #4
Mr. New
Member
 
Registered: Oct 2004
Distribution: Kubuntu and Mac OS X
Posts: 80

Rep: Reputation: 15
Quote:
Originally posted by michaelweaver
thanks for your reply. however i changed the /etc/fstab like you said:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
/dev/hda6 /data vfat rw,users,auto 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb5 /music vfat rw,users,auto 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

and rebooted (living in windows world :-)) when i logged back in the data and music partitions showed as icons on my desktop, however i am still unable to write to them. by right-clicking on the icons->properties->permissions they are set to 755 (don't know if this matters). any other ideas?

thanks
mike
oh I'm sorry, now I remember the one who mounts it is the owner(the permissions are always 755 I think) so replace the auto with noauto and mount it when your logged in then, I can't remember if GNOME has the icons on the desktop like KDE that when you click them they automatically mount
 
Old 05-24-2005, 05:58 PM   #5
michaelweaver
LQ Newbie
 
Registered: May 2005
Location: New York
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
thanks a lot!! it worked. i changed the fstab to noauto then rebooted. from the command line the data and music partitions were not mounted, but when i clicked on them through gnome the mounted automatically. two more questions and i think i done.

1) how can i have them mount when i boot?
2) is there a way to restart fstab? anything similar to /etc/init.d/whatever restart?

i really appreciate your help

-mike
 
Old 05-24-2005, 09:40 PM   #6
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
everything in fstab is mounted when you boot.........
to mount all in fstab , use the command
mount -a
 
  


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
Writing to windows partitions, Suse 9.2 badbunny Linux - Newbie 8 08-06-2005 07:36 PM
Question about writing to windows partitions ludwig W Linux - Newbie 5 04-20-2005 03:25 AM
Can Mandrake 9.2 access Windows 2000 RAID partitions HamyBlackie Linux - Hardware 8 03-20-2004 07:34 AM
Accessing and writing to Windows partitions Delmarc Linux - Newbie 3 02-14-2004 10:39 AM
Linux and Windows 2000 Pro - Partitions 241comp Linux - General 6 01-23-2002 11:24 PM

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

All times are GMT -5. The time now is 09:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration