Wednesday, December 6, 2017

It took me 3 days to install ubuntu

My father bought a new laptop for his shop, the Acer Aspire ES 14 (ES1-432-C9B6). He's been using ubuntu on all his computers for a long time now and asked me to install ubuntu on his latest laptop. And oh my God... it was so difficult....

Installing it was easy enough... just boot the usb installer and follow the wizard. But after that, it would say "No bootable device". I tried changing all the settings in the bios. But there wasn't a lot of settings. And no settings for uefi.. only for secure boot. And even the secure boot menu was disabled until you set the supervisor password. But even after toggling the secure boot option, it still won't boot.

Been googling to find the solution but not much luck, until I found this page, with the title "Fix No Bootable Device Found Error After Installing Ubuntu" I thought my luck has changed. But alas, his solution required that we choose the uefi file to boot from, which again, was not available as a menu in the bios.

And then I found this on the ubuntu forums. At the very end it mentions about how to add the UEFI entry with rEFind and linked to this page. The page actually teach you step by step on how to use rEFInd to add the ubuntu grub into uefi without going through the BIOS menu. You just need to:
1. download it from here
2. dd the image into a pen drive
3. boot the pen drive
4. enter the rEFInd UEFI shell
5. Type :- bcfg boot dump" to get a list of all available boot drive
6. Type :- bcfg boot add X fs0:\EFI\ubuntu\shimx64.efi "ubuntu"
    where X is changed with the next available number from step 5
7. Type :- bcfg boot mv 1 0
     to change the boot order
8. Restart

And it should be working great now.... finally..

2 comments:

Anonymous said...

Good articles, simple and easy to understand. Thank you for sharing, visit also my website Daftar Penyakit Menular Seksual

NuthingMan said...

Thanks... This UEFI is really pain in the @$$

Is Blogging No Longer a Thing?

As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...