So I wanted to install Ubuntu 9.10 and see how it “fails to” perform on my hard disk [as previously I tested he RCs in vbox within Arch]. Ubuntu boots up quite slow. At first a white ubuntu orb like logo appears and then the xsplash kicks in and after a while login screen comes and then it takes you to your desktop. However, the shutdown and reboot are way faster than any others’ I have seen. Just click and bam you are out of ubuntu. Anyway, I had Arch and Windows pre-installed on my hard disk and I just wanted to install ubuntu in a spare partition I had. Here is the partitioning scheme:

df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              28G   19G  8.1G  70% /            <—–Arch’s Root
none                 1005M  140K 1004M   1% /dev
none                 1005M     0 1005M   0% /dev/shm
/dev/sda5             7.4G  3.1G  4.0G  44% /pkg
/dev/sda1             9.4G  5.9G  3.5G  64% /windows
/dev/sda2             9.2G  3.2G  5.6G  37% /ubuntu
/dev/sda6   swap        <——– Common swap of 2Gb for both Arch and ubuntu

So I burnt the Ubuntu 9.10 amd64 [64bit version] ISO in a DVD-RW and boot my pc from it. When the partition option comes be careful not to select anything other than the partition you want to select ubuntu on and the swap will auto-detected. Now after entering the details and everything the final overview of the installation process will appear. Click on “Advanced” tab below and deselect “install grub” option. That’s right make sure that Ubuntu doesn’t install it’s grub on your hard disk. It’s useless. I find Arch’s Grub2 much more customizable, easy to apply custom backgrounds and icons,etc. So let ubuntu install without letting it install grub anywhere. Now after all’s done reboot your computer and go to Arch. Modify the /boot/grub/grub.cfg


Here is my modified grub menu:

####################
###BEGIN MENU###

set timeout=60
set default=”0″
set fallback=”1″

# Entry 0 – Arch Linux
menuentry “Arch Linux” –class “arch” {
set root=(hd0,3)
linux /boot/vmlinuz26 root=/dev/sda3 ro quiet splash vga=792
initrd /boot/kernel26.img
}

# Entry 1 – Arch Linux (Fallback)
menuentry “Arch Linux Fallback” –class “arch” {
set root=(hd0,3)
linux /boot/vmlinuz26 root=/dev/sda3 ro 3
initrd /boot/kernel26-fallback.img
}

# Entry 2 – Ubuntu Linux
menuentry “Ubuntu” –class “ubuntu” {
set root=(hd0,2)
linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda2 ro  quiet splash vga792
initrd  /boot/initrd.img-2.6.31-14-generic
}

## Entry 3 – Windows XP
menuentry “Windows XP” –class “windows” {
set root=(hd0,1)
chainloader +1
}

####  END MENU  ####
####################

I chose to display my full menu block so that you get an idea of what’s going on and accordingly fix your grub. My ubuntu is on /dev/sda2 so you should modify yours according to where you installed ubuntu.

That’s it, reboot and select ubuntu from the menu list.

Advertisements