Gentoo Archives: gentoo-user

From: KH <gentoo-user@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub hangs when a USB disk is attached
Date: Thu, 28 Feb 2008 18:23:33
Message-Id: 47C6FC1F.1020501@konstantinhansen.de
In Reply to: Re: [gentoo-user] Grub hangs when a USB disk is attached by andrea
1 Hi,
2
3 never tried that and might only be a temporary workaround. You could
4 install grub in the mbr of both disk and then point them only to your
5 internal disk. That way you should always be able to boot, shouldn't you?
6
7 kh
8
9 andrea wrote:
10 > On gio, 2008-02-28 at 12:54 -0500, Don Jerman wrote:
11 >
12 >> I've had problems with disk presentation order changing (fairly
13 >> randomly) when USB disks are attached during boot. Apparently there's
14 >> a race between the SCSI controller and the USB controller(s). If you
15 >> attach the USB disk later the SCSI stuff has all been discovered so of
16 >> course it gets allocated later in the list, but if it's attached while
17 >> booting the USB disk might come first or in the middle somewhere.
18 >>
19 >> This might lead to grub looking for its files in the wrong place,
20 >> which might explain the hang.
21 >>
22 >
23 > This is exactly what happens here.
24 >
25 >
26 >> If you want to test this theory, boot from a CD while the USB is
27 >> installed and see where it winds up in /dev, then boot without it. Be
28 >> very careful about assuming drive identities! That's how I lost my
29 >> system disk last time -- /dev/sdb seemed to be partitioned funny and I
30 >> figured it out just a little too late.
31 >>
32 >>
33 >
34 > I booted in a livecd and opened a grub command line. It reads my usb
35 > disk as (hd0,0).
36 >
37 > By the way I don't like this behavior and I need a solution to fix it.
38 > It is a laptop and I don't want to umount and unplug my usb disk every
39 > time I need to hibernate my system.
40 >
41 >
42 >
43
44 --
45 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Grub hangs when a USB disk is attached andrea <momesso.andrea@×××××.com>