Mount USB disk at startup?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I have a CentOS 5 machine with an external 500G USB disk,
formatted with JFS.

How do I get this to mount automatically at boot time?

If I add to /etc/fstab:

/dev/sdb1 /var/video jfs defaults 1 2

fsck.jfs complains at boot time:

Error: Cannot open device /dev/sdb1

Usage: fsck.jfs ...

...

Give root password for maintenance
...

If I log in with the root password, /dev/sdb1
is present, and I can run

fsck.jfs -f /dev/sdb1

without problems. After ctrl-D it reboots, and gives
the above error again.

I have to log in as root, remount,rw / and remove
the /dev/sdb1 line from /etc/fstab to get it to boot.

The problem is not related to JFS; it occurs with
an external ext3 file system as well.

How do I mount /dev/sdb1 automatically at boot?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: mk@xxxxxx Homepage: http://www.crc.dk
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux