LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-06-2005, 01:16 PM   #1
rbh123
LQ Newbie
 
Registered: May 2005
Distribution: Redhat
Posts: 25

Rep: Reputation: 15
How to-Installing multiple linux distros on single hard disk


hi ,

i want to install multiple linux distros(say Redhat5 ,Redhat 6 etc minimum of two distros) on a single hard disk, how do i do it. how should the partition be done during the installation of second distro.
 
Old 05-06-2005, 01:21 PM   #2
Raafi
Member
 
Registered: Dec 2004
Location: New Jersey
Distribution: Fedora Core 18
Posts: 82

Rep: Reputation: 15
i would so a search for "dual-boot" on this forum and check out the posts that come up
 
Old 05-06-2005, 03:10 PM   #3
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 30
I'm no expert, but I would start by creating partitions for the first distro

/boot
/root
/home
/swap

please note, that you can share the /home and /swap between both distros. proceed to install the first distro, in your case redhat5 and allow grub to be installed during installation. then create another /root & /boot partition for redhat6 and install it but dont allow grub to be installed. after all the installation is done, boot into redhat5 and edit your grub.conf file to add the info(i.e. kernel, title, etc) for redhat6 so you can have a menu of both distros at boot. you will have to do some research on how to do that, since i havent been able to do it myself. i read in a thread that another way is to simply install redhat5, copy all the info contained in your grub.conf file. then install redhat6 and allow grub to be installed. then simply add the info your copied from redhat5 to newly created grub.conf file from redhat6. hope this helps.
 
Old 08-01-2005, 10:18 AM   #4
beebelo
Member
 
Registered: Mar 2005
Location: USA
Distribution: Ubuntu Studio 13.1, Debian Stable (Wheezy)
Posts: 68

Rep: Reputation: 15
Quote:
Originally posted by snakeo2
i read in a thread that another way is to simply install redhat5, copy all the info contained in your grub.conf file. then install redhat6 and allow grub to be installed. then simply add the info your copied from redhat5 to newly created grub.conf file from redhat6. hope this helps.
Could anyone confirm or deny the above -- is one way better than the other?
I'm planning to re-install Suse 9.2 in addition to my existing Slackware 10.1. Last time I attempted a multiple-distro install, I hosed it up and ended up starting over with Slackware only. (I love Slack, but still have a long way to go on the learning curve...)

I also intend to use the same /home and /swap partitions for the two distros. Any advice or references much appreciated.

Thanks.
 
Old 08-01-2005, 10:40 AM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
search for "multi-boot" in this forum and yeah. You'll find a lot. Umm... I've done this, and a tip: make all the partitions intended for root partions as extended. use advanced install as well.

titanium_geek
 
Old 08-01-2005, 02:39 PM   #6
beebelo
Member
 
Registered: Mar 2005
Location: USA
Distribution: Ubuntu Studio 13.1, Debian Stable (Wheezy)
Posts: 68

Rep: Reputation: 15
Thanks for the tip, titanium_geek. Yes, I searched on "multiboot" and similar words, but didn't find a consensus 'best practice' (for installing multiple distros on a Windows/Linux system).

Here are some specifics about my system:
AMD Sempron 2800+ with 1024MB memory

hda (120GB):
Windows 2K on the first primary partition
Slackware 10.1 (except /home and /swap)
LILO in the mbr

hdb (80GB):
Linux /swap on extended partition
Windows swap extended partition (yes, I borrowed the idea from Linux)
Slackware /home on extended partition
FAT32 and NTFS extended partitions for Windows data
(Acronis automatically created a small primary partition on this drive, since I didn't create one, but I'm not using it.)

Basically I am just being cautious here, so that I don't create more work (or trouble) than necessary.

Thanks
 
Old 08-01-2005, 05:45 PM   #7
kbusche
LQ Newbie
 
Registered: Sep 2003
Location: Vancouver BC Canada
Distribution: ubuntu 8.10
Posts: 9

Rep: Reputation: 0
multiple distros on one HD

re: multiple distros on one disk


have a look at hentzenwerke.com

no guarantees but explicit examples of putting multiple distros on one hd.

much related info.



- enjoy
 
Old 08-04-2005, 09:46 AM   #8
beebelo
Member
 
Registered: Mar 2005
Location: USA
Distribution: Ubuntu Studio 13.1, Debian Stable (Wheezy)
Posts: 68

Rep: Reputation: 15
(???) Hentzenwerke.com is a commercial book-selling site.

Anyway, on second thought .... I was going to install a another distro because of some issues with Slackware that didn't happen with Suse. But I came to my senses and decided to find the answers on my own. When I do get around to installing a second distro, the one I'd really like to try is Gentoo, or possiblly LFS (Linux From Scratch).
 
Old 08-04-2005, 01:13 PM   #9
kbusche
LQ Newbie
 
Registered: Sep 2003
Location: Vancouver BC Canada
Distribution: ubuntu 8.10
Posts: 9

Rep: Reputation: 0
multiple distros

beebelow:

well, beyond their commercial bookselling, they have free, useful pages, one is:
" installingmultiplelinuxdistributions_onasinglebox.pdf " as one of many free pages, try:
http://www.hentzenwerke.com/wp/insta...asinglebox.pdf

whether Redhat, Debian, Gentoo, or LFS, the "installing multiple ..." will surely help


hope it helps
 
Old 08-04-2005, 02:14 PM   #10
hpladd
Member
 
Registered: Feb 2003
Distribution: Kubuntu
Posts: 142

Rep: Reputation: 15
I have a system running both Debian and Red Hat 9.

My methods are crude... but effective.

I placed three partitions on the hard drive:

Code:
  Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       450   3614593+  83  Linux
/dev/hda2          1060      1106    377527+  82  Linux swap
/dev/hda3           451      1059   4891792+  83  Linux
Note: only one swap partition.

I installed Redhat on hda1 and Debian onto hda3.

Note: I installed both of the distributions with their boot managers. But the computer only uses the lilo (and I guessing the mbr) of hda1 because it is the "boot" device.

My etc/lilo.conf is below:

Code:
prompt
timeout=50
default=Debian
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear
vga=2
                                                                                
image=/boot/vmlinuz-2.4.20-8
        label=Redhat
        initrd=/boot/initrd-2.4.20-8.img
        read-only
        append="root=LABEL=/1"
image=/boot/deb/vmlinuz-2.4.27-2-386
        label=Debian
        initrd=/boot/deb/initrd.img-2.4.27-2-386
        read-only
Hope this helps!
 
Old 08-04-2005, 02:17 PM   #11
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Hello all,
i had XP and redhat 9 on my machine....
now i was trying to install slackware10.1 too on this machine.......i.e more that 1 distro of linux on the same machine......
Has installed the lilo of slackware on MBR.so right now i don't have access to redhat
........
the problem is with the graphics of slackware.
..........
by default init is '3'
so from the console when i'm going to the graphical mode through "startx"
....the graphics are not working normally....
i mean......i can just see the images but no text......
i.e if i'm right clicking the mouse, i can see that box and the various pictures but can't see the text.......same is happening if i'm opening 'terminal' or home etc..
....
intially i forgot to install the "tcl" and "xap" packages ........but now i've installed them ...
any sort of help will be appreciated..
regards
 
Old 08-04-2005, 03:50 PM   #12
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
ruudra- this question deserves it's own thread.

multibooting is fun. what I do is (I'll refrain from saying what my partitioning scheme is- it's already been discussed on the forum) keep my slackware (first linux installed) boot disk handy. I don't install a boot manager when installing other distros, and tinker with grub in slackware when I get back in.

titanium_geek
 
Old 08-04-2005, 07:43 PM   #13
beebelo
Member
 
Registered: Mar 2005
Location: USA
Distribution: Ubuntu Studio 13.1, Debian Stable (Wheezy)
Posts: 68

Rep: Reputation: 15
kbusche -- Thanks for posting the exact link.

titanium_geek -- Thanks for posting the *how* of what you do.

> keep my slackware (first linux installed) boot disk handy.
> I don't install a boot manager when installing other distros,
> and tinker with grub in slackware when I get back in.

I forgot about the Slackware boot disk. DOHHHH!

> (I'll refrain from saying what my partitioning scheme is- it's
> already been discussed on the forum)

Sometimes I don't find things when searching the forum because there are so many results to look at...

Thank you,
beeb
 
Old 08-04-2005, 08:34 PM   #14
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
my partitioning threads:
http://www.linuxquestions.org/questi...hreadid=334307
http://www.linuxquestions.org/questi...hreadid=334760

sorry for being gruff- I thought they were quite recent, but I had to dig for them...

titanium_geek
 
Old 08-04-2005, 09:55 PM   #15
beebelo
Member
 
Registered: Mar 2005
Location: USA
Distribution: Ubuntu Studio 13.1, Debian Stable (Wheezy)
Posts: 68

Rep: Reputation: 15
Oh, I didn't think you were gruff. I was just explaining because I didn't want you think I'm clueless!

Thanks for the links!
 
  


Reply

Tags
distros, install, multiple


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
How to have multiple Linux distros on a hard drive? Micro420 Linux - General 9 10-03-2005 08:18 PM
multiple booting two hard drives with linux distros slim case Linux - Newbie 3 07-04-2005 09:02 PM
Help with multiboot of several linux distros on 1 hard disk Thomas Anderson Linux - Newbie 3 12-01-2004 04:36 AM
Installing on a linux on a small hard drive...which distros can/should I use? CaptainRandom Linux - Distributions 3 05-15-2004 05:56 PM
Multiple Linux distros on 2nd hard drive? frija Linux - Newbie 2 04-22-2004 11:32 PM


All times are GMT -5. The time now is 03:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration