All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darron Black <darron@griffin.net>
To: grub-devel@gnu.org
Subject: GRUB2 partition numbers are 1-based now?
Date: Mon, 09 Nov 2009 17:19:23 -0600	[thread overview]
Message-ID: <4AF8A37B.9030108@griffin.net> (raw)

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




             reply	other threads:[~2009-11-09 23:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09 23:19 Darron Black [this message]
2009-11-10  0:11 ` GRUB2 partition numbers are 1-based now? Darron Black

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=4AF8A37B.9030108@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.