Only if you put the boot image on drive hda. For the second drive to work with lilo on the MBR of hda you also need to install lilo on either the mbr of hdb or at the beginning of your root partition on drive hdb. In the later case your linux boot would look like this:

other=/dev/hdbx where x is the partition number of the root partition
label=linux

Now you get two lilo prompts when you boot.

If you install lilo on the mbr of hdb then your lilo.conf is correct except boot=/dev/hdb. I have never done this one but if you let the mandrake installation program install lilo for you it will do it correctly and I would select to install lilo on the boot partition of hdbx and the mbr of hda. Then if you add disk drives always install lilo on the root partition if you want more flavors of linux to play with.  A caveat you will discover is that boot=/dev/hdx can only be defined once in lilo.conf all other boot partitions are listed as other.

The window section looks ok by me except that I do not have table=... or loader=... for the win98 boot syntax. Also, are you needing scsi suppport at boot. If you do, then you need to create an initrd image using mkinitrd syntax:
mkinitrd /boot/initrd.img xxxxxxx
where xxxxxx is the kernel id (look in /lib/modules for a list of kernel directories that you can generate initrd images. Also a good idea to name the initrd image initrd-xxxxx where again xxxxx is the kernel id.
Also is hdb1 the partition on the boot drive where the root partition (/) is located. Also a good idea to create a partition for /boot as the first partition. I usually use a 16mb as the first partition /boot then next partition is swap and the next one is / which contains everything but /boot. This guarantees that the boot image is always in the first.

Finally here is a copy of an old lilo.conf that works for me with win partitions on hda1 and hdb1; /boot on hda5 and hdb5;  / on hda7 and hdb7; and swap on hda6 and hdb6. Purpose here is to have a stable linux install on either hda or hdb and the one that I muck with on the other drive. I never mess with stable until the experimental install is stable.

boot=/dev/hda    <-------- you can only do this once
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
prompt
timeout=50
#message=/boot/message
image=/boot/bzImage-smp
        label=custom-smp
        root=/dev/hda7
        initrd=/boot/initrd-2.2.14xsmp.img
        append="mem=128M"
        read-only
image=/boot/vmlinuz-smp
        label=linux
        root=/dev/hda7
        initrd=/boot/initrd-2.2.14smp.img
        append="mem=128M "
        read-only
image=/boot/vmlinuz
        label=linux-up
        root=/dev/hda7
        initrd=/boot/initrd.img
        append="mem=128M"
        read-only
other=/dev/hdb5     <---- this is the partition where I have lilo installed on drive hdb
        label=debian
other=/dev/hda1
        label=win98
        table=/dev/hda
other=/dev/fd0
        label=floppy
        unsafe
 

Hope this helps

Tom
 

Leith Shabbot wrote:

I am trying to install Mandrake 7.0 on my second hard drive(slave drive).  My first hard drive has Win'98.  If I want to put LILO on the MBR do I just partition my second hard drive(hdb) and install Linux all on that drive and then configure LILO as follows: boot = /dev/hdainstall = /boot/boot.bmap = /boot/map #Stanza for Linux
image = /boot/vmlinuzlabel = linuxroot = /dev/hdb1 #Stanza for Winother = /dev/hda1table = /dev/hdalabel = windowsloader = /boot/any_d.b If this is completely wrong or if their is a better configuration then please let me know. Thank you,Leith[EMAIL PROTECTED]

Reply via email to