* GRUB2 partition numbers are 1-based now?
@ 2009-11-09 23:19 Darron Black
2009-11-10 0:11 ` Darron Black
0 siblings, 1 reply; 2+ messages in thread
From: Darron Black @ 2009-11-09 23:19 UTC (permalink / raw)
To: grub-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GRUB2 partition numbers are 1-based now?
2009-11-09 23:19 GRUB2 partition numbers are 1-based now? Darron Black
@ 2009-11-10 0:11 ` Darron Black
0 siblings, 0 replies; 2+ messages in thread
From: Darron Black @ 2009-11-10 0:11 UTC (permalink / raw)
To: grub-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-10 0:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 23:19 GRUB2 partition numbers are 1-based now? Darron Black
2009-11-10 0:11 ` Darron Black
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.