Earlier today, Jared blogged about a grub2 bug that can cause Ubuntu 12.04 to fail to boot on certain systems (including some of Dell’s 12G servers). He talked about how to install Ubuntu with the system in BIOS mode, and then change it to UEFI mode after installing a newer version of grub2.
I’d like to mention an another way to get around this bug and install Ubuntu with the system in UEFI mode, as normal, by simply using the older, “legacy” GRUB on a USB key to boot into the Ubuntu installer. Note that this method, too, is not officially supported.
To install Ubuntu Server 12.04 with this workaround, follow these steps:
title Ubuntu 12.04
Note that the same instructions should work with Ubuntu Desktop 12.04, except that the files to be copied from the Ubuntu desktop CD are /casper/vmlinuz and /casper/initrd.lz (instead of /install/vmlinuz and /install/initrd.gz), and the three lines added to the BOOTX64.conf file should look like this (the kernel parameters were just copied from the “Install Ubuntu” boot entry in the file boot/grub/grub.cfg on the Ubuntu CD):
kernel /EFI/BOOT/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash