Wednesday, December 15, 2010

Install multiple OS on single machine

Disk Space: 500G. You want to install Debian 5.0, Ubuntu 10.4, Cent OS 5.5, Fedora 8 on single machine

First: install Debian (it doesn't matter, choose any one of them)
1. create a partition table of current device(current hard disk), type MSDOS
2. start to partition the current device
3. get first partition: size 150G; format ext3 journaling; /dev/sda1. Primary
4. create a swap partition,
5. size usually is same as memory. /dev/sda5 Logically. first four are Primary
6. leave 350G as free space
7. You could choose expert installing settings.
8. remember to install Grub. choose grub 2 or grub legacy


Second install Ubuntu 10.4
1. put Ubuntu CD in CD-ROM
2. Ubuntu live CD should detect the Debian already has been installed on Disk
3. choose advanced partition.
4. partition half of the free space. size: 150; format: ext3 journaling
5. install ubuntu on the partition./dev/sda2
6. Ubuntu will use the same swap partition as debian.
7. Remember to install Grub at /dev/sda.but this grub will not trash previous one. If you boot, this grub will also show previous debian booting option.

Third install Cent OS 5.5
1. same steps. use all the free space.
2. every time you have to mount current partition (you will install OS on it) to /
3. Don't choose to install grub for CentOS. If you installed grub at /dev/sda. Your previous grub will be trashed, then you cannot boot in previous Debian and Ubuntu.

Fourth Install Fedora 8
1. Fedora, Cent OS are red-hat release. The Installation GUI are almost same.
2. Don't Install Grub again. Fedora grub will trash all previous grub. 

Fifth Install Unbutu 10.4 again.
1. Since previous CentOS 5.5 and Fedora 8 grub trashed previous grub.
2. I need to Install Ubuntu again because Ubuntu grub could detect all the Linux on the harddisk.
3. Ubuntu grub is version 1.98. Fedora and CentOS grub are same.
4. Ubunut grub is better than others.
5. red-hat grub will try to find hard disk by itself. For example: if I disable one disk at BIOS. red-hat grub still could possible find that disk, and boot from that one.

No comments: