Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

disable second hdd mount 2

Status
Not open for further replies.

piti

Technical User
Apr 12, 2001
627
SK
i've installed mandrake from a hhd, connected to the second chanel on the hdd controler into a hdd on the first chanel
then i removed the installation hdd and every time i boot i got errors about not existing drive, something like:
mounting other file systems - failed
and some errors about /dev/hdd5
when i leave the instalation disk connected everything is fine, no error
how to remove the second disk during init?
or how to make it to mount it only if it's present?
 
Hi,

Yes, the answer is in /etc/fstab. You can either remove the line referring to /dev/hdd5 completely or add the 'noauto' keyword to the options fields on that line to prevent it being automatically mounted. Something like this :

/dev/hdd5 /tmp ext2 noauto,user 0 0

(/tmp is just an example - it would be whatever mount point it was set-up as )

Rgds
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top