help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: howto map boot device to hd0 automagically?


From: Harald Dunkel
Subject: Re: howto map boot device to hd0 automagically?
Date: Sun, 17 Feb 2008 16:35:28 +0100
User-agent: Thunderbird 2.0.0.9 (X11/20071115)

Hi Franklin,

Franklin PIAT wrote:
Harald,

I have no experience setting-up grub on USB device, but under PC BIOS,
the "hard-disk" your're booting from is always numbered 0x80 (AFAIK,
BIOS's 0x80  _is_ Grub hd0).

Therefore, when you boot from IDE disk, you have:
  IDE HD    : 0x80 == hd0 => hda|sda
  USB drive : 0x81 == hd1 => sdb

But when you tell your BIOS to boot from USB disk, it's reordering BIOS
ID, so:
  USB drive : 0x80 == hd0 => sdb*
  IDE HD    : 0x81 == hd1 => hda|sda*

So boot disk should always be "(hd0)".


I see, but if I configure the usb stick with (hd0,0), then I
just get a "grub>" prompt. I don't see the usual list of titles
to select from. Running

        find /boot/grub/stage1

in this session I get

        (hd1,2)

i.e. (hd0,0) is not found at all :-(.

Just to be sure: the bios lists the usb stick as a hard drive.

???


Regards

Harri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]