Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-04-2007, 10:53 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Dual-Boot problem:ubuntu and RHEL

Ok everyone,this is a bit complex case i've got here! (Atleast considering the time to read this post)

I have two hard drives of 40 gbs each on my system.
I've got ubuntu feisty on my hard disk no.2. In order to use a part of my 1st hard disk,i mounted 20 gigs of hard disk 1 onto /opt during ubuntu installation.

So,last night,i installed RHEL 4 on the remaining 20 gigs left on my 1st hard disk.During installation,it failed to recognise the entire second hard disk which had ubuntu(dunno why!!).
Anyways i installed it on the remaining 20 gigs by splitting them as:
/boot 100 mb
/ Approx 19.9 gb(i.e. remaining)
As i feared using the grub which comes with red hat,i selected the option of not installing RHEL grub (As it had failed to see my hdb containing ubuntu during setup).
Now my hard disk partitions looks like:
Hard Drive 1:
HP Diagnostics 30 mb(Cant remove that!)
/ 19 gb
/boot 100 mb
/opt 20 gb(that is /opt in ubuntu)

Hard Drive 2: (ubuntu)
/boot 100 mb
/ 39.9 gb

Then after installation,i edited grub menu.lst in ubuntu as follows:
(The kernel basically in my case is the uuid of the /boot partition of RHEL which i found)

title Red Hat RHEL
root (hd0,2)
kernel /vmlinuz-2.6.9-5.EL root=UUID=d83c184c-1652-419b-a4da-665cbe8b0784 ro quiet splash vga=791
initrd /initrd-2.6.9-5.EL.img

Then came the terror when things stopped moving beyond! I can boot into ubuntu fine.
but whenever i select the rhel at boot,it gives me the following error,and then i've to reboot again:

audit(1193581007.952:0): initialized
Red Hat nash version 4.1.18 starting
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to root
switchroot: mount failed: 22
umount /intrd/dev failed: 2
Kernel panic -not syncing:Attempted to kill init!

Now i also placed links to intrd and vmlinuz in the /boot to the / of RHEL by mounting them using ubuntu to make sure that it finds the path.In fact i've tried a lot of permutations with my grub,but each time i get this exact error.
So,basically i cant get into Red Hat Enterprise Linux.
So,can anyone give any ideas here? I think if someone can figure out what exactly this error message means,then probably i can see some light!
Old 11-04-2007, 11:54 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Install the RHEL grub to the /boot partition of the first hard drive;

grub-install --recheck /dev/hda3 <<--use fdisk -l to be sure

Edit the Ubuntu grub bootloader to 'chain load' the RHEL grub bootloader, example;

title RHEL
map (hd0,0) (hd0,2)
map (hd0,2) (hd0,0)
setup (hd0)
rootnoverify (hd0,2)
chainloader +1


boot, dual, ubuntu

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot problem Ubuntu on Dual Boot Mickey1 Ubuntu 3 01-29-2006 09:14 AM
Dual boot problem (Ubuntu and mepis) lightcastle Linux - Newbie 7 12-04-2005 05:02 AM
Problem with Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 4 09-08-2005 08:27 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
XP PRO and Ubuntu Dual Boot Problem kamikazejustin Linux - Newbie 2 04-27-2005 10:13 AM > Forums > Linux Forums > Linux - General

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration