LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-03-2003, 01:49 PM   #1
gtxboyracer
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, 01:54 PM   #2
aaa
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, 01:55 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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

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


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


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