LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Mandrake 9.2 + Redhat -- boot problem... (https://www.linuxquestions.org/questions/mandriva-30/mandrake-9-2-redhat-boot-problem-127588/)

hpnadig 12-20-2003 12:34 PM

Mandrake 9.2 + Redhat 9.0 (on a single machine) -- boot problem...
 
I had an installation of Redhat 9.0 on my PC along with Win 2K ...
Now, recently I tried out Mandrake 9.2. It installed perfactly and I had no problems configuring the LILO.

But when I added the device /dev/hda9 which had my Redhat installation to the lilo, I found that redhat isn't booting properly...
I get all *failed*s after init()...

Mandrake is booting perfectly and the data in the redhat partition is intact...
dunno what's the problem.. :( help!

estatik 12-20-2003 02:09 PM

Could you post your lilo.conf file?

Also, just a stupid question. Did you run lilo after configuration?

jschiwal 12-20-2003 07:07 PM

I'll bet that both the Red Hat and Mandrake lilo entries produce a link from /boot/vmlinuz -> /boot/vmlinux-<version>, and the link is what is listed in the lilo.conf entry. The same may be true for an initrd.img entry.
If the kernel or initrd entries under the redhat section, refer to a link which points to a file which contains mdk in the name, this is what happened for sure. Be sure you make a backup copy of your /etc/lilo.conf file before making changes.

hpnadig 12-20-2003 07:58 PM

Quote:

Originally posted by jschiwal
I'll bet that both the Red Hat and Mandrake lilo entries produce a link from /boot/vmlinuz -> /boot/vmlinux-<version>, and the link is what is listed in the lilo.conf entry. The same may be true for an initrd.img entry.
If the kernel or initrd entries under the redhat section, refer to a link which points to a file which contains mdk in the name, this is what happened for sure. Be sure you make a backup copy of your /etc/lilo.conf file before making changes.

yeah! that is it.. that's exactly the thing...

Sorry for being dumb :( Now, How do I correct this?

would
other = /dev/hdc9
label = "Redhat"

correct it?

Should I include anything else?

hpnadig 12-21-2003 03:38 AM

Quote:

Originally posted by estatik

Could you post your lilo.conf file?

...
:Pengy: Here goes my Lilo.conf..

boot=/dev/hdc
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
menu-title=" hpnadig's Computer "
image=/boot/vmlinuz
label="linux"
root=/dev/hdc8
initrd=/boot/initrd.img
append="devfs=mount splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdc8
initrd=/boot/initrd.img
append="devfs=mount splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10"
read-only
other=/dev/hdc1
label="windows"
table=/dev/hdc
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="Red_Hat"
root=/dev/hdc9
initrd=/boot/initrd-2.4.20-8.img
append="devfs=mount splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10 splash=silent"
vga=788
read-only
image=/boot/vmlinuz-2.4.22-10mdk
label="old_linux-nonfb"
root=/dev/hdc8
initrd=/boot/initrd-2.4.22-10mdk.img
append="devfs=mount hdb=ide-scsi acpi=ht resume=/dev/hdc10"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc8
initrd=/boot/initrd.img
append="devfs=nomount splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10 failsafe"
read-only

hpnadig 12-21-2003 05:29 AM

well, I could get my Redhat to boot finally! :cool:

here's the lilo.conf...

( I know that this one is a dirty hack.. But I couldn't do it any other way... :D

If somebody knows a better way of doing this... please post it.. )

lilo.conf
boot=/dev/hdc
map=/boot/map
vga=normal
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdc8
initrd=/boot/initrd.img
append="devfs=mount splash=silent splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hdc8
initrd=/boot/initrd.img
append="devfs=mount splash=silent splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10"
read-only
other=/dev/hdc1
label="windows"
table=/dev/hdc
other=/dev/fd0
label="floppy"
unsafe
image=/mnt/redhat/boot/vmlinuz-2.4.20.8
label="Red_Hat"
root=/dev/hdc9
initrd=/mnt/redhat/boot/initrd-2.4.20-8.img
append="devfs=mount splash=silent splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10"
vga=78888888888
#
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdc8
initrd=/boot/initrd.img
append="failsafe devfs=nomount splash=silent splash=silent hdb=ide-scsi acpi=ht resume=/dev/hdc10"
read-only


All times are GMT -5. The time now is 04:35 AM.