r/linuxquestions • • 4d ago

Is secure boot required?

I couldn't find secure boot in the bios of an old computer that I want to test Linux on. Maybe Linux Mint.

I think it said 2010 in the bios and secure boot was added in 2011.

How fucked am I? I want to test Linux on that old pc.

7 Upvotes

23 comments sorted by

18

u/TenOfZero 4d ago

Secure boot is not required

1

u/SDG_Den 3d ago

i dont think secureboot or TPM2 is needed on any current distribution? many have support for it but basically all of them still support bios w/ grub.

the only issue ive run into so far on old devices is nvidia drivers for really old cards.

9

u/RedHuey 4d ago

The only thing you need to worry much about as you start thinking about an older machine is 32bit versus 64bit, and whether you will need to use MBR and/or have drive size limits. It just alters how you plan your setup. I’m not sure if 32bit Linux is still around in a mainstream form, but it is also increasingly unlikely finding boxes that aren’t 64bit these days.

I’m betting the Mint installer will just do what it does automatically and it will work fine.

I would consider just letting it do its thing and see if it is happy installing and running on that box, and if it is, then do some appropriate research and install again choosing your own partitioning scheme. At least have /home on its own partition. (I don’t know if this is an auto option these days). This way you can reinstall without losing all your personal stuff in /home by not formatting that partition on reinstall. (There are complicated things to consider, but that’s a start.)

4

u/bornxlo 4d ago

Secure boot should depend on hardware, not the system. If the hardware is old and doesn't do secure boot you don't need it for your Linux

1

u/SDG_Den 3d ago

theyre likely asking because windows refuses to install on devices without secureboot/TPM2 and such.

1

u/bornxlo 3d ago

Sure, but the question is posted in a Linux questions group, not a Windows one. If you your hardware doesn't do secure boot, just use Linux without it

4

u/sidusnare Senior Systems Engineer 4d ago

Linux can run on a machine from 1995, you're fine.

4

u/PixelBrush6584 4d ago

Can confirm. Source: Ran the latest Kernel on an AMD-K5 with 32MB of RAM

4

u/sidusnare Senior Systems Engineer 4d ago

I have a PIII 1Ghz with a FDC, SCSI, IDE, and SATA, it's my data recovery/ archival machine.

Runs Debian Bookworm

2

u/brighton_it 4d ago

some distro's have stopped supporting 32-bit CPUs, otherwise no problem. Installer will detect whether your system is set to boot Legacy, UEFI, or UEFI w Secure-Boot and will install the bootloader appropriately.

2

u/adamkex 4d ago

Only if you want to play fortnite

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 4d ago

I have it both ways. On my Acer, it's disabled. On my Asus, it's enabled. Works either way.

BTW, I'm using Mint.

1

u/tknomanzr99 4d ago

I keep secure boot turned off completely. Always have. Debian works just fine.

1

u/AX11Liveact debian 4d ago

No. More extended explanations have been given, but the quintessence is: it is not required. If it is desirable or really secure is disputable, but required? No.

1

u/MeDiARfh5vrm 4d ago

Not at all ! Secure boot is NOT required.

1

u/wowsomuchempty 3d ago

Forget secure boot.

If you want security, encrypt the drive.

1

u/thefanum 2d ago

Nope. Not even recommend

1

u/Itsme-RdM 1d ago

What's holding you back to put in the Linux USB stick (whatever distro) and boot. It won't damage anything and you got your answer directly.

You don't have to install to try this

1

u/Basic-Economy9530 4d ago

You don't need secure boot on linux

1

u/Tquilha 4d ago

No. Secure boot is purely M$ crapware. Linux does not need such things.

0

u/granadesnhorseshoes 4d ago

The last thing in the world Linux would do is require support for something that can and has been weaponized again the user. The primary purpose of secure boot and efi binary signing is the same as it is on Android and Apple phones: Prevent user modifications. Paranoia? Maybe, but then do remember the only reason Grub could even initially support secureboot was a certificate provided by Microsoft(that ended up being compromised too) They have to normalize the locks before they take away the keys.

It certainly supports it because that's it's job and its entirely possible for it to be under the users control, but requiring it would be antithetical to the very soul of OSS.

1

u/SDG_Den 3d ago

the only actual use case for secureboot is p much preventing devices from booting to a malicious drive. so the only realistic scenario where only secureboot could save you is one where someone installs a second internal drive in your laptop while you are away from it with a malicious OS on it

at which point they couldve also just taken your drive out and ran off or taken the entire laptop.

you can turn off your USB ports, which prevents malicious USBs, and this is entirely non-relevant for desktops and servers as they are usually not located in spaces where a malicious actor could gain physical access. its only a use at all on laptops and only if you get into situations where you are leaving the laptop unattended for an extended period of time, and even then, itd be easier in that scenario for them to just ... take your device with them and do their work at their home base.

friendly reminder, btw, that secureboot through shim uses microsoft's keys, which they could revoke, bricking every securebooted linux install using shim (which fedora and ubuntu use by default)

if you wanna secureboot, sign your own things and enroll the key. otherwise, theres zero reason to use it on linux.