You are not logged in.

#1 2009-12-15 17:19:59

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

External HardDrive doesnt automount on boot

The problem is basically what the subject says..

My external harddrive (fat), only mounts when I manually do 'sudo mount -a', but not on boot..

my fstab is:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/sr0        /media/cd iso9660,udf ro,user,noauto 0 0
/dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
#/dev/fd0               /media/fl   auto    user,noauto             0      0

/dev/sda5 swap swap defaults 0 0
/dev/sda6 /boot ext2 defaults 0 1
/dev/sda7 / ext4 defaults 0 1
/dev/sda3 /media/Dados ext4 defaults 0 0
/dev/sdb1 /media/Externo vfat users,iocharset=utf8,umask=000 0 0

best regards

Offline

#2 2009-12-15 18:10:19

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: External HardDrive doesnt automount on boot

Use:

/dev/sdb1 /media/Externo vfat users,auto,noatime,iocharset=utf8,umask=000 0 0

Regards


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2009-12-15 19:36:06

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: External HardDrive doesnt automount on boot

guess 'auto' was missing..

tks;)

Offline

#4 2009-12-16 17:20:26

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: External HardDrive doesnt automount on boot

ok it still doesnt work..
if I manually do 'sudo mount -a' it does mount.. but not automatically on boot:\

any ideas?

regards

Offline

#5 2009-12-16 17:31:06

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: External HardDrive doesnt automount on boot

If it is a usb-drive, it may not be ready by the time fstab is acted upon ...
You _could_ do a manual mount in /etc/rc.local

Offline

#6 2009-12-16 17:38:01

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: External HardDrive doesnt automount on boot

its probably that I guess... I'll make 'mount /dev/sdb1' in rc.local then..

tks;)

Offline

#7 2009-12-16 17:48:09

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: External HardDrive doesnt automount on boot

I guess you could also use 'rootdelay=8' in the kernel invocation line in menu.lst ... (but then there are the scores of people almost competing as to who can boot the fastest - me, I dont care whether it takes 10 seconds or 10 times that - I only boot after a kernel/glibc update)
Personally I prefer rc.local, but each to his (or her) own ...

Offline

#8 2009-12-16 18:37:00

guisacouto
Member
From: Portugal
Registered: 2009-06-27
Posts: 107

Re: External HardDrive doesnt automount on boot

I boot everyday so I guess I'll stick with the rc.local solution;)

Offline

Board footer

Powered by FluxBB