LILO
Im tryin to use linux to boot windows and mandrake form 1st hd and college linux from 2hd. I can only boot windows and mandrake college just give me some error msg. This is my lilo.conf:
default="WindowsXP_home" boot=/dev/hda map=/boot/map keytable=/boot/us.klt prompt nowarn timeout=150 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz-2.6.11-6mdk label="Mandrake" root=/dev/hda3 initrd=/boot/initrd.img append="splash=silent acpi=ht resume=/dev/hda4" vga=788 read-only other=/dev/hda1 label="WindowsXP_home" image=/boot/vmlinuz label="failsafe" root=/dev/hda3 initrd=/boot/initrd.img append="failsafe splash=silent acpi=ht resume=/dev/hda4 devfs=nomount" read-only other= /dev/hdb label="College_Linux" map-drive= 0x80 to = 0x81 map-drive= 0x81 to = 0x80 image=/boot/vmlinuz root=/dev/hdb2 initrd=/boot/initrd.img read-only Can anybody help me out?? |
Re: LILO
Quote:
|
I try what you said but it just didnt work I think all I need is to make lilo look for the hd2 for college linux and not in hd1.
|
try mounting your college linux partition and then pointing lilo there for the image. for example:
mkdir /mnt/hdb2 mount /dev/hdb2 /mnt/hdb2 then change the line in lilo to: image=/mnt/hdb2/boot/vmlinuz then run lilo. possibly the "other=/dev/hdb" tells lilo to look there for the image, but i'm not sure. i don't recall ever using that when i booted 2 hard drives. are you getting any errors when you write lilo? :confused: |
I try that but it didn work. I think it just look in hda and I think i need the other=/dev/hdb or something similar in order for it to look in the hdb and not hda.
How can I do this? I don't received any error writing lilo.conf |
Quote:
image=/mnt/hdb2/boot/vmlinuz label="College_Linux" root=/dev/hdb2 initrd=/mnt/hdb2/boot/initrd.img read-only don't forget to run lilo after you make the changes, and watch for errors or omissions. it should look like this: # lilo Added Mandrake Added Windows_XP_home* Added failsafe Added College_Linux also notice i took all that "map drive" out, but you can just use comment marks if you want. if this method works, you won't need that. the boot=/dev/hda in the beginning tells lilo to write to the MBR of hda, and with the partition mounted i think lilo should be able to read what it needs to so it can then boot /dev/hdb (i'm assuming you're doing all this from mandrake). i don't *think* you need to write to MBR of hdb, because that would require you to change your BIOS settings each time you booted so it would know to boot from master or slave drive. so that doesn't really make sense, although that actually would be one way to do it that would probably work. it's not the best way, though, so try this first. gl, i hope it works b/c i'm running out of ideas. :p |
All times are GMT -5. The time now is 10:54 PM. |