Grub and logical partitions

Michael Schwendt mschwendt at
Sat Jul 31 17:57:24 UTC 2010

On Sat, 31 Jul 2010 13:16:10 +0200, Timothy wrote:

> But what puzzles me - and none of the gurus in this thread
> seem to have answered my question -

But of course! There was only one question mark in your message,
and the question in front of it has been answered.

> is that I can do it interactively,
> but when I put exactly the same commands into grub.conf
> they do not work.


> I'm using the standard grub in a standard up-to-date Fedora-13.
> >> > But I found that I could in fact boot from /dev/sda5
> >> > if I used grub interactively, starting with
> >> >   root (hd0,4)
> >> > then using tab to look for kernel and initrd
> >> > and finally booting.

Why don't you load the grub.conf from /dev/sda5 instead of loading
kernel and initrd manually?

And even that would not be "chain-loading" or "booting from a logical
partition". For either one, you would install a GRUB boot loader into
the first sector of /dev/sda5.

> Incidentally, you say it can be done.
> So why not just give your stanza in grub.conf
> that has the desired effect?

To boot /dev/sda5 from any GRUB, I do:

title SomeOS
    root (hd0,4)
    chainloader +1

That is under the assumption that /dev/sda5 contains a boot loader in
its first sector.

More information about the users mailing list