Re: automount



roN wrote:

Hi,

I just upgraded from susse 10.0 to 10.1 and it seems like my USB disk
doesn't get automounted on boot :( Why not? How to enable?
My /etc/fstab looks like:
[fstab]
/dev/hda6 / reiserfs acl,user_xattr 1 1
/dev/hda2 /windows/C vfat users,gid=users,umask=0002,utf8=true 0 0
/dev/hda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sda1 /media/HARDBOX vfat
user,users,gid=users,umask=0002,utf8=true 0 0
[/fstab]

I had the same problem. In the end I just wrote a small mywdmount script
in /etc/init.d for my small WD usb drive :
#!/bin/bash
#
# mount external drive WD
#
# $Log$
#
# $Id$
#

case "$1" in
start)
/bin/mount -t reiserfs -o
rw,auto,acl,user_xattr /dev/sda1 /media/WD_Passport
;;
stop)
/bin/umount /media/WD_Passport
;;
esac
exit 0

And installed a soft link in /etc/init.d/rc5.d :

S13mywdmount -> ../mywdmount

It does the job, but it was not necessary under SuSE 10.0. There can be a
better way.




.



Relevant Pages

  • Re: automount
    ... I just upgraded from susse 10.0 to 10.1 and it seems like my USB disk ... doesn't get automounted on boot:(Why not? ... debugfs /sys/kernel/debug debugfs noauto 0 0 ... In the end I just wrote a small mywdmount script ...
    (alt.os.linux.suse)
  • automount
    ... I just upgraded from susse 10.0 to 10.1 and it seems like my USB disk ... doesn't get automounted on boot:(Why not? ... keep on rockin' ...
    (alt.os.linux.suse)
  • [9fans] readme for THNX
    ... The intent is that this USB disk is a starting point for your machine. ... When you boot and get the grub prompt ... If you are going to BRIDGE run the BRIDGE script. ... now you are up in drawterm. ...
    (comp.os.plan9)
  • Re: problem on usb boot from mini itx
    ... I'm trying to make a router from a mini itx, but can't get it to boot ... usb disk or stick. ... so, I got to the point it can't find my usb disk, but I don't know ... isa0: on isab0 ...
    (freebsd-current)
  • Re: Can I boot from a USB Disk?
    ... you can install rh9 on an usb disk without touching the internal disks, ... diskette from the install cd, boot on the former in expert mode, insert the ...
    (RedHat)