LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-04-2011, 06:45 AM   #1
Soji Antony
Member
 
Registered: Jul 2010
Posts: 54

Rep: Reputation: 1
Linux Dual Boot


Hi

I am trying to install a dualboot system( Just for understanding how that works) with RHEL 5.4 on sda1 & RHEL 5.1 on sda3.
This is my fdisk -l out put.
Code:
/dev/sda1     1    765   6144831  83  Linux
     /dev/sda2     766  1020  2048287+ 82  Swap
    /dev/sda3  *  1021 2088  8578710  83 Linux
First I have installed rhel 5.4 on sda1. Then executed "grub-install /dev/sda1" command to install grub on vbr[Volume boot record] of sda1 so that I can chainload it later. Then installed rhel 5.1 on sda 3 & edited grub.conf with following entries.

title Rhel 5.4
root (hd0,0)
chainloader +1

But when try to load rhel 5.4 from grub menu I am getting the following error
"
Booting 'RHEL 5.4'
root (hd0,0)
Filesystem type is ext2fs , partition type is 0x83
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue ...
"
Please tell me what I am doing wrong ... Thanks in advance ..
 
Old 03-04-2011, 06:56 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Why, there is very little difference in file systems, it's just the bling that has changed.

I could see a reason to dual boot a redhat and a debian or winxp, but otherwise I can't see why, unless you are looking after an older system and require upgrading.

Otherwise it's a waste, mysql and php and apache have not changed much, file systems have not changed much, exfs4 is faster than exfs3, I can assure you of that.

I think you have a dep hell error, the Operating system expects ext2fs but you need ext3/4 to keep up-to-date

I could be dreaming....

cheers Glenn
 
Old 03-04-2011, 09:12 AM   #3
Soji Antony
Member
 
Registered: Jul 2010
Posts: 54

Original Poster
Rep: Reputation: 1
I have tried Ubuntu Instead of rhel 5.4 ie installed Ubuntu first and then rhel 5.1 ... Then also I am getting the same error ... is there anything wrong with grub.conf entries ....
title Ubuntu
root (hd0,0)
chainloader +1

#####################################################

Actually , I just want to know how this chain loading Works... & I had only Rhel 5.1 & 5.4 cds with me , thats why I tried that ... Is it really necessary to install grub to vbr[voume boot record] for chainloading? [ grub-install /dev/sda1]... Hope you understand ...

Last edited by Soji Antony; 03-04-2011 at 09:51 AM.
 
Old 03-04-2011, 09:03 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Smile

I'm not sure either.

I wonder what fstab contains.

Code:
cat /etc/fstab

1 more point, maybe install the older Linux first, then install the newer one.

Regards Glenn

---------- Post added 05-03-11 at 12:03 ----------

I'm not sure either.

I wonder what fstab contains.

Code:
cat /etc/fstab

1 more point, maybe install the older Linux first, then install the newer one.

Regards Glenn
 
Old 03-13-2011, 09:55 AM   #5
Soji Antony
Member
 
Registered: Jul 2010
Posts: 54

Original Poster
Rep: Reputation: 1
Now its working ...

This is how I proceed ...

First boot into RHEL 5.4 rescue mode using boot cd and installed grub into VBR of /dev/sda1

#grub-install /dev/sda1

After that modified grub.conf entries as

title Rhel 5.4
rootnoverify (hd0,0)
chainloader +1

And finally its working ....

Hi GlennsPref ... thank you so much for posting ...
 
Old 03-14-2011, 04:39 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi,

Just reviewing what I have said here and There are some glaring omissions!

Many of the packages I mentioned above have been upgraded. Security wise, especially including MySql and Apache.

All the best, regards Glenn

[edit]
I may have been off target, but I do try to find an angle no-one has mentioned (A+ Cert)
[/edit]

pss. Hardware is prominent in my mind, I leave the programming to those who have the Talent!

Last edited by GlennsPref; 03-14-2011 at 04:44 AM. Reason: edit A+ Cert
 
  


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 Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 05:18 PM
Dual linux boot and dual windows boot together? Stuart36 Linux - General 8 05-02-2007 12:53 AM
Installing dual Boot 98/Linux - WONT 'LILO' Dual Boot !? L1nux3d Linux - Laptop and Netbook 15 02-11-2006 06:36 AM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 06:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 11:11 AM


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