You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



How to manually add UEFI boot img to EFI partition

Author (Read 5309 times)

0 Members and 1 Guest are viewing this topic.

Re: How to manually add UEFI boot img to EFI partition
« Reply #5 on: June 21, 2021, 10:20:59 AM »
 

firenice03

  • Rockin' the FREE World
  • Global Moderator
  • Platinum Level Poster
  • *****
  • 1848
    Posts
  • Reputation: 284
  • Linux Lite Member
    • View Profile

  • CPU: AMD E2//Atom X5//AMD Phenom II X2

  • MEMORY: 4Gb

  • VIDEO CARD: AMD Mullin Radeon R2//Intel//AMD/ATI RS880

  • Kernel: 5.x
Not really... I already installed it and I don't exactly want to go back and overwrite it.

So here's something interesting. Before I had Windows 7, and it was on legacy BIOS. So I turned on UEFI... I think I turned off my hard drive as the default boot option. So I was picking where to boot each time from my bios boot menu. So anyway I put it back to boot of my HD, and low and behold it booted Linux Lite automatically. Even though my Windows 10 install has been working just fine as long as I picked it from my UEFI boot menu. But I don't think I was seeing Linux Lite in that menu.

So anyway what, do I copy the /boot/EFI/startup.nsh file to my EFI partition? What exactly is going on here? I can edit the available boot option is my UEFI menu from the BIOS right? But OS installers have access to that and they add an option for you automatically?

@tenet510h
1 word of advice....
With Windows in Legacy mode and wanting to do LL in UEFI - you will have to change BIOS settings to boot back and forth. The opposing enabled boot will not allow the other to boot... UEFI mode LL only - Legacy mode Windows only...
IF you don't plan on using Windows any longer not a big deal, if you do its an extra step.

Just a plugged nickel as if you no longer want Windows - you could wipe and recoup that space???
IF you plan to use windows to some extent - I'd put them both on the same BIOS...

*You don't really gain anything switching to UEFI over Legacy...

Some things to think about before going down a road..... 
LL4.8 UEFI 64 bit ASUS E402W - AMD E2 (Quad) 1.5Ghz  - 4GB - AMD Mullins Radeon R2
LL5.8 UEFI 64 bit Test UEFI Kangaroo (Mobile Desktop) - Atom X5-Z8500 1.44Ghz - 2GB - Intel HD Graphics
LL4.8 64 bit HP 6005- AMD Phenom II X2 - 8GB - AMD/ATI RS880 (HD4200)
LL3.8 32 bit Dell Inspiron Mini - Atom N270 1.6Ghz - 1GB - Intel Mobile 945GSE Express  -- Shelved
BACK LL5.8 64 bit Dell Optiplex 160 (Thin) - Atom 230 1.6Ghz - 4GB-SiS 771/671 PCIE VGA - Print Server
Running Linux Lite since LL2.2
 

Re: How to manually add UEFI boot img to EFI partition
« Reply #4 on: June 21, 2021, 09:24:12 AM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Not really... I already installed it and I don't exactly want to go back and overwrite it.

So here's something interesting. Before I had Windows 7, and it was on legacy BIOS. So I turned on UEFI... I think I turned off my hard drive as the default boot option. So I was picking where to boot each time from my bios boot menu. So anyway I put it back to boot of my HD, and low and behold it booted Linux Lite automatically. Even though my Windows 10 install has been working just fine as long as I picked it from my UEFI boot menu. But I don't think I was seeing Linux Lite in that menu.

So anyway what, do I copy the /boot/EFI/startup.nsh file to my EFI partition? What exactly is going on here? I can edit the available boot option is my UEFI menu from the BIOS right? But OS installers have access to that and they add an option for you automatically?

First, you should have chosen "install Linux Lite alongside Windows" instead of something else, that way the installer would've done all that for you, but  since you chose "something else" without knowing exactly what you had to do; mount the existing efi partition to /boot/efi, you now have two separate uefi entries. What's going on? You tried to do something you'd no idea how to, and now again you want to do something you've no idea how to. My advice, either leave that as it is right now, and hope that neither a Windows or Linux update overwrite it, or reinstall Linux Lite by using 1 of the appropriate methods: let the installer do the hard work, or if you want to do the whole thing for yourself, do it right.
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Re: How to manually add UEFI boot img to EFI partition
« Reply #3 on: June 21, 2021, 08:05:49 AM »
 

tenet510h

  • New to Forums
  • *
  • 10
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
Not really... I already installed it and I don't exactly want to go back and overwrite it.

So here's something interesting. Before I had Windows 7, and it was on legacy BIOS. So I turned on UEFI... I think I turned off my hard drive as the default boot option. So I was picking where to boot each time from my bios boot menu. So anyway I put it back to boot of my HD, and low and behold it booted Linux Lite automatically. Even though my Windows 10 install has been working just fine as long as I picked it from my UEFI boot menu. But I don't think I was seeing Linux Lite in that menu.

So anyway what, do I copy the /boot/EFI/startup.nsh file to my EFI partition? What exactly is going on here? I can edit the available boot option is my UEFI menu from the BIOS right? But OS installers have access to that and they add an option for you automatically?
 

Re: How to manually add UEFI boot img to EFI partition
« Reply #2 on: June 20, 2021, 07:20:20 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
I first installed Windows 10. Using Disk Manager in windows I resized the C: drive to leave space for Linux.
Then I installed Linux and selected "Something else" and installed to a new partition in the newly slivered off space.

And then the installer tells me that it's not gonna write the UEFI boot image to my EFI partition for me, and that MAYBE I can do it myself later.

So how do I do that?

From the "something else" section, select the efi partition and set the mount point to be /boot/efi then select the partition you want to install Linux Lite to, and set the mount point to be / that's it.

Hope this helps! :)
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

How to manually add UEFI boot img to EFI partition
« Reply #1 on: June 20, 2021, 08:41:05 AM »
 

tenet510h

  • New to Forums
  • *
  • 10
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
I first installed Windows 10. Using Disk Manager in windows I resized the C: drive to leave space for Linux.
Then I installed Linux and selected "Something else" and installed to a new partition in the newly slivered off space.

And then the installer tells me that it's not gonna write the UEFI boot image to my EFI partition for me, and that MAYBE I can do it myself later.

So how do I do that?
« Last Edit: October 12, 2021, 11:17:43 PM by firenice03 »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section