Group: linux.gentoo.user
From: andrea
Date: Thursday, February 28, 2008 4:30 PM
Subject: Re: [gentoo-user] Grub hangs when a USB disk is attached


--=-tZ8duX4JKyivUKKqIDBg
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


On gio, 2008-02-28 at 12:54 -0500, Don Jerman wrote:
> I've had problems with disk presentation order changing (fairly
> randomly) when USB disks are attached during boot. Apparently there's
> a race between the SCSI controller and the USB controller(s). If you
> attach the USB disk later the SCSI stuff has all been discovered so of
> course it gets allocated later in the list, but if it's attached while
> booting the USB disk might come first or in the middle somewhere.
>=20
> This might lead to grub looking for its files in the wrong place,
> which might explain the hang.

This is exactly what happens here.

>=20
> If you want to test this theory, boot from a CD while the USB is
> installed and see where it winds up in /dev, then boot without it. Be
> very careful about assuming drive identities! That's how I lost my
> system disk last time -- /dev/sdb seemed to be partitioned funny and I
> figured it out just a little too late.
>=20

I booted in a livecd and opened a grub command line. It reads my usb
disk as (hd0,0).

By the way I don't like this behavior and I need a solution to fix it.
It is a laptop and I don't want to umount and unplug my usb disk every
time I need to hibernate my system.



--=-tZ8duX4JKyivUKKqIDBg
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBHxvlwTusdC+HYtiIRAmPaAKCgo+jLjT4qHs3seeihnkWaammeSgCdGsR6
PELd0tyzr/s0t49ylRRGM80=
=xmIi
-----END PGP SIGNATURE-----

--=-tZ8duX4JKyivUKKqIDBg--

--
gentoo-user@lists.gentoo.org mailing list