UEFI IS A PITA

My current workstation

If you follow my blog you’ll remember I made a post sometime back on how I switched from my old Lenovo Thinkpad to another old HP laptop of mine. Well last week, I retired the HP as I got  hold of the well acclaimed Thinkpad X1 carbon(X1C). I have been eyeing this machine for sometime now. It’s a great machine I must admit. It came pre-installed with Windows 8 which was not cool. I played with the spiffy Metro UI for a bit. Liked and quickly got tired of it.

Normally, when I get hold of a new PC, I wipe everything off and install my preferred OS, Ubuntu but this time, I decided to go a different route. Dual boot Windows 8 and Fedora 18. I have researched enough to be convinced that Fedora 18 will run smoothly on the X1C. However, I didn’t read much about dual booting Windows 8 and Fedora 18. I embarked on this route only to hit a hurdle, UEFI is a PITA to deal with. Anacoda, Fedora’s installer, successfully installed Fedora 18 on my SSD. Installed Grub 2, in it usual spot, the MBR…. When I boot the machine, I see the windows entry but fails to boot  all because grub2 doesn’t support UEFI yet. I attempted to fix this by searching online for fixes. Found couple of solutions but none worked for my configuration. I followed the guide here with no success.

Executing

grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

just gave me my final fate. See below.

Generating grub.cfg ...
Found theme: /boot/grub2/themes/system/theme.txt
Found linux image: /boot/vmlinuz-3.9.4-200.fc18.x86_64
Found initrd image: /boot/initramfs-3.9.4-200.fc18.x86_64.img
Found linux image: /boot/vmlinuz-3.6.10-4.fc18.x86_64
Found initrd image: /boot/initramfs-3.6.10-4.fc18.x86_64.img
Found linux image: /boot/vmlinuz-3.9.4-200.fc18.x86_64
Found initrd image: /boot/initramfs-3.9.4-200.fc18.x86_64.img
Found linux image: /boot/vmlinuz-3.6.10-4.fc18.x86_64
Found initrd image: /boot/initramfs-3.6.10-4.fc18.x86_64.img
Found Windows Boot Manager on Microsoft/Boot/bootmgfw.efi
Windows Boot Manager is not yet supported by grub-mkconfig.
done

I made a tweet on how UEFI can be a show stopper in running Windows 8 along side another OS in response to a tweet a friend of mine posted. Shortly after, I got a tweet from @Intel_UEFI with a link to a youtube video claiming they’ve successfully dual boot Windows 8 and Linux. Oh well, I haven’t had the time to look at the video yet. Right now, I boot Windows 8 via the BIOS since Grub 2 doesn’t support it yet.