LinuxQuestions.org
Help answer threads with 0 replies.
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 03-11-2005, 04:24 AM   #1
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Rep: Reputation: 30
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
 
Old 03-11-2005, 04:34 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
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.
 
Old 03-11-2005, 04:39 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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.
 
Old 03-11-2005, 04:46 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
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.
 
Old 03-11-2005, 02:28 PM   #5
Echo Kilo
Member
 
Registered: Jul 2004
Distribution: Ubuntu - Debian Based
Posts: 242

Original Poster
Rep: Reputation: 30
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.
 
Old 03-11-2005, 03:57 PM   #6
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
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.
 
  


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
How to split a 9 Gig folder in 2x4.5 Gig folders jayhel Slackware 5 08-19-2005 12:36 AM
The Debian install thinks my 60 gig drive is a 33 gig drive! Nebetsu Debian 13 06-04-2005 01:41 AM
What distros will install under 1 gig? Javahulk Linux - General 7 03-19-2005 11:59 AM
Installing a new PATA 250 Gig drive on Slackware onyxbird Slackware 12 08-27-2004 05:29 PM
Why my 80 gig hard drive only shows 70 gig? dsuratman Linux - Newbie 3 11-20-2003 12:54 AM


All times are GMT -5. The time now is 04:54 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