Click to See Complete Forum and Search --> : Mandrake, Redhat, WinXP and Win98 all together?
shiatsu
03-10-2003, 04:06 PM
I presently have Mandrake 9.0 and Win XP on my primary IDE drive with Win98 on my secondary IDE drive. Currently any OS can be started from the LILO Boot Menu with no problems.
I would like to add another version of Linux to my secondary IDE drive which has an empty 10GB extended partition.
If I install Redhat 8.0 to this empty partition can I just add a new entry to the Mandrake Boot Menu to boot into Redhat or will I have to start up Redhat by using a boot floppy?
Thanks, Alan
homey
03-10-2003, 04:43 PM
Make sure to create an emergency boot disk for Mandrake and Redhat just in case. Then it's a piece of cake to add the information from redhat's lilo.conf or grub.conf to the mandrake one.
homey is right; just make sure that during the Redhat install you don't let Rh overwrite your current lilo with it's own bootloader.
shiatsu
03-10-2003, 06:19 PM
Originally posted by homey
Make sure to create an emergency boot disk for Mandrake and Redhat just in case. Then it's a piece of cake to add the information from redhat's lilo.conf or grub.conf to the mandrake one.
I know that Mandrake has a graphical configuration utility for the boot menu/loader. Can I just add an entry for Redhat to this - pointing to the root linux partition on Hdb? Or is it more complicated? (I'm fairly new to Linux!)
Thanks again,
Alan
homey
03-10-2003, 07:06 PM
Yep, look for the section that looks something like this in the redhat grub.conf and copy it to the one in Mandrake.
title Red Hat Linux
root (hd1,1)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
Originally posted by homey
Yep, look for the section that looks something like this in the redhat grub.conf and copy it to the one in Mandrake. well...not quite. shiatsu is using lilo, and since lilo.conf uses a different syntax than grub's config file a simple cut-n-paste from one to the other won't work.
shiatsu,
I haven't used lilo in a while, so a refresher would help- could you please post your /etc/lilo.conf file? Once you do, I should be able to tell you what to enter there to get it to boot Redhat.
homey
03-10-2003, 07:52 PM
Sorry, didn't notice that it was lilo
Anywho, just get the information that looks like this and put it into mandrake's lilo.conf
Then run /sbin/lilo
image=/boot/vmlinuz-2.4.18-14
label=linux
root=/dev/hdb3
read-only
DragonSlayer
03-10-2003, 07:58 PM
He doesn't have to go through the .conf files anyways. Considering he is using XWindows with the Mandrake Control Center, with drakconf, All he needs to do is go to the shell type in drakconf, type root password, and in the panel click on boot, boot config. Press the button that says Configure and then press ok in the dialog. The entries pop up so click add, linux, and there.... at least, on Mandrake 9.0 :D (you might want to play around with the settings if you don't know what you are doing :)
shiatsu
03-11-2003, 05:25 PM
Originally posted by DMR
shiatsu,
I haven't used lilo in a while, so a refresher would help- could you please post your /etc/lilo.conf file? Once you do, I should be able to tell you what to enter there to get it to boot Redhat.
If you could tell me where to locate the /etc/lilo.conf file in Mandrake 9.0 I will post a copy of the file to the board.
As a matter of interest will the same procedure allow me to boot SuSE 8.1 which I also have a copy of ? (if I don't like Redhat!)
Thanks, Alan
Gamfa
03-11-2003, 05:55 PM
/etc/lilo.conf is the file and dir in MDK
shiatsu
03-14-2003, 06:25 PM
Originally posted by DMR
shiatsu,
I haven't used lilo in a while, so a refresher would help- could you please post your /etc/lilo.conf file? Once you do, I should be able to tell you what to enter there to get it to boot Redhat.
Here it is! (sorry for the delay)
If you can indicate how to amend lilo.conf I would be very grateful.
Thanks again,
Alan
boot=/dev/hda
map=/boot/map
vga=788
default=WindowsXP
keytable=/boot/uk.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.4.19-16mdk
label=Linux
root=/dev/hda6
initrd=/boot/initrd-2.4.19-16mdk.img
append="devfs=mount hdc=ide-scsi"
read-only
other=/dev/hda1
label=WindowsXP
table=/dev/hda
other=/dev/hdb1
label=Windows98
table=/dev/hdb
map-drive=0x80
to=0x81
map-drive=0x81
to=0x80
other=/dev/fd0
label=floppy
unsafe
As DragonSlayer said, you can probably use Mandrake's graphical utility to do the job, or you can edit lilo.conf directly.
Either way though, you'll have to wait until you've actually installed Redhat, because you won't be able to input the correct partition information until you do.
The reason for this is that you've said that the empty partition on the second drive is an extended partition, which means that the Redhat installer will need to create logical partitions within the extended partition, and we won't know exactly what those partition names/designations are until the installer has done its job.
:)