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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-11-2005, 03:24 AM
|
#1
|
Member
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242
Rep:
|
Installing 3 distros on 80 gig HD
What would you reccomend for HD partitioning 3 distros on a 80 gig HD?
I'd like to try 3 distros, but don't know how to partition it properly. Does the SWAP have to be a primary partition? What about Home?
Can I do it like this:
Distro 1 Kernel - Primary 1
Distro 1 Swap - Extended
Distro 1 /Home - Extended
Distro 2 Kernel - Primary 2
Distro 2 Swap - Extended
Distro 3 Kernel - Primary 3
Distro 3 Swap - Extended
|
|
|
03-11-2005, 03:34 AM
|
#2
|
LQ Veteran
Registered: Sep 2003
Posts: 10,532
|
Hi,
About swap:
You only need one swap partition for all the distro's you install. Swap is a 'scratch partition', which is cleared/cleaned with every boot (not entirely correct, but this will do for now).
Although I have it as a primary partiton, this is not necessary.
I see /home only once in the above example, are you planning to use it for all 3 distro's? If so you need to take some precautions:
- Make sure user/group ID's are the same in all distro's (as you probably know users/groups are represented by numbers and names are looked up according to these numbers).
It would be advisible to place / (or /boot if they are seperate partitions) on primary partitions.
Hope this helps.
|
|
|
03-11-2005, 03:39 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You can use one swap parttion for all your distros. I tend to create one or two primary partitions and an extended partition, because Linux will work fine even if its not installed on a primary partition.
|
|
|
03-11-2005, 03:46 AM
|
#4
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
Make one /boot partition and stick all the kernels in it - in fact, you can have just one kernel for all the distros unless you have a particular need for them to be different.
I find Grub to be a better bootloader than Lilo for multi-distro systems, as its files live on /boot, and it's easy to share /boot with all distros.
|
|
|
03-11-2005, 01:28 PM
|
#5
|
Member
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242
Original Poster
Rep:
|
THanks! So what exactly would the partition table look like If I put each distro's /boot on a primary partition put the swap on the final partition?
I'm not sure how to use one kernel and point all three distro's to the same kernel. That sounds interesting, but maybe over my head.
|
|
|
03-11-2005, 02:57 PM
|
#6
|
Senior Member
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460
Rep:
|
Well, FWIW, this is mine:
Code:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 6 48163+ 83 Linux
/dev/hda2 7 37 249007+ 82 Linux swap / Solaris
/dev/hda3 38 6117 48837600 5 Extended
/dev/hda5 38 645 4883728+ 83 Linux
/dev/hda6 646 1253 4883728+ 83 Linux
/dev/hda7 1254 3685 19535008+ 83 Linux
/dev/hda8 3686 6117 19535008+ 83 Linux
where:
1 is /boot
2 is swap
5 is my Slackware distro
6 is my /home partition
7 is a partition for dumping excess big stuff 
and 8 is my Gentoo install
It's easy to point the distros at the same kernel - it's the bootloader that decides what kernel to use, and if /boot is shared, you just put the same entry for each distro.
|
|
|
All times are GMT -5. The time now is 05:39 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|