[CentOS] Mount USB disk at startup?
jobst at barrett.com.au
Thu Feb 11 00:26:53 UTC 2010
There is a kernel option you can give to solve
this problem, in /boot/grub/grub.con add to the end
of the kernel line:
where x is the amounty of time to wait before
/root is mounted, however this is valid for
everything else as well.
play with X until you get it right.
On Thu, Feb 04, 2010 at 02:15:25PM +0100, Mogens Kjaer (mk at crc.dk) wrote:
> 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 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 at crc.dk Homepage: http://www.crc.dk
> CentOS mailing list
> CentOS at centos.org
Diplomacy: The art of saying, "Nice Doggy," until you can find a stick.
| |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager
| | |0| Barrett Consulting Group P/L & The Meditation Room P/L
|0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
More information about the CentOS