Linux Lite Forums

Software - Support => Installing Linux Lite => Topic started by: ohjrson on April 12, 2020, 11:32:04 PM

Title: UEFI Install problems
Post by: ohjrson on April 12, 2020, 11:32:04 PM
So..... I tried installing the UEFI build 4.2 for LL on my UEFI Acer laptop. E5-722-49HD. The live usb that I made with uNetbootin seemed to work fine. It was a little slow on boot but everything booted up into the live environment. I installed on to the laptop from there and did not receive any errors. When I rebooted though, it only boots into Win 10. Yes I installed LL 4.2 along side win 10. I went back into the live environment and can see the area allocated for LL. But I can't seem to get it to load. I went into setup and UEFI is enabled along with secure boot. However I cannot go into the secure boot and turn if off. What am I or did I do wrong? Any thought would be great, Thank you.
Title: Re: UEFI Install problems
Post by: ohjrson on April 15, 2020, 11:05:54 AM
Anyone have any ideas?
Title: Re: UEFI Install problems
Post by: ohjrson on April 15, 2020, 01:43:48 PM
Update:
So I decided to reinstall LL 4.2 UEFI. This time I used the second option on the live USB UEFI direct install. Everything went as before except I did not connect using wifi and I did leave secure boot enabled with Third party installation  and set a password with secure boot. The process went on from there asking me if I wanted to reinstall Ubuntu or wipe the whole disk. Obviously I reinstalled the Ubuntu. Everything proceeded from there with no errors. When it was finished the message said I had to reboot in order to use the new install. Which I did, and windows came up. No selection for any other OS or grub.

Not sure what else to do. Please help.
 
Title: Re: UEFI Install problems
Post by: firenice03 on April 15, 2020, 05:12:43 PM

@ohjrson May want to start a new thread(moved), if issues arise as folks may not be seeing it a new...


Have you checked in BIOS(UEFI) to set the boot manager order - I had to set mine to Ubuntu
Title: Re: UEFI Install problems
Post by: ohjrson on April 15, 2020, 06:14:09 PM

@ohjrson May want to start a new thread(moved), if issues arise as folks may not be seeing it a new...


Have you checked in BIOS(UEFI) to set the boot manager order - I had to set mine to Ubuntu
Yes but Ubuntu does not show up in the bios.
Live usb will work if I use it but thats it.
I have been trying to install LL in this laptop since I first got it and it has been nothing but a pain in my side. For 1 it has the option to go into legacy mode but when you do that it says there is nothing to boot. THen you have to go back an put it in UEFI mode. It also will not let you turn off secure boot. So I don't know.
Anything you can help me with is GREATLY appreciated as I know from using the live USB now the laptop has speeded up tremendously. I am so ready to use it in LL period.
Title: Re: UEFI Install problems
Post by: WytWun on April 16, 2020, 07:59:53 AM
If the laptop cam with Win10, there's a good chance the only way to disable Secure Boot is from within Windows.  If you try to change from UEFI to Legacy/CSM, I seem to recall Windows won't boot (i.e. you'd have to reinstall Windows to a Legacy/CSM formatted drive).

It sounds to me like for some reason the GRUB UEFI bits aren't being written to the disk.  I don't know whether the efibootmgr utility (intro (https://www.linuxbabe.com/command-line/how-to-use-linux-efibootmgr-examples), man page (https://linux.die.net/man/8/efibootmgr)) is available in the live installer but if it is you may be able to use it to find out more about what UEFI thinks is there to boot from (but be very careful trying to make changes with it!!).

USB sticks with GParted (https://gparted.org/) & Clonezilla (https://clonezilla.org/) may also make it easier to figure out what is on the drive vs what should be on the drive.  The information in this blog post (https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/) and linked from the Refind boot manager home page (https://www.rodsbooks.com/refind/) may help you figure out what needs to be done to get past your laptop's UEFI boot issue, though I appreciate that's a lot of reading.

I'm sorry I can't give more specific assistance - I've only fought one UEFI laptop and your problem seems quite different to mine.
Title: Re: UEFI Install problems
Post by: trinidad on April 16, 2020, 08:30:00 AM
You might want to give this a try.

https://www.supergrubdisk.org/rescatux/

TC
Title: Re: UEFI Install problems
Post by: Patomas on April 16, 2020, 04:01:48 PM

It also will not let you turn off secure boot.

Been there and it's frustrating. This piece is very important. secure boot causes many problems so being able to disable it is key. It is also recommended to disable fast startup and fast boot but it is not recommended to disable UEFI since Windows 10 won't work.
Title: Re: UEFI Install problems
Post by: ohjrson on April 16, 2020, 07:42:20 PM
OK so here is what I got back from running boot manager in the live session. I have no idea what the numbers represent in the boot order but if I understand what I have read, all I need to do is change that order right?

efibootmgr
BootCurrent: 0003
Timeout: 0 seconds
BootOrder: 2001,0002,2002,2003
Boot0000* ubuntu
Boot0001* Unknown Device:
Boot0002* Windows Boot Manager
Boot0003* USB HDD: UDisk2.0Gigastone
Boot0004* Unknown Device:
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network

So according to this I should actually add in the boot order 0000,then 2001,0002,2002,2003

Correct?
And how do I do this in command prompt or can I?
Title: Re: UEFI Install problems
Post by: ohjrson on April 18, 2020, 06:12:55 PM
Any ideas people, Could use the help. please.
Title: Re: UEFI Install problems
Post by: Patomas on April 19, 2020, 11:26:07 AM
You need to do it on the UEFI boot menu
Title: Re: UEFI Install problems
Post by: firenice03 on April 19, 2020, 12:52:35 PM
You need to do it on the UEFI boot menu

Ditto..

@ohjrson
Its not the same as the "boot order" .. But you need to go into BIOS/UEFI to set the Boot Manager
To enter BIOS - you'll need to reboot the PC and repeatedly tap F2 (or another key possibly DEL or F10) You may see it briefly say Key for setup or entering setup.

Once you have it correctly - you'll be in a blue screen - you're looking for Boot Manager - not boot order - but may be in the same place. Here you want to set to "Ubuntu".
Title: Re: UEFI Install problems
Post by: firenice03 on April 19, 2020, 01:18:42 PM
This is an example of what mine looks like...
(https://i.imgur.com/GYIo3Gr.jpg)
Title: Re: UEFI Install problems
Post by: ohjrson on April 19, 2020, 03:05:35 PM
I have te same setup utility as you show on your screen. However I do not have a configuration where I can enter into the UEFI settings. At least I don't think I do. Is there a special key to press to get into there?

Update

What I had to do is set a supervisor password and then I am allowed to change setting in the secure boot.
When I go into Select UEFI file as trusted I see: HDDO When I enter into there I see: <EFI> and <system volume information>

When I select <EFI> I then see: <.> then <..> then <ubuntu> then <OEM> then <Microsoft> then <boot>

I can not move these up and down.... I can go into them and see the EFI files for each.

Update: Never mind. I figured it out!!!!    (Happy dance !!!)

Many Thanks to Firenice03 for making me think and pull my head out of my @$$.

I basically had to go into the secure setting and then into the HDD0 and then into EFI and then hit enter then select ubuntu hit enter and then select the grub file hit enter and it asks me do I want to add it to the secure boot. Of course I said yes but had to name it so I named it grubboot (or something like that) Once this was added to the UEFI boot I could get into it and finish installation. Then I had to go into the bios and change the order of the boot devices, and BINGO! it all works flawlessly now. (Hope this makes sense to some of you)


Title: Re: UEFI Install problems
Post by: firenice03 on April 19, 2020, 07:11:16 PM
I did not need to set a supervisor, but I've heard where some have..... Slipped my mind...Good to hear you got it...
Edit your 1st post and can select solved int he drop down...