Rescue my 15.0 install
Hi.
I've had to have my motherboard replaced by a friend, complete with BIOS - such are my present limitations. I swapped an MSI with an Asrock board, so no clever tricks are possible. So although my Slackware-15.0 install is present & correct, it's invisible as an OS until I import some .der file into the new bios, if my understanding of UEFI is correct. The good news is that somehow Debian bookworm on sdb survived the motherboard swap. I can boot linux, and even installed mokutil in ?Debian. Efibootmgr doesn't see Slackware. I'd like Slackware-15.0 back, as I have a registered masterpdf in there which doesn't travel well. Somebody must have written this up and a link to the Slackware .der file would also be wonderful pls. |
Quote:
So Slackware is not compatible with your new motherboard. Not even Slackware-current. |
|
Debian uses shim for secure boot. Here is an extract from the Debian wiki describing how to access the MOK keys that shim has registered. https://wiki.debian.org/SecureBoot. In theory, you should be able to use the shim MOK private key to sign the Slackware kernel and any modules you want it to load.
|
Quote:
|
Thanks for the replies, guys. Judging by the variety I must have expressed myself very badly.
Slackware-15.0 was the default boot option under secure boot from my NVME. The EFI partition is present & correct, and I added a section for debian on a second hd. Then we removed the MSI motherboard, and replaced it with an Asrock motherboard (Same cpu, ram, chipset, pcie cards). It probably has similar or identical BIOS. Now, windows is default, but debian can be selected. The EFI entry for Slackware is present & correct but it isn't listed as a boot option even though it'd boot option 0000. efibootmgr does list it in the boot, but the BIOS doesn't. I feel sure I'm not in ultra-secure boot mode because it's the manufacturer's setting, and he'd only get all the new boards returned as defective if he set them up that way. Somebody just took out one m/b, put in another, and tested it in windows. Now, is THAT any clearer? |
You haven't answered the question about whether you disabled secure boot. By default, Slackware won't boot with it on.
Of course it can be done, but you must follow the steps in the document linked by Petri above. |
Some questions and a suggestion...
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
That desire as I understand it will depend on whether your Windows version is 7, 10, or 11. 7 can be made to boot with Secure Boot from EFI, 10 defaults that way but will run absent Secure Boot, and AFAIK 11 may require both. It might be wise if Debian uses Grub to either manually add Slackware to Grub or enable the "OS Prober" function to autodetect and boot Slack. Another option would be to try the Slackware Installation media or build a rEFInd USB stick which will detect any possibly bootable kernel and attempt to boot it. Assuming Slackware's "/efi/EFI/Slackware exists" (possibly even without it) it should boot. Good Fortune! |
Quote:
Quote:
Quote:
Quote:
|
Quote:
Do you actually need two separate bootloaders for Debian and Slackware? |
Quote:
regards Henrik |
Thanks for all the replies, lady & gentlemen. Some things Have become clear to me
* I have been misusing the term "Secure Boot". Sorry for any confusion. The box is on the m/b default setting, and I presume they don't want customers unable to boot. * I referenced an output from efibootmgr which had windows as #1 in the Boot Order and which allowed me to insert Slackware in as Boot order 0000. That wasn't connected to reality. It was wrong. * Debian gives me the following boot order Code:
dec@Ebony:~$ sudo efibootmgr Code:
dec@Ebony:~$ sudo gdisk -l /dev/nvme0n1 |
Is windows version 11 or 10? I believe 11 requires secure boot. Sometimes default is secure boot on if Windows 11 is intended OS. When you switch mobo slackware key for secure boot is maybe no longer good? Process can maybe be redone from linux live usb that supports secure boot mounting slackware partition? This is advanced stuff for experienced slackware person who has taken an interest in getting it to work, which I am not, and I am not willing to become one as I would never install windows product outside VM. Or, if secure boot is off, use slackware installer usb as boot for slackware partition to start and go from there.
|
Quote:
You can also have "Other OS" as an option near the "Secure Boot" options. |
Quote:
Quote:
Code:
mokutil --sb-state |
All times are GMT -5. The time now is 02:18 AM. |