LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-12-2007, 11:53 AM   #1
ericthefish
LQ Newbie
 
Registered: Aug 2007
Distribution: Ubuntu 7.10 / 8.04
Posts: 19

Rep: Reputation: 0
What's a good way to set up partitions for multiple Linux distros?


hello again! i'm new to Linux, and to be honest to partitions as well, since i've sort of let Win2k and WinXP do their own thing during setup. but since there's so many Linux distros around, i'd like to try a few of them out, which means i should probably have a separate partition for each OS, right?

i've looked at a bunch of distributions, and i think i'll install a few on the laptop - Ubuntu, Mandriva, Gentoo, and maybe Slackware - and keep them "bone stock" until i get a handle on things. i'm also fed up enough with WinXP on the desktop box that once the laptop is set up and running smoothly with Linux, i'll put a few distros on there as well (same as laptop, plus Fedora and FreeBSD). ok, a lot of OSes, i admit, and i might not install all of them at once, but i'd like to at least prepare the hard drives ahead of time so that i can install the others in the coming weeks / months.

to that end - i have no idea how to best set up the partitions. on the laptop, i only have one drive, so OSes and data are all going to be on the same physical drive, which raises a bunch of questions:

1 - is there a limit to the number of partitions and MBR entries that a hard drive will take? i'm only running Linux, and no more MSWindows of any kind (if that makes a difference).

2 - how many partitions would i need to set up for each OS, and how big should they be? are there any partitions that can safely be shared by the multiple OSes, like the swap space? i assume that my data partition (drive in the case of the desktop PC), full of documents and tunes and whatnot, is shared and recognized by whichever OS is running at the time.

3 - if i want to make OS upgrades easy in the future so that i minimize the amount of other stuff i need to backup, are there special partitioning tricks that i should do up front?

4 - the laptop has a built-in card reader, and my desktop has a 1.44M floppy drive (!!!) - and of course both have USB ports. is there any way of leveraging those to make booting or picking an OS during boot easier? if they'll cause more trouble than it's worth, that's cool, but they're available if it helps.

i'm mostly a newbie on these things, but that's cuz i never bothered to do any of that in the MSWin realm. i should be able to get myself up to speed soon enough, though!
 
Old 08-12-2007, 12:34 PM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
We do a similar installation for testing distributions. What we do, is create a master boot installation on a 5g partition, then the swap partition, followed by the /home partition. Then, each distro gets ~10g extended partition to install on. Each distro uses grub for the boot loader, with grub installed on that distro's partition. Then the distro is added to the grub menu on the master boot partition as a chainloader image. Windows can also be added to the master partition boot loader, but you'll need a live cd to repair the master boot record of the drive (Windows doesn't play well with others).
 
Old 08-12-2007, 12:44 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,805

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
It would be better for you if you downloaded a few liveCD or liveDVD distros to try. Burn them to cd/dvd, then reboot with one in the drive. You get to try it out without installing anything.

Since you have a diskette drive, you can set up your preferences for any of the liveCD/DVD and save the settings to diskette. You would either have to take the diskette out of the boot order (BIOS) or wait until the cd starts to boot before putting the diskette in the drive.

That way you have all the time in the world to learn about the distros you have on CD/DVD.

In answer to your questions:
1) 4 partitions max on a disk. There is a workaround that allows more partitions (I don't remember the limit but it's more that most folks need). Create 1 primary partition large enough for a distro, with 1 swap partition (which all distros can use). The remainder of the disk: create an extended partition. You can then create logical partitions inside the extended partition.

2) Each distro needs a minimun of two partitions: root partition and swap. But, one swap can serve all distros since you boot only one at a time. If you intend to have a data partition to hold personal files, you need a partiiton large enough to hold the distro you install, plus a gig or two to grow as you install software to try out. For the data partition to work for all OSs, you would probably have to make it fat32 so that windows and Linux can use it. Otherwise, make a data partition for windows, and a seperate one for Linux.

3) Keeping you data files seperate from the OS partition probably takes care of that.

4) You would have to do some research via www.google.com/linux. People have varying success with the card reader thing (probably related to the skill level of the user, but possibly hardware related as well). You can put the bootloader on diskette or cd, but I personally don't see how that's an advantage except to have a backup way to boot in the event something breaks.

Those are my opions. Other, more knowledgeable folk will probably offer better advice.
 
  


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 Distros of Linux on HD pepperwood Linux - Software 1 03-24-2006 08:19 PM
problem viewing multiple FC4 partitions from other distros (and Windows) thanto_ Fedora 5 02-14-2006 10:11 PM
Dual-booting two Linux distros - partitions vasudevadas Linux - General 5 11-26-2003 07:11 AM
Partitions and Multiple Distros AlThor880 Linux - Newbie 13 10-25-2003 11:24 AM
Can multiple linux distros use the same partitions? TheOneAndOnlySM Linux - Newbie 18 07-22-2003 02:08 PM


All times are GMT -5. The time now is 02:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration