LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-19-2003, 01:03 PM   #1
dbkluck
Member
 
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78

Rep: Reputation: 15
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.
 
Old 07-19-2003, 01:09 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
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

Last edited by DrOzz; 07-19-2003 at 01:10 PM.
 
Old 07-19-2003, 02:27 PM   #3
dbkluck
Member
 
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78

Original Poster
Rep: Reputation: 15
I tried that, but all it did was return "FATAL: No images defined."
 
Old 07-19-2003, 04:33 PM   #4
BittaBrotha
Member
 
Registered: Jan 2002
Location: Third Stone from the Sun
Distribution: Debian Sid, SourceMage 0.9.5, & To be Continued on a TP
Posts: 800

Rep: Reputation: 31
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.
 
Old 07-20-2003, 04:28 PM   #5
dbkluck
Member
 
Registered: Jun 2003
Location: Washington DC
Distribution: debian sid
Posts: 78

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


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:cannot boot redhat linux 9 with win xp dinow Linux - Software 9 07-17-2005 04:27 PM
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
FC 2 and Debian and XP dual boot? JediMasterTux Linux - General 2 06-16-2004 11:26 PM
XP Pro will not boot dual boot Redhat 9 one hard drive mamoose Linux - Newbie 10 03-29-2004 08:28 PM
Dual boot for Redhat 9 and Solaris 9 boot manager problems steve_2010 Red Hat 1 01-30-2004 09:14 PM

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

All times are GMT -5. The time now is 02:54 PM.

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