Dual boot correct setup?
OK, here's what I have:
2 hard drives
hda1 boot 32Mb
hda5 swap 512Mb
hda6 / 30odd Mb
hdb1 boot 32Mb
hdb5 / 10odd Mb
LILO is on mbr of hda
Slackware is on hda, Gentoo is on hdb.
When I installed Gentoo it bunged the kernel, initrd, sys.map etc to /boot on hdb.
I copied these to a subdirectory on hda /boot/gentoo and pointed to these when I fiddled with the lilo.conf file in Slackware.
All worked fine until I recompiled the Gentoo kernel. I copied the files over and get an error about summat being too big when I select Gentoo from the LILO splash screen.
Methinks I've made things too damn complicated :) But it was the only way I could get LILO to boot Gentoo. I can't see a way to get LILO to point to the Gentoo kernel on hdb as root is set at the top of the LILO conf file.
What I want to do is for LILO on hda to kick in at boot and offer me Slackware or Gentoo. What's the best way to do that. Suggestions for Grub welcome as well.
I don't think there should be any problems with making LILO point to two kernels on different harddrives, if that's what you are trying to do.
You can set separate "root" options in every "image" setting as far as I know.
post your lilo.conf?
(and if you get an error about something being to big, maybe the kernel compiled wrong? Happened to me once actually)
Cheers oops, lilo.conf below. Methinks I've shafted the compilation though.
# LILO configuration file
# Start LILO global section
boot = /dev/hda
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda6
label = Slackware
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
Hmm, just spotted an error meself :o
did that error resolv the whole deal?
nope. Screen goes black at boot now.