Installing Ubuntu 12.04
Revision as of 11:47, 20 April 2012 by Robnich
This document will guide you through installing Ubuntu 12.04 on your Linode.
Ubuntu 12.04 is, as of the time of this writing, still in beta. You may be able to upgrade your beta installation to the final released version, but there is no guarantee.
- Create an Ubuntu 11.10 Machine, leaving enough space for a disk partition for the 12.04 machine.
- Boot it.
- Install grub:
apt-get install linux-virtual grub
- Into the /boot folder, download the files that are located at http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/netboot/xen/:
- Edit /boot/grub/menu.lst. Add the lines (included below) to the top (adding the network settings that Linode provided for your host).
- Create a disk partition for the 12.04 installation.
- Create a new profile named "Ubuntu 12.04" that uses PV-GRUB as the kernel and adds the 12.04 disk partition (as xvdc for instance).
- Reboot to the "Ubuntu 12.04" profile.
- Go through the installation process.
- For partitioning, choose to use xvdc (assuming that's the partition you added above) and mount it as the root drive.
- Do not choose to install Grub on the MBR. Next, when asked which partition to install Grub, enter /dev/xvdc (since input is required).
- Change the "Ubuntu 12.04" profile to use the Linux 3.0 kernel provided by Linode. You can change the partition list to remove the original 11.10 partition and move your 12.04 partition to xvda.
timeout 5 default 0 title Install 12.04 root (hd0) kernel /boot/vmlinuz textmode=1 addswap=/dev/xvdb install=http://archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/ hostip=[host_ip_address] netmask=[host_netmask] gateway=[host_gateway] nameserver=[host_dns_server] initrd /boot/initrd.gz