LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   redhat/debian dual boot (https://www.linuxquestions.org/questions/debian-26/redhat-debian-dual-boot-74107/)

dbkluck 07-19-2003 01:03 PM

redhat/debian dual boot
 
i just installed debian onto my secondary partition, and i'd like to configure lilo to boot both my redhat partion and the new debian one. so far no luck--i've only been able to boot debian using the rescue cd. the pertinent lilo.conf entries are:

image=/boot/vmlinuz-2.4.20-6
label=Red_Hat
initrd=/boot/initrd-2.4.20-6.img
read-only
append="hdc=ide-scsi root=LABEL=/1"

image=/dev/hda3/boot/vmlinuz-2.2.20-idepci
label=Debian
initrd=??? i'm not sure exactly what to put here.
read-only

i've put a couple of different things into the initrd line, but as i am a newbie i don't really know what this is. when i boot debian (before it goes into a kernel panic) it complains about not finding a ramdisk, which is what i guess is supposed to be on that line. does anyone know where the ramdisk image lives in debian? i was unable to find anything with the file extension .img in the /boot directory. any help is appreciated.

DrOzz 07-19-2003 01:09 PM

well i have no idea how debian works, but if there is no initrd.img file in the /boot directory on the debian partition then try something like :
image=/boot/vmlinuz-x.x.x
label=linux
root=/dev/hda3
read-only

i am sure someone will post if these is correct

dbkluck 07-19-2003 02:27 PM

I tried that, but all it did was return "FATAL: No images defined."

BittaBrotha 07-19-2003 04:33 PM

Well on my single 40gb drive, I have Debian, Slackware, JAMD, Win98, Winxp and Freebsd. Once I installed Debian and came to configuring lilo, it asked if I wanted to add those other OSes and it included them all without any problems.

What you may try while in Debian is run liloconfig and see if you can configure it again.

dbkluck 07-20-2003 04:28 PM

thanks, that seemed to have worked. (using debian's lilo and running liloconfig). i was trying to use redhat's lilo, but i guess the redhat version is a little more imperialistic, insisting on ramdisk images [shrug]. i dunno. well, in any case, the booting issue is fixed. now i just need to muddle through the X configuration... thanks again.


All times are GMT -5. The time now is 05:10 PM.