Installing Multiple Distributions
Dear friends,
I want to install multiple linux distros into my computer having 40GB harddisk. Can anybody help me with step by step guide. Thank you |
If the hard drive is blank, create a partition for one distro's root, another for another distro's root (etc etc). You can share the /home and swap partitions between distros though I'm not sure how well this works, since I only have one on at a time.
When you install the distro, tell it which partitions to use (most have an option to do this). |
Can you please explain how can i start from scratch ?
|
What are you planning to do?
I've Gentoo as my primary distribution, but also Debian, which I use very often. Yesterday I installed FreeBSD... :D. Are you familiar with Linux? If not I'll recommend you to start with something like Fedora or Mandrake (you can also try Knoppix, but I don't like it very much). The setup programs of these distributions will allow you to partition your harddisk. The only thing you have to do then is to leave some space free, so when you decide to install the second distribution, the setup program of the second distribution will have some space where to install the system. What Orkie was saying is that, for Linux, you need a "SWAP" partition, that the system uses to simulate RAM memory if necessary. Well, if you have more than one distribution, you only need one SWAP partition, because they can use the same, so when you install the second distribution, you can say to the setup program not to create a new one, but to use the existing partition. Same applies to the "/home" partition, where the users' files are stored. Unless you want your distributions to be completely independent, you can make them to share this partition, so the same users (with their documents) will exist in both. For instance, I've a 40Gb HD also. If I run fdisk I get: Code:
Disk /dev/hda: 40.0 GB, 40060403712 bytes /dev/hda2 is the swap partition. /dev/hda3 is an extended partition: for i386 you cannot have more than 4 partitions, but one of them can be "extended". Inside an extended partition you can create "logical" partitions. Those are /dev/hda5 (where my /home partition is) and /dev/hda6 (my Debian partition). Finally, /dev/hda4 contains FreeBSD. I hope this helps you... |
Thank you very much.
This is sufficient for me to start the game of magic partions..! Once again thanx... |
I installed multiple distros in my pc,the problem is when the system boot up the first installed distros were gone...what should i do?
|
@suresh*: For what it's worth here's my partitioning scheme:
Code:
Frank2:~# fdisk -l sda2: /boot 500Mb sda3: /data ~30Gb #shared (fstab entry in each distro to mount at /data) sda5: / Debian Lenny ~55Gb #my primary OS, gnome DE sda6 / Arch ~30Gb #still under construction , xfce DE sda7: / Slackware64 13.0 ~30Gb #KDE sda8, sda9, sda10: ~15Gb each formatted as ext3 #used for test runs I also use vbox quite a bit, it's great for experiments. |
Quote:
A better solution is to use a separate partition, i.e.:/data. You can store your documents, pictures, music, etc. there. What I ended up doing was to create a partition of ext3 called /common. Then created sub-directories /Documents, /Pictures, /Music... and made symlinks in /home/tom to those directories. The data is shared with different distros and the user settings (stored in /home/tom) aren't clobbered between distros. |
I agree, sharing /home is a BAD idea. Sharing a partition for data is the way to go.
|
I'll also add that while I never had a problem sharing a swap space on a desktop, I've run into some oddities sharing swap on a laptop that uses that space during hibernate/suspend ........I think it's just hibernate.........all the same when I've been in powersave and the battery died from one distro, and then the same happened with the other distro, when I booted back into the original I got a number of errors.
Also when I'm just trying out distros, I no longer use multiple partitions for a single distro. It just gets too messy. I usually end up formatting one distro and using it's partition for the remaining install. I always keep a seperate data partition that is mounted in all distros as /mnt/data. |
Maybe you could try installing a single distribution of linux and then install VirtualBox on it. That way you can try out as many distributions as you want without having to partition your hard disk each time.
|
Quote:
Sharing directories for documents & downloads is a good idea however. You want your UID to be the same across each distro to share common directories. |
All times are GMT -5. The time now is 07:25 AM. |