Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu MATE Installation Problem on Acer Windows 10 #54

Open
melogenesis opened this issue Jun 14, 2017 · 15 comments
Open

Ubuntu MATE Installation Problem on Acer Windows 10 #54

melogenesis opened this issue Jun 14, 2017 · 15 comments
Assignees

Comments

@melogenesis
Copy link

melogenesis commented Jun 14, 2017

Hello dear @hakuna-m ,

Thank you so much for your wubi i've just installed ubuntu mate on my win 7 legacy+uefi desktop thanks to you :), but i also want to install mate on my acer win 10 laptop. I really tried almost everything but could not handle :(. As far as im knew i tried many distros like Manjaro, Mint etc, but the problem is i can use these distros as Live usb i mean i can just run once from usb and use until i shut down the system but i cannot install all of them, any of then. When the distro's installation reads Efi, Uefi grub or something like that, i am facing freeze problem and thats it always the same problem :(. Finally i searched and found your wubi i actually knew 2 or 3 years ago and i used to use for installing ubuntu. Today i tried wubi on my laptop, I moved iso and wubi files as you sad in the same location. İ pressed the install button but nothing shows up but also Program Files consists wubi to uninstall interestingly. I am using an UEFI system, without secure boot, on my acer by the way.
I need your help to install ubuntu mate please help me :)

@hakuna-m hakuna-m self-assigned this Jun 14, 2017
@hakuna-m
Copy link
Owner

hakuna-m commented Jun 14, 2017

İ pressed the install button but nothing shows up but also Program Files consists wubi to uninstall interestingly

There should be a log file with further information.

You find the log file in the Windows temp folder. A shortcut for the Windows temp folder is %temp% . The path name for the log file is %temp%\wubi-16.04.2-rev319.log if you use wubi16042r319.exe. The full path name is something like C:\Users\YourWindowsName\AppData\Local\Temp\wubi-16.04.2-rev319.log.

i am facing freeze problem and thats it always the same problem :(.

As far as I know a lot of ACER UEFI firmwares are a little bit tricky.

It is necessary to enable UEFI and also Secure Boot. Then select every new UEFI boot loader file as trusted for executing.

e.g. Select "SECURITY" -> "Select an UEFI file as trusted for executing" -> "HDD0" -> "EFI" -> "ubuntu" -> "wubildr" -> "shimx64.efi". Enter a name like "Ubuntu Wubi" or another name you want.

edit: Probably, it is also necessary to set a "Supervisor password" to set files as trusted.

@melogenesis
Copy link
Author

melogenesis commented Jun 15, 2017

Secure boot is Disable on my laptop, i can change it as Enable. However, the problem is i cant change UEFI setting it is always Enable on my bios bcs of factory settings u know. I saw the log file yes but i figured out by removing and installing again.

There is no any other option to

"Select an UEFI file as trusted for executing"

in my bios. Available regarding setting is just Enable/Disable Secure Boot :(

Untill now, i could install Ubuntu MATE successfully in win 10 with wubi and Enabled the "Secure Boot". But when i write these codes in cmd; (From #15 ) (i also read other topics)

This code ( Set a timeout) ---> bcdedit /set {fwbootmgr} timeout 10
Gives This error ---> write protect error !

so there is no problem when ubuntu mate is being installed. but i cant set any timeout for UEFI
At this moment, What sould i do? i am going to go to the Linux camp and i really need this installed ubuntu :)
by the way, Sorry for my bad english :)

@qusman1
Copy link

qusman1 commented Jun 15, 2017

Hi- Novice here. The wubi seemed to run but in the end I see no option to boot ubuntu on startup. I am using an ASUS laptop (Notebook F556UA) I bought recently.

I can get to the BIOS menu. Would appreciate if you could tell me what settings to change.
wubi17.04- rev321.pdf

txt file won't upload so I printed it to the attached file.

-Thanks!

@melogenesis
Copy link
Author

melogenesis commented Jun 15, 2017

@qusman1 I had an ASUS Laptop like you years ago :) and I did not have any problem with asus about Linux, I really wish I have asus one instead of acer :D Did you try dual boot installation if you have windows?
Which windows version do you use? windows 10/8/7?

@melogenesis
Copy link
Author

melogenesis commented Jun 15, 2017

This is my current status;

C:\Windows\system32>bcdedit /enum firmware

Firmware Boot Manager

identifier {fwbootmgr}
displayorder {bootmgr}
{cec92615-1e2e-11e7-b98e-d81b5104afb7}
{cec92616-1e2e-11e7-b98e-d81b5104afb7}
{cec92617-1e2e-11e7-b98e-d81b5104afb7}
timeout 0

Windows Boot Manager

identifier {bootmgr}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Windows Boot Manager
locale tr-TR
inherit {globalsettings}
default {current}
resumeobject {cec9261a-1e2e-11e7-b98e-d81b5104afb7}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Manager

identifier {cec92620-1e2e-11e7-b98e-d81b5104afb7}
device partition=\Device\HarddiskVolume2
path \EFI\Microsoft\Boot\bootmgfw.efi
description Wubiuefi
locale tr-TR
inherit {globalsettings}
default {current}
resumeobject {cec9261a-1e2e-11e7-b98e-d81b5104afb7}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Manager

identifier {cec92621-1e2e-11e7-b98e-d81b5104afb7}
device partition=\Device\HarddiskVolume2
path \EFI\ubuntu\wubildr\grubx64.efi
description Wubiuefi
locale tr-TR
inherit {globalsettings}
default {current}
resumeobject {cec9261a-1e2e-11e7-b98e-d81b5104afb7}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Firmware Application (101fffff)

identifier {cec9261f-1e2e-11e7-b98e-d81b5104afb7}
device partition=\Device\HarddiskVolume2
path \EFI\ubuntu\wubildr\grubx64.efi
description Ubuntu MATE

This is also log file.

wubi.pdf

@qusman1
Copy link

qusman1 commented Jun 15, 2017

Thanks! I have Windows 10. Will cross-check with your list.

@melogenesis
Copy link
Author

melogenesis commented Jun 15, 2017

I also cant create new entry :( it is same in EasyBCD when i created new ubuntu entry, i restart my laptop and same there is just windows 10 option.

I dont want to give up :'(

@hakuna-m
Copy link
Owner

@melogenesis

so there is no problem when ubuntu mate is being installed. but i cant set any timeout for UEFI

The timeout is a nice feature to display the UEFI boot menu automatically, but it works without timeout, too.

If you have no timeout, it is necessary to press function keys which you find in the manual of your computer.

But the entries of the UEFI boot menu are the real problem:

Firmware Boot Manager

identifier {fwbootmgr}
displayorder {bootmgr}
{cec92615-1e2e-11e7-b98e-d81b5104afb7}
{cec92616-1e2e-11e7-b98e-d81b5104afb7}
{cec92617-1e2e-11e7-b98e-d81b5104afb7}
timeout 0

{bootmgr} is the first entry which runs Windows. There are three other entries (e.g. cec92615-1e2e-11e7-b98e-d81b5104afb7}) but none of them is {cec92621-1e2e-11e7-b98e-d81b5104afb7} with name Wubiuefi or {cec9261f-1e2e-11e7-b98e-d81b5104afb7 with name Ubuntu MATE.

It seems that your UEFI removes untrusted firmware entries.

Has your UEFI no option to select files as trusted for executing? As I wrote,

Probably, it is also necessary to set a "Supervisor password" to set files as trusted.

It is necessary to enable UEFI and also Secure Boot.

@hakuna-m
Copy link
Owner

@qusman1

IMHO your issue is different. There is a correct UEFI Boot menu and your UEFI only ignores the timeout like in #15 . As I wrote above,

If you have no timeout, it is necessary to press function keys which you find in the manual of your computer.

Or use EasyUEFI to change boot order or to set a one-time boot.

@melogenesis
Copy link
Author

@hakuna-m thank you so much for your interest and patient, I know it is really annoying :(

I could fix boot time by using EasyBCD(I set the time as "0" so im just selecting windows 10 :), now I can access the Windows Boog Maganer.

windows_boot_manager

@melogenesis
Copy link
Author

melogenesis commented Jun 15, 2017

I am going to explore whether there is any option to set UEFI files as trusted and control my bios again, but im sure there is not :(
Lets assume that there is no option, so is there any other way to set these files as trusted?
I forgot saying that i disassembled my Harddisk on my Acer and plugged it my Desktop's case and installed linux. After that i put it back on my acer again. However, it gave an error like "No Bootable Device". Overall i can only install windows 10 for example i could not install win 7 too.

@hakuna-m
Copy link
Owner

As far as I know the ACER models which need the option "Select an UEFI file as trusted for executing" have a "Phoenix SecureCore Tiano Setup" and you have a "InsydeH20 Setup Utility". e.g. see here.

This is the Windows Boot Manager. There is no entry in UEFI mode:

This is an UEFI boot menu. There should be an entry in UEFI mode:

Depending on your UEFI firmware there is a submenu for each boot device. All entries should be part of the Firmware Boot Manager:

Firmware Boot Manager

identifier {fwbootmgr}
displayorder {bootmgr}
{cec92615-1e2e-11e7-b98e-d81b5104afb7}
{cec92616-1e2e-11e7-b98e-d81b5104afb7}
{cec92617-1e2e-11e7-b98e-d81b5104afb7}
timeout 0 

@melogenesis
Copy link
Author

As i said before and cotrolled again, there is no any option to "Select an UEFI file as trusted for executing" in my bios. I am looking another ways whether i can change this when im in linux with command line may be. I have looked what you wrote and I also asked askubuntu users too.

@hakuna-m
Copy link
Owner

hakuna-m commented Jun 16, 2017

As i said before and cotrolled again, there is no any option to "Select an UEFI file as trusted for executing" in my bios.

Probably, because the firmware ("UEFI BIOS") is different in various ACER models. So in your case the name of the ACER model is important.

IMHO an ACER forum can help to manage settings for your model. Maybe, a firmware update is available and necessary.

Wubiuefi creates the UEFI menu entries with Windows command bcdedit. Ubuntu creates the UEFI menu entries with Linux command efibootmgr.

The difference is that Wubiuefi creates new entries as "Windows Boot Manager" like

Windows Boot Manager

identifier {cec92621-1e2e-11e7-b98e-d81b5104afb7}
device partition=\Device\HarddiskVolume2
path \EFI\ubuntu\wubildr\grubx64.efi
description Wubiuefi
locale tr-TR
inherit {globalsettings}
default {current}
resumeobject {cec9261a-1e2e-11e7-b98e-d81b5104afb7}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

efibootmgr creates new entries as "Firmware Application" like

Firmware Application (101fffff)

identifier {cec9261f-1e2e-11e7-b98e-d81b5104afb7}
device partition=\Device\HarddiskVolume2
path \EFI\ubuntu\wubildr\grubx64.efi
description Ubuntu MATE

But both methods should also create entries for the identifiers within section "Firmware Boot Manager".

@commandercool
Copy link

Hello guys!
I had the similar problem with Acer laptop. Have tried different approaches:

  • bcdedit under Windows failed because of write-protection
  • EasyBCD worked but got reset each time after reboot
  • efibootmgr under Ubuntu installation has also worked but also got reset

Turns out - it's Acer who resets the configuration during startup. The only way to permanently configure it is to add Ubuntu UEFI file as trusted. So do the following:

  • boot pressing F2 to open Setup Utility
  • go to Security tab
  • set Supervisor Password (make it easy to remember)
  • go to Boot tab and ensure that Secure Boot is enabled
  • Save and Exit
  • start pressing F2 again
  • you will now get promted for the password you've set, you'll need to enter it each time you access Setup Utility
  • go to Security tab and select Select UEFI files as trusted for executing
  • navigate to ubuntu folder and select grubx64.efi, confirm selection
  • reboot yet again with F2
  • go to Boot tab, find Ubuntu option there, set it the highest priority
  • reboot normally into Ubuntu

Voila! Enjoy.

P.S. Supervisor Password could be set back to blank now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants