[SWLUG] lilo headache
Gareth Lewis
Gareth.Lewis at patent.gov.uk
Wed Dec 18 16:22:15 UTC 2002
That's what i've been trying, I'll have another go 'though.
first time it went wrong I put down to it trying to get the kernel from an ext3 partition, so I reinstalled red-hat to have a separate /boot mounted on its own ext2 partition.
second time it, I couldn't get /sbin/lilo to process the redhat part of the lilo.conf as it said that it couldn't find or get to (don't remember which) /boot/vmlimuz.redhat which made me think that it was looking for it on the wrong partition or I'd name a typo (it was late)
I'll hack it again tonight and i'll post the actual lilo.conf if it still doesn't work.
But you do seem to suggest that I should be able to point lilo at a completely diferent partition and it will still work ?
>>> Dafydd Walters <dafydd at walters.net> 18/12/2002 16:03:32 >>>
Gareth,
Perhaps you could try the following:
1. Fire your PC up into Suse and log in as root.
2. Locate the lilo.conf file, and add an entry for 'Red Hat Linux' to the
bottom of the file as follows:
image = /boot/vmlinuz # your zImage file
root = /dev/hda2 # partition containing the kernel
label = Red Hat Linux # name to appear on menu
3. Run /sbin/lilo at the command prompt to propagate the lilo.conf changes
to your Master Boot Record.
4. Reboot. The initial boot menu should now include Red Hat Linux
(depending on how you've got lilo configured, you may not get a menu; just a
LILO: prompt. If this is the case, just hit Tab to see the list of
choices).
Regards,
Dafydd.
discuss
More information about the Swlug
mailing list