Jump to content

I have Linux on a 2nd drive if I turn TPM on it will be fine right?

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to comment
https://linustechtips.com/topic/1380915-does-tpm-mess-with-linux/
Share on other sites

Link to post
Share on other sites

27 minutes ago, Edward78 said:

I have Linux on a 2nd drive if I turn TPM on it will be fine right?

In theory, no if it was disabled when Linux was installed. 

Intel® Core™ i7-12700 | GIGABYTE B660 AORUS MASTER DDR4 | Gigabyte Radeon™ RX 6650 XT Gaming OC | 32GB Corsair Vengeance® RGB Pro SL DDR4 | Samsung 990 Pro 1TB | WD Green 1.5TB | Windows 11 Pro | NZXT H510 Flow White
Sony MDR-V250 | GNT-500 | Logitech G610 Orion Brown | Logitech G402 | Samsung C27JG5 | ASUS ProArt PA238QR
iPhone 12 Mini (iOS 18.3) | iPhone 15 (iOS 18.3.1) | KZ AZ09 Pro x KZ ZSN Pro X | Sennheiser HD450bt
Intel® Core™ i7-1265U | Kioxia KBG50ZNV512G | 16GB DDR4 | Windows 11 Enterprise | HP EliteBook 650 G9
Intel® Core™ i5-8520U | WD Blue M.2 250GB | 1TB Seagate FireCuda | 16GB DDR4 | Windows 11 Home | ASUS Vivobook 15 
Intel® Core™ i7-3520M | GT 630M | 16 GB Corsair Vengeance® DDR3 |
Samsung 850 EVO 250GB | macOS Catalina | Lenovo IdeaPad P580

Link to post
Share on other sites

2 minutes ago, Edward78 said:

I have Linux on a 2nd drive if I turn TPM on it will be fine right?

You can turn on TPM.
Secure boot on the other hand will depend on your Linux distro... For example, Ubuntu will work with secure boot out of the box, but if you are on Arch you will have to mess around with manual signing... hence why I didn't bother with secure boot on my dual boot system, I have TPM enabled, secure boot disabled:

image.png.58026ed257036c824f1557342d1c7af3.png

And TPM works fine:

image.png.6bdc60f3dfc6a7aa190a150792b0228d.png

 

Link to post
Share on other sites

4 minutes ago, BlueChinchillaEatingDorito said:

In theory, no if it was disabled when Linux was installed. 

Hmmm'

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

Enabling TPM shouldn't mess with anything, it just provides secure storage for keys. Secure boot is the one that could prevent you from booting, since it requires a signed bootloader.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

Just now, Edward78 said:

Hmmm'

If it was the other way around, where Linux might have utilized it to store encryption keys, then you would have a problem if you disable it. The same thing would happen in Windows if you had BitLocker enabled with the TPM chip. 

Intel® Core™ i7-12700 | GIGABYTE B660 AORUS MASTER DDR4 | Gigabyte Radeon™ RX 6650 XT Gaming OC | 32GB Corsair Vengeance® RGB Pro SL DDR4 | Samsung 990 Pro 1TB | WD Green 1.5TB | Windows 11 Pro | NZXT H510 Flow White
Sony MDR-V250 | GNT-500 | Logitech G610 Orion Brown | Logitech G402 | Samsung C27JG5 | ASUS ProArt PA238QR
iPhone 12 Mini (iOS 18.3) | iPhone 15 (iOS 18.3.1) | KZ AZ09 Pro x KZ ZSN Pro X | Sennheiser HD450bt
Intel® Core™ i7-1265U | Kioxia KBG50ZNV512G | 16GB DDR4 | Windows 11 Enterprise | HP EliteBook 650 G9
Intel® Core™ i5-8520U | WD Blue M.2 250GB | 1TB Seagate FireCuda | 16GB DDR4 | Windows 11 Home | ASUS Vivobook 15 
Intel® Core™ i7-3520M | GT 630M | 16 GB Corsair Vengeance® DDR3 |
Samsung 850 EVO 250GB | macOS Catalina | Lenovo IdeaPad P580

Link to post
Share on other sites

Just now, Eigenvektor said:

Enabling TPM shouldn't mess with anything, it just provides secure storage for keys. Secure boot is the one that could prevent you from booting, since it requires a signed bootloader.

Even if Linux is on another drive?

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

Just now, Edward78 said:

Even if Linux is on another drive?

Doesn't matter which drive Linux is on. Secure boot means the UEFI will refuse to run a boot loader that isn't signed with a trusted key. And since that isn't usually the case, it'll refuse to boot into Linux. If you use Grub as the boot loader to load both Windows and Linux, then you'll have a problem booting at all.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

Just now, Eigenvektor said:

Doesn't matter which drive Linux is on. Secure boot means the UEFI will refuse to run a boot loader that isn't signed with a trusted key. And since that isn't usually the case, it'll refuse to boot into Linux. If you use Grub as the boot loader to load both Windows and Linux, then you'll have a problem booting at all.

I know Solus has a issue with it, wonder if Manjaro does?

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

Just now, Edward78 said:

I know Solus has a issue with it, wonder if Manjaro does?

Afaik Ubuntu is about the only exception, because they got Microsoft to sign their boot loaders. https://forum.manjaro.org/t/is-it-possible-to-enable-secure-boot/16156

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

15 minutes ago, Eigenvektor said:

Afaik Ubuntu is about the only exception, because they got Microsoft to sign their boot loaders. https://forum.manjaro.org/t/is-it-possible-to-enable-secure-boot/16156

Man, I love rolling releases, crap. Hmmm, seems like this would be wrong somehow, not allowing most other OSs to boot up.

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

59 minutes ago, Eigenvektor said:

Afaik Ubuntu is about the only exception, because they got Microsoft to sign their boot loaders. https://forum.manjaro.org/t/is-it-possible-to-enable-secure-boot/16156

Fedora and OpenSUSE also work with it out of the box. 

 

But yeah, enabling TPM shouldn't affect anything. Enabling secure boot might affect some things. Going from enabled to disabled on either one can cause issues.

Link to post
Share on other sites

48 minutes ago, Edward78 said:

Man, I love rolling releases, crap. Hmmm, seems like this would be wrong somehow, not allowing most other OSs to boot up.

You can get arch-based stuff to work with a little bit of elbow grease, but usually it's not worth the effort.

 

If you do want to use secure boot and have a rolling release distro, try out OpenSUSE Tumbleweed. It's a bit behind Arch in package version, but it's very stable for a rolling model and is a very pleasant distro to use. Plus it supports secure boot out of the box

Link to post
Share on other sites

6 hours ago, Eigenvektor said:

Afaik Ubuntu is about the only exception, because they got Microsoft to sign their boot loaders. https://forum.manjaro.org/t/is-it-possible-to-enable-secure-boot/16156

Ubuntu uses a signed shim loader, that any Distro should be capable of shipping.

Ubuntu, Fedora, and OpenSuSe used to all ship this shim by default, not sure if that is still the case.

The shim for Arch in the AUR still pulls from the Fedora Project.

 

For Manjaro you can follow this guide from the Arch Wiki.

https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#shim

 

I Dual boot Windows 11 and Arch with this shim.

Link to post
Share on other sites

5 hours ago, Nayr438 said:

Ubuntu uses a signed shim loader, that any Distro should be capable of shipping.

Ubuntu, Fedora, and OpenSuSe used to all ship this shim by default, not sure if that is still the case.

The shim for Arch in the AUR still pulls from the Fedora Project.

 

For Manjaro you can follow this guide from the Arch Wiki.

https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#shim

 

I Dual boot Windows 11 and Arch with this shim.

Woah that link makes me a little scared. Maybe I should try tumbleweed if it supports it by defaulr.

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

6 minutes ago, Edward78 said:

Woah that link makes me a little sdcared. Maybe I should try tumbleweed if it supports it by defaulr.

Alternatively you could leave secure boot disabled. Windows 11 should still work. I think it requires a PC that supports secure boot, but doesn't require for it to be enabled.

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

1 minute ago, Eigenvektor said:

Alternatively you could leave secure boot disabled. Windows 11 should still work. I think it requires a PC that supports secure boot, but doesn't require for it to be enabled.

Cool ok, kind of odd though.

GIGA AORUSBYTE B550I PRO AX (AM4 AMD/B550/Mini-Itx/Dual M.2/SATA 6Gb/s/USB 3.2 Gen 1/WiFi 6/2.5 GbE LAN/PCIe4.0/Realtek ALC1220-Vb/DisplayPort 1.4/2xHDMI 2.0B/RGB Fusion 2.0/DDR4/Gaming Motherboard) ,AMD Ryzen 7 5800X 8-core, 16-Thread Unlocked 4.7 GHz, TEAMGROUP T-Force Vulcan Z DDR4 32GB (2 x 16GB) 3200MHz (PC4 25600) Ram, EVGA GeForce RTX 3060 Ti XC Gaming, 08G-P5-3663-KL, 8GB GDDR6, Metal Backplate, LHR 

Link to post
Share on other sites

16 hours ago, Nayr438 said:

Ubuntu uses a signed shim loader, that any Distro should be capable of shipping.

Ubuntu, Fedora, and OpenSuSe used to all ship this shim by default, not sure if that is still the case.

The shim for Arch in the AUR still pulls from the Fedora Project.

 

For Manjaro you can follow this guide from the Arch Wiki.

https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#shim

 

I Dual boot Windows 11 and Arch with this shim.

shim is a solution devised and created by Matthew Garrett working on Fedora for Red Hat, and made open source so that everyone can benefit.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×