On Sat, 16 Oct 2010 17:05:07 +0200
"Dr.-Ing. Edgar Alwers" <edgaralw...@gmx.de> wrote:

> On Fri, 15 Oct 2010 21:34:39 +0100
> Andrew Benton <b3n...@gmail.com> wrote:
> 
> > 
> > That looks quite odd to me. What does the set root='(hd1,5)' do if on
> > the next line you tell it to look at (hd0,6)?
> >
> 
> Well, I think the first "set root" should tell grub2 where the boot partition 
> is ( in the case of a separate boot partition ), that means where all the 
> grub files are to be found.

If it doesn't already "know" where the /boot partition is then it will never 
read grub.cfg so the line will not be parsed by grub.

> The "linux" statement on the other hand tells grub where the kernel resides 
> and were "root" of the partition to be booted is. Is this not correct ?
>  
Indeed, which is why I suggested you try something like:

menuentry "KDE-4.5 ext4" {
  set root=(hd0,6)
  linux /boot/lfskernel-2.6.34  root=/dev/sda6 rw
}
> 
> Same results. No go

Doh!

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to