From: roN on
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]

--
chEErs roN

I'm root, I'm allowed to do this! ;)
keep on rockin'
From: blackcat on
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.




From: houghi on
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:

/etc/fstab has nothing to see with mounting in 10.1. As I don't use KDE
or GNOME, I just mount the old fashioned way. (Too lazy too look up how
to enable automount)

--
houghi Please to not toppost http://houghi.org
My experience with SUSE
You can have my keyboard ...
if you can pry it from my dead, cold, stiff fingers
From: roN on
blackcat wrote:

> 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.
Exactly, I was thinking bout writing such a script too but I'm sure there
must be a way to do it automatically.
Help appreciated!
Thanks!

--
chEErs roN

I'm root, I'm allowed to do this! ;)
keep on rockin'
From: roN on
blackcat wrote:
>
> I had the same problem. In the end I just wrote a small mywdmount script
>
Okay, anyways, I thought I'm gonna do it by script too, just as a temporary
solution but I have some troubles... :(
My Script looks like:
[script]
#!/bin/bash
#
# mount external USB drive
#
# $Log$
#
# $Id$
#

case "$1" in
start)
      echo "Mounting USB Disk to /media/HARDBOX";
mount /dev/sda1 /media/HARDBOX
      ;;
stop)
      echo "Unmounting USB Disk from /media/HARDBOX";
      umount /media/HARDBOX
      ;;
esac
exit 0
[/script]
Okay and it works or even doesn't as follows:
[shell]
linux-ron:/home/reg # mount
/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /windows/C type vfat
(rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
[/shell]
Ok, nothing is mounted yet...
let's execute the script:
[shell]
linux-ron:/home/reg # /etc/init.d/auto_usb_mount start
/etc/init.d/auto_usb_mount: line 12:  : command not found
/etc/init.d/auto_usb_mount: line 14:  : command not found
linux-ron:/home/reg # mount
/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /windows/C type vfat
(rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda1 on /media/HARDBOX type vfat (rw)
[/shell]
some errors but still mounted? huh? Why do I get errors?
let's try unmounting it:
[shell]
linux-ron:/home/reg # /etc/init.d/auto_usb_mount stop
/etc/init.d/auto_usb_mount: line 16:  : command not found
/etc/init.d/auto_usb_mount: line 17:  : command not found
/etc/init.d/auto_usb_mount: line 18:  : command not found
linux-ron:/home/reg # mount
/dev/hda6 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda2 on /windows/C type vfat
(rw,noexec,nosuid,nodev,gid=100,umask=0002,utf8=true)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sda1 on /media/HARDBOX type vfat (rw)
linux-ron:/home/reg #
[/shell]
Some errors and umount didn't work...huh?
Can anybody help me? It would be appreciated!
Thank you!
--
chEErs roN

I'm root, I'm allowed to do this! ;)
keep on rockin'