Gentoo Archives: gentoo-user

From: Don Jerman <djerman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub hangs when a USB disk is attached
Date: Thu, 28 Feb 2008 17:54:07
Message-Id: 6dc3c33d0802280954n100d7e45sb946a9e125bbaff8@mail.gmail.com
In Reply to: [gentoo-user] Grub hangs when a USB disk is attached by andrea
1 I've had problems with disk presentation order changing (fairly
2 randomly) when USB disks are attached during boot. Apparently there's
3 a race between the SCSI controller and the USB controller(s). If you
4 attach the USB disk later the SCSI stuff has all been discovered so of
5 course it gets allocated later in the list, but if it's attached while
6 booting the USB disk might come first or in the middle somewhere.
7
8 This might lead to grub looking for its files in the wrong place,
9 which might explain the hang.
10
11 If you want to test this theory, boot from a CD while the USB is
12 installed and see where it winds up in /dev, then boot without it. Be
13 very careful about assuming drive identities! That's how I lost my
14 system disk last time -- /dev/sdb seemed to be partitioned funny and I
15 figured it out just a little too late.
16
17
18 On 2/28/08, andrea <momesso.andrea@×××××.com> wrote:
19 > I had no problem booting since last time I partitoned my USB external
20 > disk.
21 >
22 > ==========================================
23 > Disk /dev/sdc: 80.0 GB, 80026361856 bytes
24 > 255 heads, 63 sectors/track, 9729 cylinders
25 > Units = cylinders of 16065 * 512 = 8225280 bytes
26 > Disk identifier: 0x00000000
27 >
28 > Device Boot Start End Blocks Id System
29 > /dev/sdc1 1 2433 19543041 83 Linux
30 > /dev/sdc2 2434 4866 19543072+ 83 Linux
31 > /dev/sdc3 4867 7299 19543072+ 83 Linux
32 > /dev/sdc4 7300 9729 19518975 83 Linux
33 > ===========================================
34 >
35 > When I boot and the disk is plugged, right after BIOS screen I get a
36 > "GRUB_" and the boot process hangs.
37 >
38 > I guessed it was a BIOS problem so I tried to edit boot order and also
39 > to disable USB boot (that I don't need).
40 >
41 > BTW when the disk is unplugged grub loads perfectly.
42 >
43 > Thanks in advance.
44 >
45 >
46 --
47 gentoo-user@l.g.o mailing list