LinuxQuestions.org
Visit Jeremy's Blog.
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 09-19-2003, 08:33 PM   #1
timmyk0
LQ Newbie
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Redhat 9
Posts: 18

Rep: Reputation: 0
Mounting FAT32 partition?


I mounted a partiton that windows was using, but when ever i restart Redhat i have to remount it. Is there anyway i can make it mount itself automatically on boot up?
 
Old 09-19-2003, 08:38 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sure, you need to add it to /etc/fstab following the syntax that you use to mount it regularly... That might sound confusing, so:
If you:
mount -t vfat /dev/hdx /mnt/fat32 -o umask=000,rw
Then, something like this in /etc/fstab:
/dev/hdx /mnt/fat32 vfat umask=000,auto,users,rw 0 0

Where /dev/hdx is of course the device

Cool
 
Old 09-19-2003, 09:01 PM   #3
virgin
Member
 
Registered: Jun 2003
Location: Pgh, PA
Distribution: debian
Posts: 50

Rep: Reputation: 15
hey, I don't want to hijack the thread, but this ones new, and this question might not be worth a new one.
------
I had something like
/dev/hdb5 /mnt/door vfat user,uid=500,gid=500 0 0

then I made a new user, and I wasn't getting the mount on startup,
so after a ton of investigating i found my new user was 501 !!!!
so I changed it to:
/dev/hdb5 /mnt/door vfat user,uid=501,gid=501 0 0

is what was suggested for our friend timmyk0 more general.
that is will it mount the windows partition for any and all users?

maybe someone could explain just what each part of that line does.

for the newbies baby.
 
Old 09-19-2003, 09:05 PM   #4
timmyk0
LQ Newbie
 
Registered: Sep 2003
Location: Pennsylvania
Distribution: Redhat 9
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks MasterC, but when i rebooted it said it FAILED when trying to mount them. It said it couldnt be found, when it is there and works until i restart,

Any ideas?

Here is what my fstab file looks like:

LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hd5 /mnt/vfat vfat umask=000,auto,users,rw 0 0

The last line is what i added.

Last edited by timmyk0; 09-19-2003 at 09:07 PM.
 
Old 09-19-2003, 09:22 PM   #5
virgin
Member
 
Registered: Jun 2003
Location: Pgh, PA
Distribution: debian
Posts: 50

Rep: Reputation: 15
excuse me boys,
I was optimistic the problem was solved.

maybe my fstab line might help anyway.
I would say give it a try...
but you have to consider what your user id is remember I am only a member because I have been a newbie so long.

I think understanding what the parts of that line help to find the
better way I have been looking for myself.

I had a time getting it to work myself timmyk0
now I am looking to make it general...
 
  


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
Mounting a FAT32 partition Progmaker Linux - General 2 08-15-2005 12:02 PM
mounting FAT32 partition bobbens Linux - Newbie 2 09-16-2004 02:43 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 11:59 AM
Mounting FAT32 partition mrstirs Linux - Software 4 04-21-2004 06:05 PM
Mounting a Fat32 Partition Qebex Linux - Newbie 9 09-10-2002 06:19 PM


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