LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-10-2003, 12:44 PM   #1
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
grub-config question


Hi,

I'm trying to triple boot with XP on hda and RH (Hdc,2) en Debian (hdc,3), but I can't get grub to boot Debian (I posted the grub-conf file below)
I copied the Debian kernel to the boot section and can't find a initrd...img file in Debian (should I make one, and how?)
Could the problem be that all kerel and intird paths are relativ to /boot as the file says?

Anne

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdc2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-14)
root (hd1,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Debian
root (hd1,2)
kernel /vmlinuz-2.4.18-bf2.4 root=/dev/hdc3
title DOS
rootnoverify (hd0,0)
chainloader +1

Thanks in advance
Anne
 
Old 03-10-2003, 03:44 PM   #2
viciousfish
Member
 
Registered: Jun 2002
Location: UK
Distribution: Debian Sarge, Gentoo
Posts: 70

Rep: Reputation: 15
Look at this line in the comments above the file:
"# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)"

Are the Debian boot images in the same boot partition as the RedHat ones? If not, maybe they should be.
 
Old 03-11-2003, 02:53 AM   #3
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
I looked at this, but was afraid to copy the /boot directory to the boot partition b/c about three files have the same name.
I was hoping -quit naively I'll admit to that- that I could link to the debian boot directory.

Anne
 
Old 03-11-2003, 07:11 AM   #4
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
You have to copy your Debian kernel (the vmlinuz-thing) to your RedHat /boot partition, then it should work. As far as I remember from my Debian days the bf-2.4 kernel doesn't use an initrd, if it does I think Debian has it in the rootpartition (or symlinked from there).
 
Old 03-12-2003, 02:12 AM   #5
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Original Poster
Rep: Reputation: 30
It almost worked like that
I had to create a symlink to the debian boot directory in the Redhat /boot partition and then it worked.
Seams that while loading the kernel it looks for a boot directory within the current directory and with the kernel copied directly to the boot partition it didn't find it.

anne
 
Old 03-12-2003, 08:37 AM   #6
yngwin
Member
 
Registered: Dec 2002
Location: China
Distribution: Arch
Posts: 359

Rep: Reputation: 33
Hmmm, strange. For me it did work like that. I once had a triple boot set up that way (Mandrake, Slackware, Gentoo).
 
  


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
Grub config Julian2005 Linux - Newbie 2 06-21-2005 11:39 AM
grub config in ubuntu linusownsme Linux - Newbie 1 05-07-2005 03:45 PM
Grub installation/config Flak Pyro Linux - Newbie 10 06-06-2004 10:08 PM
Grub.config help iLLuSionZ Linux - Newbie 19 11-09-2003 03:02 AM
GRUB config file me23 Linux - Newbie 3 07-17-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04: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