All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yoshinori K. Okuji" <okuji@enbug.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Does grub2 solve this problem I am having with grub1? RE: usbsticks.
Date: Sat, 2 Feb 2008 13:11:18 +0100	[thread overview]
Message-ID: <200802021311.19111.okuji@enbug.org> (raw)
In-Reply-To: <20080201184413.GA9474@io.com>

On Friday 01 February 2008 19:44, Paul Elliott wrote:
> > Would not the boot device be hd0?
>
> No, usually the first hard disk is hd0, the second hard disk
> is hd1, and the usb sticks come after that. At least that is
> how it works under my computer. Usually it is because the number
> of hard disks differ that causes you not to know which device
> the usb stick is.

Nope. If you boot from a usb disk, it is always hd0. This is the PC BIOS.

> The Problem does not have to involve usbsticks. One can imagine
> a situation in which to device one is booting from is always
> the first scsi disk. But some computers have one or more IDE
> drives wich are recognized by the bios as hd0, hd1, ect.

No. If you boot from a SCSI disk, it is hd0. All IDE disks are shifted to hd1, 
hd2, etc.

> The Fedora/RedHat kernels/initrd have this feature where you can
> specify the root partition to the kernel/initrd by volume label. You
> can say 'root=LABEL=/' to tell the kernel to find the partition with the
> label '/' and use that as the root partition. This feature does not
> require LVN. The kernel/initrd will check all the partitons and find
> the one lableled '/'.
>
> But this does not have anything to do with how one
> specifies partitions to grub. But perhaps grub should adopt a similar
> feature.

It is already there. GRUB 2 already supports setting a root based on a 
filesystem label or a path.

Okuji



  parent reply	other threads:[~2008-02-02 12:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-31 16:08 Does grub2 solve this problem I am having with grub1? RE: usbsticks Paul Elliott
2008-01-31 16:58 ` Pavel Roskin
2008-02-01  4:34   ` Paul Elliott
2008-02-01  4:50     ` Pavel Roskin
2008-02-01 12:59       ` Paul Elliott
2008-02-01 17:25         ` Pavel Roskin
2008-02-01 18:44           ` Paul Elliott
2008-02-01 20:14             ` Pavel Roskin
2008-02-01 21:45               ` Paul Elliott
2008-02-01 21:50                 ` Robert Millan
2008-02-02 12:11             ` Yoshinori K. Okuji [this message]
2008-02-02 14:34               ` Paul Elliott
2008-02-03  5:58                 ` Pavel Roskin
2008-02-04  3:46                   ` Pavel Roskin
2008-02-04 13:24               ` Paul Elliott

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=200802021311.19111.okuji@enbug.org \
    --to=okuji@enbug.org \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.