Saturday, May 28, 2011

Install multiple linux OS on a single PC

Now a days there are so many Linux distributions and also each of them has their own speciality. There are many users those who have dual boot OS(two different OS on a single machine). Many of my own friends have fedora/Ubuntu and Windows OS installed.

Today I am going to say about how to install fedora, Ubuntu, and Windows XP on a same PC.
1: Install XP
2: Install Ubuntu
3: Install fedora.

Note: When you install fedora after the installation of Ubuntu your Ubuntu's grub will be removed and you can't see Ubuntu on the Grub's list.

Now, to get the Ubuntu on the Grub's List follow these Steps:
1. boot with fedora
2. open terminal
$su -

as root type this command.
# fdisk -l

Hint: Check Column "System"
Lets /dev/sda3 partition contains your Ubuntu OS.
3. mount your Ubuntu partition.
# mount /dev/sda3 /mnt
4. Open the grub menu.lst file
# cd /mnt/boot/grub
# gedit menu.lst
Now search for similar lines:


title Ubuntu 8.10, kernel 2.6.30.9
uuid 84c1144f-93ff-4f12-8a6a-90f12f51421c
kernel (hd0,2)/boot/vmlinuz-2.6.30.9 root=UUID=84c1144f-93ff-4f12-8a6a-90f12f51421c ro quiet splash
initrd (hd0,2)/boot/initrd.img-2.6.30.9
quiet

title Ubuntu 8.10, kernel 2.6.30.9 (recovery mode)
uuid 84c1144f-93ff-4f12-8a6a-90f12f51421c
kernel (hd0,2)/boot/vmlinuz-2.6.30.9 root=UUID=84c1144f-93ff-4f12-8a6a-90f12f51421c ro single
initrd (hd0,2)/boot/initrd.img-2.6.30.9

title Ubuntu 8.10, memtest86+
uuid 84c1144f-93ff-4f12-8a6a-90f12f51421c
kernel (hd0,2)/boot/memtest86+.bin
quiet



Copy these lines and paste these inside the fedora's grub menu list file:
# gedit /boot/grub/menu.lst
now restart fedora OS
This time you can see few more options on your Grub's List.

2 comments:

  1. Hi,

    Thanks for the post, but this will not work if GRUB 2 is installed default on Ubuntu.
    Do you also have a solution for this situation?

    tnx.

    ReplyDelete
  2. Printer Technical Support Number
    http://www.printersupportnumbers.com/
    Printersupportnumbers.com is an independent tech support service provider of printer problems for all the third party products mentioned on the website. We are not affiliated with any third party company. Use of third party trademarks, brand names, products & services mention on website is for customer reference only

    ReplyDelete