?
Solved

Dual BOOT Linux 3 and 4

Posted on 2006-06-20
5
Medium Priority
?
216 Views
Last Modified: 2013-12-15
i want to know how to dula boot REDHAT ENTERPRISE LINUX 3.0 and 4.0 ?
0
Comment
Question by:swapan2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 96

Accepted Solution

by:
Lee W, MVP earned 200 total points
ID: 16948701
Why do you want to - the key part of linux is the kernel - you can install different kernels and modify your boot loader (lilo or grub) to boot either one.
0
 
LVL 5

Expert Comment

by:kyle_in_taiwan
ID: 17381480
If you've got RHEL3 on partition /dev/hda2 and RHEL4 on /dev/hdb2, then you need to edit your /boot/grub/grub.conf file like this:


# 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,0)
#          kernel /vmlinuz-version ro root=/dev/hda5
#          initrd /initrd-version.img
#boot=/dev/hda
default linux
timeout 10
color green/black light-gray/blue

# section to load RHEL3
title RHEL 3
root (hd0,1)                                      //  /dev/hda = (hd0), so /dev/hda2 = (hd0,1)
kernel /vmlinuz root=/dev/hda2
boot


# section to load RHEL4
title RHEL 4
root (hd1,1)                                         //  /dev/hdb = (hd1), so /dev/hdb2 = (hd1,1)
kernel /vmlinuz root=/dev/hdb2
boot





Now all this depends on how you have your partitions set up.  If you've got your root files on /dev/hda2 and your /boot files are on /dev/hda3, then you need to change the line that starts "kernel" like this:

# section to load RHEL3
title RHEL 3
root (hd0,1)                                      //  /dev/hda = (hd0), so /dev/hda2 = (hd0,1)
kernel /vmlinuz root=/dev/hda3
boot



But basically, you manage this by altering the grub.conf file.  You can find much more detailed information at this site:

http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/ch-grub.html
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question