I'm trying to consolidate three different Linux systems I've got going
(Debian 3.0, Mandrake 8.2, and RedHat 8.0) so they will all boot from
the same harddrive using Lilo to pick which one.

Previously each distributions was on its own hard disk (which I swapped
out when I wanted to switch distros) so they all know the same hardware.

I'm started with the Mandrake drive (because it was the biggest) and
copied Debian onto it in a new partition. I used "cp -a <debian /> <new
partition>". It appears that everything was copied successfully; it all
appears to be there.

Next I configured Lilo to include the new boot option. Here is my
lilo.conf file:


boot=/dev/hda           # Where to install the Lilo bootloader.
map=/boot/map           # I'm not sure what this does???
# Where to copy the Lilo boot record from.
install=/boot/boot.b            # From Mandrake 8.2
# install=/boot/boot-menu.b     # From Debian 3.0
vga=0x0f06
default=Mandrake
keytable=/boot/us.klt
lba32           # Use Logical Block Addressing to talk to BIOS.
prompt
nowarn
timeout=100             # Wait for response (in tenths of a second).
menu-title=" Dexter's Computer Startup "
# text:highlight:border:title
menu-scheme=wk:Wk:wk:Wk  
other=/dev/fd0
        label=floppy
        unsafe
image=/boot/vmlinuz
        label=Mandrake
        root=/dev/hda1
        initrd=/boot/initrd.img
        append="devfs=mount hdc=ide-scsi hdd=ide-scsi"
        read-only
image=/boot/vmlinuz
        label=failsafe
        root=/dev/hda1
        initrd=/boot/initrd.img
        append="failsafe devfs=nomount hdd=ide-scsi"
        read-only
image=/boot/vmlinuz     # Actually /vmlinux but I made a symlink.
        label=Debian
        root=/dev/hda7
        append="hdc=ide-scsi hdd=ide-scsi"
        read-only

The above lilo configuration works fine for booting into Mandrake, but
when I try to boot into Debian it gets really ugly. From what I can tell
by reading between the error messages, it's booting the Mandrake kernel
not the Debian version. The last message before it gives up is about the
swap file. But then it allows me login at a console, and when I poke
around I can see that /dev/hda7 is indeed mounted at / and all the
Debian files are accessible.

So my questions are: 
1.) Is what I am trying to do possible? 
2.) What do I have to do get lilo to load the right kernel image?
3.) What is the map file reference for and do I need to worry about it?

Dexter

_______________________________________________
Eug-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to