public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: andrea <momesso.andrea@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Grub hangs when a USB disk is attached
Date: Thu, 28 Feb 2008 19:12:00 +0100	[thread overview]
Message-ID: <1204222320.10731.15.camel@fandango> (raw)
In-Reply-To: <6dc3c33d0802280954s15cf9532lfc47675fddfdfba1@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]


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.
> 
> This might lead to grub looking for its files in the wrong place,
> which might explain the hang.

This is exactly what happens here.

> 
> 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.
> 

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.



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-02-28 18:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-28 15:00 [gentoo-user] Grub hangs when a USB disk is attached andrea
2008-02-28 16:48 ` Andrea Momesso
2008-02-28 17:54 ` Don Jerman
2008-02-28 17:54 ` Don Jerman
2008-02-28 18:12   ` andrea [this message]
2008-02-28 18:23     ` KH
2008-02-28 18:31       ` andrea
2008-02-29 18:00         ` Don Jerman
2008-02-29 18:54           ` andrea
2008-03-01  0:41             ` Don Jerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204222320.10731.15.camel@fandango \
    --to=momesso.andrea@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox