Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
External USB HDD cannot be automount in fstab during boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wildleaf
n00b
n00b


Joined: 12 Oct 2004
Posts: 71

PostPosted: Mon May 21, 2007 9:07 pm    Post subject: External USB HDD cannot be automount in fstab during boot Reply with quote

I have this external Maxtor 160G HDD in my fstab.

Code:

# Backup HDD Maxtor 160G
/dev/maxtor3            /mnt/backup3    ext2            noatime         0 0


During boot, it gave me this error.
Code:

mount: special device /dev/maxtor3 does not exist

But when I do "mount -a" after login, it worked fine.

I'm using udev and 2007.0 profile. I tried to use the "/dev/sdd3" in fstab too but not working.

Please help. Thank you.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54805
Location: 56N 3W

PostPosted: Mon May 21, 2007 9:56 pm    Post subject: Reply with quote

wildleaf,

The USB subsystem may be started after the kernel has automounted your normal drives, in which case, the device node will be missing.

Make sure your USB support is built into the kernel, not modules.
If thats not enough, add the kernel parameter
Code:
rootdelay=10
to your kernel line in grub.

That provides a 10 second delay to allow the USB system to start, normally before the kernel mounts root over USB, however it will allow your in kernel USB to get established and the /dev entry created, so auto mounting works.

The 10 (10 seconds) may not be right - some trial and error may be needed.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wildleaf
n00b
n00b


Joined: 12 Oct 2004
Posts: 71

PostPosted: Mon May 21, 2007 10:11 pm    Post subject: Reply with quote

It worked like a charm! Thanks a lot!

NeddySeagoon wrote:
wildleaf,

The USB subsystem may be started after the kernel has automounted your normal drives, in which case, the device node will be missing.

Make sure your USB support is built into the kernel, not modules.
If thats not enough, add the kernel parameter
Code:
rootdelay=10
to your kernel line in grub.

That provides a 10 second delay to allow the USB system to start, normally before the kernel mounts root over USB, however it will allow your in kernel USB to get established and the /dev entry created, so auto mounting works.

The 10 (10 seconds) may not be right - some trial and error may be needed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum