LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-20-2003, 12:34 PM   #1
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Rep: Reputation: 15
Exclamation 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!

Last edited by hpnadig; 12-20-2003 at 12:52 PM.
 
Old 12-20-2003, 02:09 PM   #2
estatik
Member
 
Registered: Oct 2003
Location: CA / NY
Distribution: Mandrake 9.1, 9.2, 10.1, Cooker
Posts: 145

Rep: Reputation: 15
Could you post your lilo.conf file?

Also, just a stupid question. Did you run lilo after configuration?
 
Old 12-20-2003, 07:07 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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.
 
Old 12-20-2003, 07:58 PM   #4
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: 15
Lightbulb

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?
 
Old 12-21-2003, 03:38 AM   #5
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: 15
Post

Quote:
Originally posted by estatik

Could you post your lilo.conf file?

...
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
 
Old 12-21-2003, 05:29 AM   #6
hpnadig
Member
 
Registered: Nov 2003
Location: India
Distribution: Fedora
Posts: 43

Original Poster
Rep: Reputation: 15
Thumbs up

well, I could get my Redhat to boot finally!

here's the lilo.conf...

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

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Duel Boot- Mandrake 10.0 and Redhat Chris_Drake9.2 Linux - General 2 08-29-2004 11:08 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 01:46 PM
Mandrake and Redhat dual boot aikempshall Mandriva 4 03-01-2004 05:00 AM
Can I dual boot both Mandrake and RedHat? Amos Ku Linux - Software 14 09-10-2003 05:52 PM
RedHat Grub Mandrake Boot Problem Tuzinor Linux - General 1 08-10-2003 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration