5 ms·
So does that mean no dual-booting? If so, sorry MS - this is a great step, but no sale yet.
by leggomylibro 9y ago
So does that mean no dual-booting?
If so, sorry MS - this is a great step, but no sale yet.
- Nullabillity 9y agoIt's more insidious than that. The big distros have been signed and will probably work, but recompiling your kernel, using less common distros, or using third-party modules won't.
- geofft 9y agoIf they're signing Ubuntu's ARM shim loader the same way they're signing Ubuntu's x86-64 shim loader, you can use it to boot an arbitrary kernel in non-EFI mode. I am using this on my personal laptop to to boot Debian stable with Debian's kernel - grab shimx64.efi + grubx64.efi from Ubuntu, put them in the ESP, and write a little grub.cfg that sets $root and $prefix to the Debian partition and runs `normal`. Since you're exiting UEFI boot services before running unsigned code, Microsoft (apparently?) does not care. Also, if they're signing any Linux distro's shim loader, shim allows a physically present user to enroll their own key or disable secure boot. See method 3 at https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS https://wiki.ubuntu.com/UEFI/SecureBoot/DKMS . (I don't actually know if they are signing any Linux shim for ARM - https://wiki.ubuntu.com/UEFI/SecureBoot/Testing#UEFI.2FSecureBoot.Supported_architectures https://wiki.ubuntu.com/UEFI/SecureBoot/Testing#UEFI.2FSecur... implies no. Which means you can't use any version of Linux on it, unless they change their policy.)
- Nullabillity 9y agoAFAIK that's just another way to switch to Custom Mode.
- geofft 9y agoWhich? The first one (the one I'm running on my laptop) doesn't involve custom mode at all - I'm using an MS-signed bootloader to exit boot services and do some stuff, with no changes to SecureBoot or PK or any other variables. I have an actual Secure Boot-enabled platform with only Microsoft keys enrolled. The rest involve changing EFI variables, yes, but my impression is that "Custom Mode" refers to a UI in the BIOS which permits you to change the variables, and those variables are always writable by code running in boot services. The requirements say, "On non-ARM systems, the platform MUST implement the ability for a physically present user to select between two Secure Boot modes in firmware setup: 'Custom' and 'Standard'." Nothing I'm suggesting involves going to firmware setup.
- mjg59 9y agoMicrosoft won't sign third-party ARM drivers or bootloaders.
- swiley 9y agoIt makes absolutely no sense to do that. You get no added security at the cost of having to use non-free software.
- dingo_bat 9y agoTo be honest secure boot has very little to do with actual security anyway.
- djsumdog 9y agoIn theory, if you enable signature checking in Grub, sign your kernel, add that key to Grub, sign Grub, import that key into the UEFI, delete all the stock (Microsoft) keys and use full disk encryption (use the luks module in grub and place an unlocking key in the initrd) .. then in theory, it should be very difficult for someone to reformat and fency your stolen laptop. I've got the full disk encryption working with luks/grub (you do have to unlock the device twice, one for grub to read its stage2 and one in the initrd for the kernel), I just haven't gotten around to trying to re-enable secure boot.
- dingo_bat 9y agoI get that. But as you can surely see, this is not a common use case at all. Less than 1% (number pulled out of the ass) of regular consumers get their laptop stolen. Then among those, very little percentage of people actually care (enough to pay somebody to to secure the laptop properly) about the data stored in the machine. Mandating secure boot and making legit consumers to go through all that just to run their own os is simply bullshit. It's just a method to lock down the machine.
- cwyers 9y agoYour ass-pull laptop theft rate of 1% is still roughly four times the use rate of Linux in the Steam Hardware Survey. Installing your own OS is not a common use case at all, either.
- criddell 9y agoYou can't sign something you compile?
- Nullabillity 9y agoIt has to be signed with Microsoft's key.
- roryisok 9y agoWait, so you can install other OSes on this? The "big distros" such as Ubuntu, Redhat etc?
- Nullabillity 9y agoApparently it seems like I was wrong on that for now, according to mjg59[0]. [0]: https://news.ycombinator.com/item?id=15855904 https://news.ycombinator.com/item?id=15855904