LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-05-2003, 06:24 AM   #1
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Rep: Reputation: 0
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.
 
Old 09-05-2003, 08:17 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Can you post your Mandrake's /etc/lilo.conf? All you may have to do is add a stanza for Red Hat in it.
 
Old 09-12-2003, 01:54 AM   #3
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 09-12-2003, 08:34 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
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.
 
Old 09-13-2003, 08:53 AM   #5
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Original Poster
Rep: Reputation: 0
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 ?
 
Old 09-15-2003, 08:57 AM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
Try getting rid of the "append=" and "vga=" lines in your Red Hat section, then post the errors you encounter, if any.
 
Old 09-17-2003, 02:28 AM   #7
La Dima
LQ Newbie
 
Registered: Sep 2003
Location: Denpasar, Bali
Distribution: Red Hat 9
Posts: 20

Original Poster
Rep: Reputation: 0
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....

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 09:25 PM
Adding boot image to Ultimate Boot CD ZaphyR Linux - General 7 01-20-2005 04:08 PM
Boot Image marsques Slackware 14 12-12-2004 03:33 PM
Setting X boot image, and loading image untwisted Linux - General 2 03-09-2004 08:40 PM
where is boot image? nothlit Linux - General 8 11-25-2001 04:27 AM


All times are GMT -5. The time now is 03:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration