On 12/22/2013 09:02 AM, Cliff McDiarmid wrote:
>
>>> set root=(hd0,7)
>>>
>>> menuentry "LFS6, Linux 3.12.1-lfs-7.2" {
>>> linux /boot/lfskernel-3.12.1 root=/dev/sda7 ro
>>> }
>>>
>>> menuentry "LFS7, Linux 3.12.5-lfs-7.4" {
>>> linux /boot/lfskernel-3.12.5 root=/dev/sda6 ro
>>> }
>>>
>>> How is this? Spelling is all correct in /boot. The host 'LFS6' boots fine.
>>
>> You're missing set root=(hd0,6) for in the LFS7 menu entry.
>
> Yes thanks that boots the new system okay but leaves lfs6unbootable . I.e no
> file found. There must be some kind of syntax error here somewher.
Instead of global set root statement, define it in each menu entry like
this:
menuentry "LFS6, Linux 3.12.1-lfs-7.2" {
set root=(hd0,7)
linux /boot/lfskernel-3.12.1 root=/dev/sda7 ro
}
menuentry "LFS7, Linux 3.12.5-lfs-7.4" {
set root=(hd0,6)
linux /boot/lfskernel-3.12.5 root=/dev/sda6 ro
}
--
Igor Živković
http://www.slashtime.net/
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page