LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   How to add Linux to UEFI after Windows installation? (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-add-linux-to-uefi-after-windows-installation-4175734391/)

wojts1995 02-29-2024 01:43 PM

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?

mrmazda 03-01-2024 12:34 AM

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.

wojts1995 03-01-2024 05:12 AM

Quote:

Originally Posted by mrmazda (Post 6486802)
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?

mrmazda 03-03-2024 12:09 AM

That needs its own new thread with appropriate summary if web search doesn't provide help.

wojts1995 03-03-2024 01:59 PM

Quote:

Originally Posted by mrmazda (Post 6487233)
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/


All times are GMT -5. The time now is 12:33 PM.