LinHES Forums
http://forum.linhes.org/

/etc/fstab and getting /dev/hda3 mounting to /myth automatic
http://forum.linhes.org/viewtopic.php?f=5&t=13481
Page 1 of 1

Author:  dwaine [ Sat Jan 13, 2007 11:07 am ]
Post subject:  /etc/fstab and getting /dev/hda3 mounting to /myth automatic

I'm trying to get my second partition mounting automatically during booting.

My /myth is on /dev/hda3. But for some reason I can not get it mounting
automatically. I have to do a 'mount /dev/hda3 /myth. After that, it ok.

Here is my fstab...

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
#/myth auto defaults,auto 0 2

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0
# Added by KNOPPIX
/dev/hda3 /myth ext3 auto defaults,auto 0 2


Dwaine

Author:  bruce_s01 [ Sat Jan 13, 2007 11:39 am ]
Post subject: 

You're almost correct on your line, if you just get rid of the first "auto", then you should be OK:
Code:
# Added by KNOPPIX
/dev/hda3 /myth ext3 defaults,auto 0 2


Bruce S.

Author:  dwaine [ Sat Jan 13, 2007 5:13 pm ]
Post subject: 

bruce_s01 wrote:
You're almost correct on your line, if you just get rid of the first "auto", then you should be OK:
Code:
# Added by KNOPPIX
/dev/hda3 /myth ext3 defaults,auto 0 2


Bruce S.


Just tried it. Did not work. Still had to do a mount /dev/hda3 /myth?

Author:  bruce_s01 [ Sat Jan 13, 2007 6:30 pm ]
Post subject: 

Hmm, something strange going on, as that's exctly the same as the line in my fstab:
Code:
/dev/hda3  /myth  ext3  defaults,auto  0  2


As root, does a plain
Code:
mount /myth
work?
After the drive is mounted, what does a mount command on it's own return?

Bruce S.

Author:  dwaine [ Sat Jan 13, 2007 7:55 pm ]
Post subject: 

bruce_s01 wrote:
Hmm, something strange going on, as that's exctly the same as the line in my fstab:
Code:
/dev/hda3  /myth  ext3  defaults,auto  0  2


As root, does a plain
Code:
mount /myth
work?
After the drive is mounted, what does a mount command on it's own return?

Bruce S.


Ummm.... It just started working after I deleted and recreated fstab.

Thanks for the help.

Dwaine

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/