LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-25-2018, 02:44 PM   #1
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
BIOS - disabling Secure Boot when UEFI Boot Mode is active


I was using the Slax Linux live image for ages. The Slax developer considered recently to switch from Slackware to Debian as the base for his Live image and I was looking at AlienBob's Slackware Live images for an alternative. (constantly following his inputs on the subject here on the LQ Forum too)

Recently I had a short intervention in this thread:
https://www.linuxquestions.org/quest...3/#post5823689
and considered this UEFI-SecureBoot an actual and interesting topic to talk about. By trying not to interfere (off-topic) with the thread above, I just opened a new one.

A little background, I've always tried to avoid using the UEFI extension and configured the BIOS Boot Mode to Legacy. In the last period I started to fiddle with UEFI and SecureBoot and got into some scenarios in which I was unable to disable this SecureBoot once UEFI Boot Mode was active. There were some recent Intel KabyLake systems (laptops/desktops) on which the SecureBoot was active and greyed out (unable to disable it). Some of these systems were preloaded with Windows 10 and presumably had already a platform key provisioned.
https://en.wikipedia.org/wiki/Unifie...ce#Secure_boot

I did some research about this SecureBoot and got some explanations, ways to disable it, that I'll try to categorize in 3 sections:

1. There must be a Supervisor Password defined in order to be able to disable SecureBoot - tested this on an Acer i7 KabyLake system, unfortunately the only system, out of the ones I had issues disabling SecureBoot, that I still have access on:
https://community.acer.com/en/discus...cure-boot-mood

2. On a system on which Windows 8/10 was already installed you'll need to remove the key from within the tools/menus that Windows 8/10 is providing in order to be able to disable the SecureBoot. (a Supervisor Password - as in point 1 might override this - have nowhere to test it):
https://h30434.www3.hp.com/t5/Notebo...t/true#M432145
https://www.top-password.com/knowled...y-support.html

3. All the other scenarios in which the vendor (usually on cheaper "Win"-systems that were preloaded with win 8/10) has disabled this SecureBoot switching in the BIOS, the BIOS might need an update, etc.:
https://ubuntuforums.org/showthread.php?t=2129119
https://www.asus.com/support/FAQ/1016356/


This post/thread is pure informative and therefore I'll put it on resolved. However, feel free to correct me, complete it, add your experiences, etc.
Thanks in advance for your attention & feedback


P.S. I don't know exactly what it takes for AlienBob to register (sign) his work and use SecureBoot. This post might have no value at all once that is done.
 
Old 02-27-2018, 06:57 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,976

Rep: Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623Reputation: 3623
More general information.

Almost every bios is different so your mileage may vary. Ways to or if at all possible may depend on the writer of the bios code.


Bios may have a few key positions available. You may not have to delete windows keys.

I get the feeling I have read about a way to use a different distro that has keys to get your distro running.

As with legacy bios, we may never see common code being used.


https://www.linux.com/sites/lcom/fil..._platforms.pdf

https://www.pcworld.com/article/2951...t-enabled.html

https://wiki.archlinux.org/index.php...ed_boot_loader

Last edited by jefro; 02-27-2018 at 07:00 PM.
 
1 members found this post helpful.
Old 02-28-2018, 05:46 PM   #3
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Original Poster
Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Thank you jefro for the completion!

I was in total denial about this UEFI extension for the past years and missed some of the developments. I'm still configuring the BIOS Boot Mode on Legacy (hopefully I'll be still able to do it on future systems) and using the lilo boot loader under Slackware.

You're right, the ability to disable this SecureBoot feature is at the discretion/mercy of the BIOS vendor and is not a prerequisite for Windows 10 anymore. Therefore, on these new "Win10 designed" systems the vendor might "forget" to give the user the ability to disable SecureBoot.
I also had no clue about the ability to store more platform keys and asked myself how can you have a dual OS system booting on UEFI using SecureBoot, this ability seems also to be something only the vendor can decide upon.

This article is condensed and covers some aspects of the SecureBoot feature:
https://www.howtogeek.com/116569/htg...ans-for-linux/
"For Windows 10 PCs, this is no longer mandatory. PC manufacturers can choose to enable Secure Boot and not give users a way to turn it off. However, we’re not actually aware of any PC manufacturers that do this."

Out of the article above I also learned what it takes for a Linux distribution to get its shim signed by Microsoft (the only commercial company that embraced the signing, RedHat apparently had no time/competencies/interest to get involved):
"Linux distributions can pay a one-time fee of $99 to access the Microsoft Sysdev portal, where they can apply to have their boot loaders signed."
And some goats are needed too:
https://wiki.debian.org/SecureBoot#Sacrifice_goats

RE P.S.
@ AlienBob - sorry for the P.S. in my original post, I understand now that it was a (very) wrong question
 
  


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
If you disable Secure Boot, is UEFI still more secure than BIOS boot? Ulysses_ Linux - Security 4 05-30-2017 10:08 AM
disabling secure boot when secure boot is not an option in BIOS? chexmix Slackware 10 05-28-2015 06:13 PM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
LXer: Now You Can Boot Any Linux Distro On UEFI Secure Boot PCs LXer Syndicated Linux News 2 12-16-2012 06:47 AM
LXer: Microsoft Says No to Disabling UEFI Secure Boot on ARM LXer Syndicated Linux News 0 01-16-2012 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 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