LinuxQuestions.org
Review your favorite Linux distribution.
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 06-28-2021, 10:42 AM   #46
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402

Quote:
Originally Posted by Roman Dyaba View Post
What is "Dial Boot" ? ;-)
The Dual Boot is the method of installation of two operating systems side by side, on different partitions or disks.

For example, having Windows on its own partition(s) and Slackware on its own partition(s), with ability to chose which one starts, on the bootloader screen.
 
Old 06-28-2021, 10:51 AM   #47
Roman Dyaba
Member
 
Registered: Sep 2020
Location: Russia, 690016 Vladivostok city, street Osipenko home 66, tel: +79247350007
Distribution: Slackware, UbuntuStudio, FreeBSD, GhostBSD
Posts: 317

Rep: Reputation: 40
Talking

Quote:
Originally Posted by LuckyCyborg View Post
The Dual Boot is the method of installation of two operating systems side by side, on different partitions or disks.

For example, having Windows on its own partition(s) and Slackware on its own partition(s), with ability to chose which one starts, on the bootloader screen.
i know min 10 application for make this possible. i think is thread is snow ball to Win 11 testing.
I select free software.
Also know what more lucky is dual hdd with BIOS selection or virt.
Thank you !

Last edited by Roman Dyaba; 06-28-2021 at 10:52 AM. Reason: add letter K
 
Old 06-28-2021, 10:59 AM   #48
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by LuckyCyborg View Post
Did you really believe that John Doe will do this Slack-Fu, on his first try to install Slackware? I do not think so.

I will tell you what John Doe will do when he will see that the Slackware DVD does not boot: he will look right on for downloading the latest Ubuntu.

And to anybody who wants to hear him, he will testimony that Slackware is obsolete.
Slackware already comes with a USB boot image (usb-and-pxe-installers/usbboot.img). There is no reason why the slackware distribution could not provide the two boot images for secure boot installation using shim complete with images signed by a slackware key. The user's only additional step then to take is to enter the slackware key in the MOK, which is trivial. But in truth what would be even easier is to adjust usb-and-pxe-installers/usbboot.img so that it brings up PreLoader. I have indicated separately why that would not be my preferred option.

I am not arguing against the idea that slackware could also make its own EFI binaries, based on shim, which it could take to Microsoft for signature in the same way as Fedora does. But that does not seem to me to be essential: you need to have some idea about what you are doing to successfully install slackware anyway.
 
1 members found this post helpful.
Old 06-28-2021, 10:59 AM   #49
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by Roman Dyaba View Post
i know min 10 application for make this possible. i think is thread is snow ball to Win 11 testing.
I select free software.
Also know what more lucky is dual hdd with BIOS selection or virt.
Thank you !
Feel free to select the free software as much you want, BUT what you will do IF your motherboard is Secure Boot enabled only?

There are already tons of laptops which are this way. Even on my extended family are several.

Last edited by LuckyCyborg; 06-28-2021 at 11:15 AM.
 
Old 06-28-2021, 11:03 AM   #50
lonestar_italy
Member
 
Registered: Nov 2010
Location: Italy
Distribution: Slackware64-current
Posts: 172

Rep: Reputation: 67
Quote:
Originally Posted by chrisVV View Post
That's not correct. What is correct is that you need a prior working computer from which you can (i) download shim, (ii) generate a signing key and (iii) make two boot sticks.
Sorry, I didn't make myself clear. I know that what you said is a working way to install, and it's not terribly complicated for someone having average Slackware knowledge.

What I meant is that it would be a problem for someone who only has available the single PC where he needs to install Slackware with secureboot, and secureboot cannot be disabled on that pc.

It doesn't necessarily mean a newbie, but also an expert user who, for various reasons, doesn't have any other computer around at the moment that installation needs to be done.
 
1 members found this post helpful.
Old 06-28-2021, 12:32 PM   #51
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,549

Rep: Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402Reputation: 3402
Quote:
Originally Posted by chrisVV View Post
Slackware already comes with a USB boot image (usb-and-pxe-installers/usbboot.img). There is no reason why the slackware distribution could not provide the two boot images for secure boot installation using shim complete with images signed by a slackware key. The user's only additional step then to take is to enter the slackware key in the MOK, which is trivial. But in truth what would be even easier is to adjust usb-and-pxe-installers/usbboot.img so that it brings up PreLoader. I have indicated separately why that would not be my preferred option.

I am not arguing against the idea that slackware could also make its own EFI binaries, based on shim, which it could take to Microsoft for signature in the same way as Fedora does. But that does not seem to me to be essential: you need to have some idea about what you are doing to successfully install slackware anyway.
So, with the risk of some people bricking their computers, we should use self-generated MOK keys? What guarantee you that for some BIOSes "adding a new MOK key" does not mean also "purging the previous MOK keys" ?

And for what to do that?

For our BDFL saving of 250 dollars and the convenience of people playing with their custom kernels, we should accept the risk to have horror stories about how Slackware bricked computers?

With all respect, I believe that Slackware should use the most simple and secure way: with keys from Microsoft and signed kernels. As the other distributions do.

Those Gurus who love to compile custom kernels will find anyway an alternative way to play with MOKs too. Because they are Gurus, right?

Last edited by LuckyCyborg; 06-28-2021 at 01:04 PM.
 
Old 06-28-2021, 01:15 PM   #52
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by LuckyCyborg View Post
So, with the risk of some people bricking their computers, we should use self-generated MOK keys? What guarantee you that for some BIOSes "adding a new MOK key" does not mean also "purging the previous MOK keys"?
This is nonsense. First, MOK keys can't brick a computer and secondly "BIOSes" have nothing to do with adding MOK keys: the "BIOSes" (by which you really mean the EFI firmware) know nothing about MOK. The MOK list is only used by shim and PreLoader.
 
Old 06-28-2021, 02:01 PM   #53
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,646
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
So let me see if I understand this. There are built-in variables like the Microsoft key which the UEFI not only stores but understands and uses to determine what is bootable. And there are variables which can be stored in the UEFI's NVRAM by programs but which the UEFI itself does not use and does not care about. MOKs and kernel hashes are of the second kind: they allow programs like shim to make decisions about which kernels/modules can be loaded and run by a bootloader. Correct?
 
Old 06-28-2021, 03:23 PM   #54
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,795

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Quote:
Originally Posted by LuckyCyborg View Post
BUT what you will do IF your motherboard is Secure Boot enabled only?
Simple. I will never buy a PC like that.
 
3 members found this post helpful.
Old 06-28-2021, 03:32 PM   #55
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,587

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by enorbet View Post
Simple. I will never buy a PC like that.
I hope in the next 5 years we still have that choice. I wouldn't put it past MS to lock down things in their "extinguish" end of the chain.
 
2 members found this post helpful.
Old 06-28-2021, 03:37 PM   #56
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by hazel View Post
So let me see if I understand this. There are built-in variables like the Microsoft key which the UEFI not only stores but understands and uses to determine what is bootable. And there are variables which can be stored in the UEFI's NVRAM by programs but which the UEFI itself does not use and does not care about. MOKs and kernel hashes are of the second kind: they allow programs like shim to make decisions about which kernels/modules can be loaded and run by a bootloader. Correct?
To the best of my understanding, that's pretty much it. Some EFI variables, as stored in NVRAM, are required by the UEFI standard. The most notable of these hold the Platform Key (PK), Key Exchange Keys (KEK), signature database keys (db) and forbidden signature database keys (dbx). These amongst others are stored as secure variables: they cannot be changed unless in platform setup mode except in particular circumstances. The PK and KEK cannot be changed except by an update signed with the PK. The db and dbx cannot be changed except by an update signed by the KEK. Microsoft's public keys, one for their own EFI binaries and one for third party EFI binaries, are in db in pretty much all consumer computers. The PK and KEK keys are generally set up by the OEM, but most firmwares enable the user to enter setup mode to substitute his/her own. Such user installed keys have nothing to do with MOK, shim or PreLoader. They are a way by which a machine owner can set up secure boot to his/her own liking. Secure boot is not intended to protect a computer from the activities of a physically present person.

Possibly the advent of Windows 11 may affect the willingness of UEFI firmware writers to enable secure boot to be switched off and/or setup mode to be entered by those physically present. I have no idea on that. I imagine Microsoft would be pleased if they did for anti-competitive reasons and it looks as if Windows 11 won't run if secure boot is off.

The MOK list does not feature in the UEFI standard at all (the shim and PreLoader EFI binaries of course use the EFI BIOS firmware to write to, read and control access to the MOK keys, but MOK doesn't have any special meaning to UEFI). As I understand it, it is a layer on top of it. When secure boot was introduced Microsoft were persuaded, perhaps in fear of another anti-trust suit, to offer a service to sign third party EFI binaries and in due course they signed shim and PreLoader, which establish and use the MOK list to authenticate linux kernels. There is no chance they would sign PreLoader again, and it is possible that at some point that PreLoader may be shunted into the dbx, because it allows you to drive a coach and horses through secure boot. Exclusion via the dbx will probably happen the first time (if any) PreLoader is used to assist a back door attack on windows. Shim is pretty much OK because it requires the boot manager or loader it hands off to (in effect either grub or rEFInd) to authenticate the kernel it boots via db or MOK keys. It is possible shim may be enhanced to require kernel modules to be signed. At present that is not required but is an option the linux build system offers.
 
Old 06-28-2021, 03:37 PM   #57
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,189

Rep: Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382Reputation: 1382
At the risk of almost 0% contribution from my post - I will just say - I don't care. If I need Windows 11, I will do what I did with Windows 10 and use a VM, done and done.

-Edit

Also Windows 10 EOL is projected to be at 2025; so yea who cares. Anyone who needs to dual boot Windows (bare metal install), I would say stick with Windows 10 also; let the early adopters be the guinea pigs to the potential bugs of Windows 11, since Windows 10 is 'mature enough' for the early bugs to be dealt with.

Last edited by Jeebizz; 06-28-2021 at 03:41 PM.
 
2 members found this post helpful.
Old 06-28-2021, 03:59 PM   #58
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,795

Rep: Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436Reputation: 4436
Re: UEFI with SecureBoot locked in.

Quote:
Originally Posted by garpu View Post
I hope in the next 5 years we still have that choice. I wouldn't put it past MS to lock down things in their "extinguish" end of the chain.
It wouldn't be the first time I modded Firmware. Recently I modded a UEFI image for a 2014 Z77 mobo to get solid NVME support and, true, it wasn't as easy as it used to be (had to jump through flaming hoops to get it to flash a modded image name) but it was doable. It still runs almost every day as a streaming device.

Last edited by enorbet; 06-28-2021 at 04:01 PM.
 
1 members found this post helpful.
Old 06-28-2021, 04:02 PM   #59
GentleThotSeaMonkey
Member
 
Registered: Dec 2016
Posts: 338
Blog Entries: 4

Rep: Reputation: 128Reputation: 128
Could Slackware etc be equally useable in a VM? (VB/HyperV)

(excuse if this is n00b/dumb)

Could ALL Slackware (non-M$Win) users be *just as happy*
running in a VM (on M$locked hwd)?

Yea, M$ maybe soooooo desperate to fix (by locking) their hackable WinDoze,
that they may neglect the 2% 'collateral damage' from requiring
anything that runs their CrapWare to be 100.00% locked-down.

Any specific uses of Slackware that won't work in a VM?


IF I had a new Win11 PC, I wouldn't run anything except VirtualBox directly on it. Not even any web browser app. (except risking once, to download VB & a distro)

Last edited by GentleThotSeaMonkey; 06-28-2021 at 04:11 PM.
 
Old 06-28-2021, 04:52 PM   #60
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
It may be worth read the requirements from Microsoft to the OEM wrt Secure Boot for installing Windows. Caveat: this document is dated 07/29/2019.

Last edited by Didier Spaier; 06-28-2021 at 06:02 PM. Reason: Typo fix.
 
1 members found this post helpful.
  


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
[SOLVED] Dual boot without windows - Windows 10 UEFI dual boot with Metamorphose Panther(Debian/KDE) mithidieri Linux - Newbie 7 11-03-2017 12:10 AM
Dual boot Dual hdds, Download of ubuntu 10.1, no vista or dual boot jim d Linux - Newbie 4 11-25-2010 04:18 PM
Dual linux boot and dual windows boot together? Stuart36 Linux - General 8 05-01-2007 11:53 PM
Is Slackware 10.2 and WinXP Dual Boot Possible on a Thinkpad R40e TheGreatGonzo Slackware - Installation 8 02-24-2006 02:50 AM
If possible, could anyone give me exact instructions to dual-boot WinXP and Slackware crumb Linux - General 5 10-16-2003 10:41 PM

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

All times are GMT -5. The time now is 05:02 PM.

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