Welcome to the most active Linux Forum on the web.
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 11-03-2003, 12:49 PM   #1
LQ Newbie
Registered: Aug 2003
Location: Wellington Nz
Distribution: RedHat 9.0
Posts: 15

Rep: Reputation: 0
Mounting drives on bootup!

Can someone please tell me how to mount my Windows drives on bootup.

i know the commands to do it, but i want it to run automatically...

'mount /dev/hda1 /mnt/c'
'mount /dev/hda5 /mnt/d'
'mount /dev/hda6 /mnt/e'

Cheers, Stephen
Old 11-03-2003, 12:54 PM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Add lines to the /etc/fstab file. Ex:
/dev/hda1 /mnt/c vfat umask=0,auto 0 0

The vfat is for FAT32, umask=0 sets permissions for Win drives since they don't support them, auto mounts on bootup.
Old 11-03-2003, 12:55 PM   #3
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 246Reputation: 246Reputation: 246
Moved: Not LFS specific.

Add them to your /etc/fstab file to mount at boot time.


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
Why does Redhat 9 search for drives that dont exist during bootup? glenn69 Linux - Newbie 9 08-12-2004 01:48 PM
Auto starting, mounting at bootup 2nd2none Linux - General 5 04-05-2004 09:58 AM
Easy way to mount network drives on bootup cliffyman Linux - General 3 07-24-2002 02:44 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM
Mounting network drives on bootup manderso Linux - Networking 3 12-17-2001 05:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:53 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