LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 10-18-2003, 05:04 PM   #1
jaydwire2
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Question Multiple Linux Distributions


I would like to setup a 160GB Hardrive with multiple OS's. I currently can get Windows and one other Linux distribution installed, but not another one. My plan is to have 15GB dedicated to Windows 2003, 40GB to Red Hat v9, 40GB to Madrake v9.1, 40GB to Suse and the rest for Solaris 9 intel addition. I am doing this so that I can test out all the major distributions and find which one I like most. Can I do this? I first partioned 15GB of my hardrive and then installed Windows. Next I installed Red Hat manually partitioning as /boot 115MB, /swap as 500MB, and / as 39GB. I selected LILO as the boot loader because GRUB failed to startup every time. I placed the boot loader on MRB (is this correct or should it be the first partition?). I then followed up this install with Mandrake by partitioning / as 39GB and putting the 115MB /boot partition on both the MRB and then the first partition when both options failed. Mandrake said that it would format the current /swap partition and I guess reuse it. Ultimately, my question is how do I install multiple versions of Linux on one hardrive. Also, is my partitioning scheme correct? Thank you for your help.
 
Old 10-18-2003, 05:20 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,872

Rep: Reputation: 88
The trick to installing multiple OSs is understanding what types of partitions each needs and what is physically possible.
Although I have read and been told otherwise, Windows seems to want a primary partition. I believe Solaris x86 needs a primary partition. Linux on the other hand is perfectly happy with an extended partition.
A hard drive can have up to 4 primary partitions, one of which can be an extended partition. If you are wanting to use extended partitoins you then have 3 primary partitions available. My suggestion is to use the primary partitions for Windows and Solaris, and then create some extended partitions for your Linux distributions. I find it is much easier to install multiple Linux distros if you keep it simple by sharing a swap and installing each Linux distro to one partition rather than breaking it up into /boot, /var, home, /, etc.
Good Luck
 
Old 10-18-2003, 05:38 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
you don't really need a separate /boot partition unless you have a common /boot partition for all distros. It makes more sense to separate / from /home. You might also have a common data partiton that different distros can access (say for multimedia data and stuff). If you make the data partition(s) fat32, you can also access it from XP w/o problems. Mandrake itself can be installed on less than 6GB I would think and probably the same for the others.

The bit tricky part is the boot loader. Here is the relevant part of my lilo.conf:
Code:
image=/boot/vmlinuz-2.4.21-0.25mdkcustom
        label=linux
        root=/dev/hda6
        read-only
        optional
        vga=normal
        append="quiet devfs=mount hdc=ide-scsi apm=on acpi=off"
image=/KNX/boot/vmlinuz
        label=Knoppix
        root=/dev/hda14
        append="devfs=mount hdc=ide-scsi acpi=off"
image=/SLACK/boot/vmlinuz-ide-2.4.22
        label=Slack
        root=/dev/hda13
        append="devfs=mount hdc=ide-scsi acpi=off"
        read-only
other=/dev/hda1
        label="windows"
        table=/dev/hda
As you can tell, I have three different distros installed and I have entries for it in lilo.conf. The lilo.conf itself is in Mandrake's /etc. You need to create mountpoints for the / partitions of each distro (or the /boot partitions, if you have separate /boot partitions) so that lilo can find the kernel (and if necessary the initrd.img) for each distro. You must also specify which partition is the root partition. After setting up lilo.conf, you must run lilo by
lilo -v
 
Old 10-20-2003, 03:28 PM   #4
acjt
Member
 
Registered: Dec 2002
Location: Australia
Distribution: Gentoo
Posts: 161

Rep: Reputation: 30
Quote:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda8 2682732 732336 1950396 28% /
/dev/hda9 13919856 9191964 4727892 67% /usr
/dev/hda10 9767184 1553976 8213208 16% /home
/dev/hda11 1710828 843824 867004 50% /var
/dev/hda12 2931732 1184388 1747344 41% /opt
/dev/hda14 6835408 4599048 2236360 68% /usr/portage
/dev/hda15 4714896 3090012 1624884 66% /home/other
/dev/hda5 10231392 255784 9975608 3% /windows/d
none 516548 0 516548 0% /dev/shm
I have a spare partition: /dev/hda13 9767184 2575928 7191256 27% SPARE PARTITION - that I want to install another distribution on, such as redhat say.
Do you think you could give an explaination of how I would go about this? I've read the post, but just need to fill in a bit more detail.
Thanks.
 
  


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
Installing Multiple Distributions sureshkellemane Linux - Newbie 11 04-26-2010 05:00 AM
How to install multiple linux distributions on a computer orpolo Linux - General 17 12-25-2006 01:07 AM
GRUB boot loader and installing multiple distributions on one computer juyce Linux - General 3 06-27-2005 07:13 PM
Multiple linux-distributions, risk for interferences? BORTKOMMEN Linux - General 2 04-27-2005 05:43 AM
Are multiple distributions on the same partition possible? khurdp Linux - Distributions 6 02-06-2005 05:00 PM


All times are GMT -5. The time now is 07:47 PM.

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