LinuxQuestions.org
Visit Jeremy's Blog.
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 12-29-2003, 12:21 PM   #1
VincentB
Member
 
Registered: Jun 2003
Location: Brussels, Belgium
Distribution: Ubuntu 6.10
Posts: 139

Rep: Reputation: 15
Grub - 'tri-al' boot xp / rh9.0 / mandrake 9.2


Dear all,

I really need your help !!

On my computer, I had initially installed Windows XP. After that, I installed RED HAT 9.0 and decided to use GRUB.

Here is a copy of the grub.conf file created by RED HAT

# 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 (hd0,6)
# kernel /vmlinuz-version ro root=/dev/hda10
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-24.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-24.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img
title Red Hat 9.0 - NTFS (2.4.20-20.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-20.9.img
title Red Hat 9.0 - NTFS (2.4.20-19.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-19.9 ro root=LABEL=/
initrd /initrd-2.4.20-19.9.img
title Red Hat 9.0 - NTFS (2.4.20-18.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-18.9 ro root=LABEL=/
initrd /initrd-2.4.20-18.9.img
title Red Hat 9.0 (2.4.20-8)
root (hd0,6)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Windows XP Pro
rootnoverify (hd0,0)
chainloader +1


For different reasons I decided to install Mandrake 9.2. I had in mind to use Grub to choose between the 3 Operating Systems installed on my computer.

But unfortunately, the installation of Mandrake detected well the Windows partition but not the Red Hat one. Here is a copy of the menu.lst file generated during the Mandrake installation :

timeout 10
color black/cyan yellow/cyan
i18n (hd1,4)/boot/grub/messages
keytable (hd1,4)/boot/be2-latin1.klt
altconfigfile (hd1,4)/boot/grub/menu.once
default 0

title Linux Mandrake 9.2
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda8 splash=silent vga=788
initrd (hd1,4)/boot/initrd.img

title Linux Red Hat 9.0 - NTFS (2.4.20-20.9)
root (hd0,6)
kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/
initrd /initrd-2.4.20-24.9.img


title linux-nonfb
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda8
initrd (hd1,4)/boot/initrd.img

title failsafe
kernel (hd1,4)/boot/vmlinuz root=/dev/hdb5 failsafe devfs=nomount hdc=ide-scsi acpi=ht resume=/dev/hda8
initrd (hd1,4)/boot/initrd.img

title Windows XP Pro
root (hd0,0)
chainloader +1

title floppy
root (fd0)
chainloader +1


As you can see it, I have manually added lines (bold) in order to be able to start RH 9.0 but I get a ... kernel panic error when I choose that option.

How do I have to update this last file in order to be able to boot Windows, Red Hat 9.0 or Mandrake 9.2 ?

Thanks a lot for your help and happy new year 2004.

Vincent
 
Old 12-29-2003, 04:19 PM   #2
ash4stuff
Member
 
Registered: Aug 2003
Location: Viena
Distribution: Debian Sarge
Posts: 139

Rep: Reputation: 15
hi! just a couple of questions first... can you boot any of the operating systems? can you boot the mandrake system? can you mount the filesistem where redhat is?

have you changed anything in the partition order of any of the disks?
please print out how your hd are partitioned.

 
Old 12-29-2003, 04:39 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
What exactly happens at the 'Kernel panic"? Try changing the root=LABEL=/ to root=[your RH rootdev].
 
  


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
Tri Boot with GRUB: SUSE 9.2, Win 98 and WinNT 4.0 pwakeford SUSE / openSUSE 6 06-06-2005 07:27 AM
Tri-Boot Help/Recommendation With GRUB/LILO? C0Y0TE Fedora - Installation 1 01-24-2005 11:37 AM
Using GRUB for a dual-boot XP/RH9 TheDewAddict Linux - Newbie 16 09-11-2003 10:03 AM
Trying to dual-boot XP and RH9 with GRUB...GRUB stops right after BIOS EvilYoda Linux - Newbie 5 06-20-2003 04:38 PM
Steps to create Tri Booting for either NT bootloader or Grub Hawkster78 Linux - Newbie 13 01-12-2003 03:46 AM


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