LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-18-2006, 04:07 PM   #1
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Installing 2 Linux OS's on 2 hard drives


hda = Red Hat. Already installed and using it
hdb = Ubuntu. Not installed yet and would like to install it and make it my main OS

if I install Ubuntu, will it set up my GRUB correctly and still let me dual boot into Red Hat? Is this safe?

Or should I physically disconnect hda, install Ubuntu on hdb, reconnect hda (set as slave), and manually set up GRUB on Ubuntu to identify hda (Red Hat)?

Does this make sense?
 
Old 08-18-2006, 04:11 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
I would do your second option. I believe that makes the most sense. I have a similar setup but I have Windows XP on a separate drive and it works perfectly fine.

You still have a few options:
1.) If you have grub installed on HDA just add an entry for Ubuntu there.
2.) If you have grub installed on HDB copy the entry for Red Hat and put it in the grub.conf for HDB.

I would recommend option 1.) I'm sure you can find grub entries for Ubuntu around and the only thing you would have to change should be the drive reference. Hope this helps.
 
Old 08-18-2006, 04:15 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I've installed several (up to six at one time) distros simultaneously across two drives. I've never disconnected and reconnected things to do it. I always skipped the bootloader installation step and manually added them to my menu.lst.
 
Old 08-18-2006, 04:34 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thanks for your advice. Is it easy to edit the bootloader options and edit GRUB? I don't know anything about it. It's straightforward?

What if, worst case scenario, Ubuntu wipes out my GRUB and only shows Ubuntu. Can I manually edit GRUB back and point it towards RedHat? I suppose that's why I should back up my current RedHat grub.conf file?
 
Old 08-18-2006, 05:02 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Yeah, backup fer sure. Menu.lst/grub.conf is, of course, a text file and can be edited in your favorite editor as root. Here is a link to a sample multi-boot Linux only menu.lst. And here is a link to the GRUB manual.
 
Old 08-18-2006, 06:09 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Original Poster
Rep: Reputation: 45
Thanks for the examples! That will come in really handy
 
Old 08-18-2006, 10:41 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Ubuntu should have no problems detecting Redhat. From memory, during the boot loader config step of the installation, it gives a list of operating systems that it detected, and asks you if its OK to install GRUB to the MBR. If Redhat is listed, then just click OK.

If Redhat is not detected (but it should be), choose to skip boot loader installation, and add an entry for Ubuntu in the Redhat grub config file. (/boot/grub/menu.lst).

There really is no need to disconnect hard drives whenever you install another OS - its just extra, unnecessary work. Also, diconnecting the hdd with Redhat means that Ubuntu will have no chance of detecting it.

Ubuntu should even automatically mount your Redhat drive, and put an icon on your desktop for you.

I hope this helps
--Ian

PS: Back all your important files up before you do anything

Last edited by IBall; 08-18-2006 at 10:43 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Linux on PC W/ WinXP and 2 Hard Drives Candyman4y Linux - Newbie 4 06-13-2005 07:17 PM
Installing on two hard drives Micro420 Debian 3 11-03-2004 11:16 AM
Two Hard Drives How many OS's??? bennett.david Linux - General 6 07-11-2004 08:25 AM
installing slackware with two hard drives jonnyfive Linux - Newbie 6 09-23-2003 09:22 AM
three OS's on two drives? raj_mach9 Linux - Software 3 02-21-2003 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:44 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
Open Source Consulting | Domain Registration