On Sat, 2003-02-22 at 18:27, zentara wrote:
On 22 Feb 2003 17:43:27 +0100 Bram Mertens
wrote: I have changed my bootloader from GRUB back to lilo and I would like to configure it so I can boot Red Hat with it as well.
SuSE is installed on /dev/hda1 Red Hat is installed on /dev/hda7 Red Hat uses a /boot partition that is located on /dev/hda6
Can I copy the Red Hat entry from the previous lilo.conf to my current /etc/lilo.conf or do I have to edit it somehow?
It looks to me like the /boot partitions may be different; but generally lilo is the same across distributions.
I have the following partitions: hda1: root-partition for SuSE hda2: swap-artition used by RH and SuSE hda5: reiserfs-partition containing my files mounted by both SuSE and RH hda6: RH boot-partition, SuSE does NOT use this partition, I told the installer to leave this partition alone. hda7: root-partition for RH So RH boots from /hda6 mounted on /boot while SuSE boots from /boot (which is located on /hda1) I hope that clarifies it a bit.
If /dev/hda6 is the first partition (it can end up that way), then maybe you should put the suse kernels there, and change it's boot to /dev/hda6.
How do you mean 'first'? hda6 is an extended partition...
But you can always try to add a label for the redhat root to the SuSE lilo.conf, and boot it with the kernel of your choice.
I think this is what I want, I think I would need the following
/etc/lilo.conf file (located on /dev/hda1/):
m8ram@linux:~> cat /etc/lilo.conf
boot = /dev/hda
change-rules
reset
read-only
menu-scheme = Wb:kw:Wb:Wb
prompt
timeout = 80
message = /boot/message
image = /boot/vmlinuz
label = linux
root = /dev/hda1
initrd = /boot/initrd
append = " hdd=ide-scsi"
image = /boot/vmlinuz.shipped
label = failsafe
root = /dev/hda1
initrd = /boot/initrd.shipped
append = "ide=nodma apm=off acpi=off vga=normal nosmp maxcpus=0 disableapic 3 hdd=ide-scsi"
optional
image = /boot/vmlinuz-2.4.18-19.7.x
label = redhat
initrd = /boot/initrd-2.4.18-19.7.x.img
read-only
root = /dev/hda7
append = "hdc=ide-scsi hdd=ide-scsi"
## end
Or should I add 'optional' to the redhat entry? Or anything else?
Would lilo know to mount /dev/hda6 to /dev/hda7/boot and look for the
redhat-kernel there?
Or do I have to copy redhat's kernel to /dev/hda1/boot (and what other
files?) and forget about /dev/hda6?
TIA
--
# Mertens Bram "M8ram"