-----Original Message-----
From: Matthew Gregan <[EMAIL PROTECTED]>
To: CLUG <[EMAIL PROTECTED]>
Date: Wednesday, September 17, 2003 4:06 PM
Subject: Re: lilo problem
>On Wed, Sep 17, 2003 at 03:48:37PM +1200,
[EMAIL PROTECTED] wrote:
>> Isnt that why you specify the root?
>
>No. The 'root=' argument is passed to the kernel during boot. LILO
>does not understand filesystems, and therefore does not care what you
>specify as the 'root='. The kernel image specified in the lilo.conf
>with 'image=' must be readable by when LILO is run to write the boot
>sector at the exact location specified by the 'image=' argument.
And so the handling in Paul's case would be to do something like:
cd /mnt
mkdir hdc8
mount /dev/hdc8 hdc8
Then change your lilo.conf to:
image=/boot/vmlinuz
label="OldMandrake"
root=/dev/hdc1
initrd=/boot/initrd-2.4.21-0.13mdk.img
read-only
image=/mnt/hdc8/vmlinuz
label="Debian"
root=/dev/hdc8
boot=/dev/hdc8
install=/boot/boot.b
map=/boot/map
read-only
And then run lilo while /dev/hdc8 is still mounted.
Wayne