Tuesday, August 20, 2013

Dual-boot Ubuntu and Windows 8 on UEFI

I managed to install Ubuntu 12.04 LTS (Precise Pangolin) successfully alongside Windows 8.

1. Disable Secure Boot in UEFI (BIOS).

There are two ways to access the Setup Utility:
a. Press the Novo button when the laptop is switched off. OR
b. Switch on the laptop using the normal On/Off button. Press F2 (Meaning press Fn and the F2 button together.)

Go to Security > Secure Boot


2. Install rEFind boot manager. I installed rEFind using Windows. The author of rEFind provides very good documentation on his website and he also gives out advices at the Gentoo and Ubuntu forums.

3. I downloaded Ubuntu 12.04 amd64 desktop version from the Ubuntu website and made a bootable USB stick using LinuxLive USB Creator.

4. Boot up the USB stick and choose "Try Ubuntu without installing". The reason I chose this option was to be able to install Ubuntu later without installing GRUB.

5. Open a terminal and run ubiquity -b or ubiquity --no-bootloader. This will start the installation of Ubuntu with no bootloader.

6. I created a 2GB Linux swap partition and a 90GB ext4 partition for Ubuntu and then let the installer run its course. Wired ethernet aws not detected on Live DVD but the wireless was working.

7. Installation proceeded smoothly and after rebooting I'm pleased to report that everything works on Ubuntu, even the wired ethernet.

Next: To install Gentoo.


2 comments:

Ibnu Sina said...

Would you to elaborate more about how to disable secure boot? I mean in lenovo g400s what are options to choose in BIOS. Thank you.

Anonymous said...

Hello Ibnu Sina. I've edited the original post to include a picture of the Setup Utility to show where the option for Secure Boot is.