You are on page 1of 3

UEFI Ubuntu boot along with Win8

1 de 3

2nd December 2012

http://whoochee.blogspot.com.br/2012/12/uefi-ubuntu-boot-along-wit...

UEFI Ubuntu boot along with Win8

I got my new thinkpad t430s this weekend. It came with pre-installed win8. After replace its HDD with new SSD,
the next thing to do is to install ubuntu 12.04.
However, this time is not like what I had done usually since this new laptop has UEFI ( or EFI) firmware interface
instead of traditional legacy BIOS mode. So installing the ubuntu 12.04 along with already EFI partition with
GRUB will result in boot error of Win8 (from /dev/sda[some number]), some thing like:
error: unknown command 'drivemap'
error: invalid EFI file path

While there are many threads online discussed about this issue. Here is the most elegant solution I found: using
Boot-Repair tool. Here is how:
1. After installed ubuntu (make sure you can access internet), open the terminal:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update

2. Press Enter.
3. Then type:
sudo apt-get install -y boot-repair && boot-repair

4. Press Enter

Now, let this software figures out everything for you. It will automatically generate the GRUB codes such that
your Win8 can be booted.
The new EFI BIOS feature "Secure Boot" has to be disabled since current 12.04 LTS does not support it yet.
The new version 12.10 adds this feature but its not stable. To disable it, reboot your laptop and press F1 to enter
BIOS, then go to the "Security" option, disable the "Secure Boot".
Here is the reference page (https://help.ubuntu.com/community/UEFI [https://help.ubuntu.com/community/UEFI] )
where you can find the details. The Boot-Repair info can be found here (https://help.ubuntu.com/community
/Boot-Repair [https://help.ubuntu.com/community/Boot-Repair] ).
Posted 2nd December 2012 by Qi Hu
10

View comments

Danou Nauck December 20, 2012 at 6:20 AM


Thanks, that helped me repairing my Windows 8 AND Ubuntu combination on the laptop
Reply

malsasa December 24, 2012 at 1:08 AM

08/12/2014 17:05

UEFI Ubuntu boot along with Win8

2 de 3

http://whoochee.blogspot.com.br/2012/12/uefi-ubuntu-boot-along-wit...

Oooh, so now there is no BIOS anymore on new hardware coming? UEFI is something replacing BIOS?
Reply
Replies
Qi Hu December 29, 2012 at 9:48 PM
check out this http://www.uefi.org/about/ :)

Enrico Costanzi January 12, 2013 at 9:57 AM


This helped me thanks! Now i just have to understand this UEFI stuff...
Reply

Mahmoud Ibrahim August 9, 2013 at 1:20 AM


Thank you so much, works perfectly
Reply

ke November 17, 2013 at 5:50 AM


Thanks a lot, it successfully restored Windows 8.1 boot capability on an Asus R510C laptop after installing
Ubuntu 12.04.
Reply

Brandon Hudson November 27, 2013 at 12:43 AM


Nice and quite informative post. I really look forward to your other posts.
Samsung - 13.3" Notebook - 4 GB Memory - 500 GB Hard Drive - Silver
Samsung - Series 3 15.6" Laptop - 4GB Memory - 500GB Hard Drive - Sleek Silver
Reply

aalia lyon April 30, 2014 at 12:17 AM


Wow really Awesome blog its so informative for us,,Click on this link. BOOTMGR Missing in Windows 7 its
can help to solve your bootmgr problem
Thank you
Aalia lyon
Reply

Roberto Arsi July 9, 2014 at 12:34 PM

Reply

Roberto Arsi July 9, 2014 at 4:48 PM


I was using rEFInd boot manager (http://www.rodsbooks.com/refind/) to boot win8, because I had various
problems.

08/12/2014 17:05

UEFI Ubuntu boot along with Win8

3 de 3

http://whoochee.blogspot.com.br/2012/12/uefi-ubuntu-boot-along-wit...

Then I have some windows and ubuntu updates and rEFInd boot did not function any more. So I used your
method.
I have resolved the issue of booting windows but I have a problem: I can no more hibernate win8.1, because it
does not work; when I turn the PC on after hibernating it, it seems like windows was shut down and not
hibernate.
Can anyone help me?
Reply

Comment as:

Publish

08/12/2014 17:05

You might also like