What is boot image?
I've install red hat 9 (/dev/hdb6) and then install mandrake 9 (/dev/hdb7) and then i can't boot to red hat anymore.
How to make mandrake's lilo to boot red hat, i heard that we have to make red hat's boot image in order to do that. Well, what is boot image and how to make a boot image. Thank's. |
Can you post your Mandrake's /etc/lilo.conf? All you may have to do is add a stanza for Red Hat in it.
|
This is mandrake's lilo.conf file; thank's..:)
boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hdb7 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hdb7 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdb7 initrd=/boot/initrd.img append="failsafe devfs=nomount hdc=ide-scsi acpi=off" read-only other=/dev/hda1 label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe |
Add this stanza:
image=/boot/vmlinuz label="Rh Linux" root=/dev/hdb6 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only Run "lilo" to apply the changes. This should work, but you may have to change a few things. For example, this stanza uses Mandrake's kernel (/boot/vmlinuz) and initrd (/boot/initrd.img), you may have to copy Red Hat's kernel & initrd to your Mandrake partition and use it for Red Hat's stanza for everything to work properly. For example, you would copy Red Hat's things to /boot/rh, and use "image=/boot/rh/vmlinuz" and "initrd=/boot/rh/initrd.img" instead of the "image=/boot/vmlinuz" and "initrd=/boot/initrd.img" for Red Hat's stanza. |
i have done this ;
boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hdb7 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hdb7 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdb7 initrd=/boot/initrd.img append="failsafe devfs=nomount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="RedHat" root=/dev/hdb6 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only other=/dev/hda1 label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe but failed, there's many line on boot process that has failed and i tried this after copying the vmlinuz and initrd.img to /boot/rh/ but still failed ; boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hdb7 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hdb7 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdb7 initrd=/boot/initrd.img append="failsafe devfs=nomount hdc=ide-scsi acpi=off" read-only image=/boot/rh/vmlinuz label="RedHat" root=/dev/hdb6 initrd=/boot/rh/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only other=/dev/hda1 label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe is there something wrong with that ? |
Try getting rid of the "append=" and "vga=" lines in your Red Hat section, then post the errors you encounter, if any.
|
It's Working, i've made a mistake by renaming initrd-2.4.20-8.img to initrd.img, i should leave it.
Now i can boot both of it, thank you sooouw much aaa....:D this is lilo.conf final ; boot=/dev/hda map=/boot/map vga=normal default="windows" keytable=/boot/us.klt prompt nowarn timeout=100 message=/boot/message menu-scheme=wb:bw:wb:bw image=/boot/vmlinuz label="linux" root=/dev/hdb7 initrd=/boot/initrd.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only image=/boot/vmlinuz label="linux-nonfb" root=/dev/hdb7 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi acpi=off" read-only image=/boot/vmlinuz label="failsafe" root=/dev/hdb7 initrd=/boot/initrd.img append="failsafe devfs=nomount hdc=ide-scsi acpi=off" read-only image=/boot/rh/vmlinuz label="RedHat" root=/dev/hdb6 initrd=/boot/rh/initrd-2.4.20-8.img append="quiet devfs=mount hdc=ide-scsi acpi=off" vga=788 read-only other=/dev/hda1 label="windows" table=/dev/hda other=/dev/fd0 label="floppy" unsafe |
All times are GMT -5. The time now is 03:25 PM. |