From: Darron Black <darron@griffin.net>
To: grub-devel@gnu.org
Subject: Re: GRUB2 partition numbers are 1-based now?
Date: Mon, 09 Nov 2009 18:11:53 -0600 [thread overview]
Message-ID: <4AF8AFC9.1040305@griffin.net> (raw)
In-Reply-To: <4AF8A37B.9030108@griffin.net>
Darron Black wrote:
> I'd like to make sure I'm not going crazy.
>
> From the Ubuntu 9.10 installs I've done recently, I've noticed
> /dev/sda1 -> (hd0,1), /dev/sda2 -> (hd0,2), etc, etc.
>
> At first I thought it was a bug with the grub.cfg generation... since
> I was only getting the grub> prompt on boot and typing in the same
> line with (hd0,N-1) worked. (I guess because the UUID overrode it?)
> I investigated and noticed that the function that built the device
> name (on the wrong OS at the moment, so can't look it up) definitely
> did a + 1.
>
> I've quickly searched the archive (probably somewhat clumsily) and I
> didn't turn up anything definitive.
>
> So... (hd0,N) partitions are officially 1-based now, right? That's
> super confusing. Could a note be added to the autogenerated
> grub.cfg? :)
>
>
> Darron
>
>
Nevermind.
I just did a fresh google search and turned up the archlinux wiki, which
clearly shows partitions starting at 1 now.
I'm not sure why I couldn't find anything earlier. It being 2am when I
had the problem might have had something to do with it.
However, a quick mention in the grub.cfg would be nice. :)
Darron
prev parent reply other threads:[~2009-11-10 0:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 23:19 GRUB2 partition numbers are 1-based now? Darron Black
2009-11-10 0:11 ` Darron Black [this message]
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=4AF8AFC9.1040305@griffin.net \
--to=darron@griffin.net \
--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.