On Fri, 15 Oct 2010 21:34:39 +0100
Andrew Benton <[email protected]> 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.
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 ?
> Try:
>
> menuentry "KDE-4.5 ext4" {
> set root=(hd0,6)
> linux /boot/lfskernel-2.6.34 root=/dev/sda6 rw
> }
Same results. No go
>
> Is the kernel in /boot on /dev/sda6 or is /boot on a separate partition?
>
The kernel resides in /dev/sda6/boot . That is the reason for my "linux
(hd0,6)/boot/lfskernel..." etc. statement in grub.cfg
>
> I would suggest that you tar up the partition from your host system,
> unmount it, format it with the filesystem of your choice, mount it
> again and then untar the files onto the empty partition.
> Assuming it's mounted on /mnt/lfs and you want to use ext4:
>
I think I will give it a try. I cannot understand the behaviour of my grub2 (
version 1.98 ), besides that the ext4 partition is corrupted. I will report.
Thank you very much for your help
Edgar
--
Dr.-Ing. Edgar Alwers <[email protected]>
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page