LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-29-2024, 01:43 PM   #1
wojts1995
LQ Newbie
 
Registered: Nov 2022
Posts: 8

Rep: Reputation: 0
How to add Linux to UEFI after Windows installation?


Hello. I have a problem with booting Linux (sdb drive) after installing Windows 10 (sda drive):

https://i.postimg.cc/wMkLVNZs/jik.jpg

It seems that Windows 10 (during installation) has removed the option to select Linux from UEFI

The sdc drive is Linux Live, which I booted up to see what the situation was like

What to do now, how to add Linux back to UEFI? Is it possible to add an entry to UEFI manually for example by efibootmgr?
 
Old 03-01-2024, 12:34 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
UEFI BIOS are happiest when there is only one ESP partition shared by all installed operating systems. You complicate things by installing an additional OS on a separate drive with its own ESP partition.

However, there are multiple ways to skin these cats. One option is to boot your live Linux in UEFI mode again, and create a new entry for the installed linux using the efibootmgr command (aka: "manually" ). Another would be to live boot to chroot into the installed system, then reconfigure it to use the ESP on the Windows disk instead of the original.
 
1 members found this post helpful.
Old 03-01-2024, 05:12 AM   #3
wojts1995
LQ Newbie
 
Registered: Nov 2022
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
UEFI BIOS are happiest when there is only one ESP partition shared by all installed operating systems. You complicate things by installing an additional OS on a separate drive with its own ESP partition.

However, there are multiple ways to skin these cats. One option is to boot your live Linux in UEFI mode again, and create a new entry for the installed linux using the efibootmgr command (aka: "manually" ). Another would be to live boot to chroot into the installed system, then reconfigure it to use the ESP on the Windows disk instead of the original.
Yes, I already managed it using efibootmgr - I added this Linux entry manually

Now I have a new problem

this "sda" drive where Windows is located is a drive with hardware OPAL encryption

it is currently disabled, but I wanted to enable it using sedutil (I want to have the following setup: Linux with LUKS encryption + Windows with OPAL)

but when in Linux I type:

sedutil-cli --scan

I get info:

The Kernel flag libata.allow_tpm is not set correctly

and

/dev/sda No <- that there is allegedly no support (it is not true)

How to solve it?
 
Old 03-03-2024, 12:09 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
That needs its own new thread with appropriate summary if web search doesn't provide help.
 
Old 03-03-2024, 01:59 PM   #5
wojts1995
LQ Newbie
 
Registered: Nov 2022
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
That needs its own new thread with appropriate summary if web search doesn't provide help.
It is here:

https://www.linuxquestions.org/quest...0g-4175734510/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UEFI Class 3 :: To use UEFI, or not to use UEFI? jheengut Slackware 19 12-30-2020 09:24 AM
[SOLVED] PepperMint Linux: installed uefi but it is not uefi issues BW-userx Linux - Software 4 09-18-2018 07:26 PM
Installed Linux Debian with UEFI backward compability instead of native UEFI kuba67 Linux - Hardware 1 10-22-2017 11:45 AM
how to install linux mint side by side windows into an uefi machine without uefi partition valgalsan Linux - Newbie 2 11-03-2015 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration