Ubuntu installed, now sign things for Secure Boot
by SamHobbs from LinuxQuestions.org on (#5SHA2)
I used Install Ubuntu desktop to install Ubuntu into a portable drive. When I try it I get:
Code:error: /boot/vmlinuz-5.11.0-41-generic has invalid signature
error: you need to load the kernel first.Many people just disable Secure Boot but that applies to all operating systems in the system so I do not want that.
I found How to sign things for Secure Boot but I am not sure how much of that, if any, can be done using Windows Subsystem for Linux. I have Ubuntu on a USB thumb drive if that will work and if WSL will not. I have gotten to the Certificates in shim section; I have MOK.priv and MOK.der files in my WSL's user directory. After that the instructions include restarting the system and messing with the kernel so I suspect I cannot use WSl to do that much at least. WSL cannot access the files in the Ubuntu in the portable drive. If I must I can redo everything using the thumb drive Ubuntu; at least I know how to do as much as I have done. But since the thumb drive Ubuntu is not persistent I might not be able use it either. I have another thumb drive with Puppy Linux but that stopped working; if I must I can try to get it working.
Code:error: /boot/vmlinuz-5.11.0-41-generic has invalid signature
error: you need to load the kernel first.Many people just disable Secure Boot but that applies to all operating systems in the system so I do not want that.
I found How to sign things for Secure Boot but I am not sure how much of that, if any, can be done using Windows Subsystem for Linux. I have Ubuntu on a USB thumb drive if that will work and if WSL will not. I have gotten to the Certificates in shim section; I have MOK.priv and MOK.der files in my WSL's user directory. After that the instructions include restarting the system and messing with the kernel so I suspect I cannot use WSl to do that much at least. WSL cannot access the files in the Ubuntu in the portable drive. If I must I can redo everything using the thumb drive Ubuntu; at least I know how to do as much as I have done. But since the thumb drive Ubuntu is not persistent I might not be able use it either. I have another thumb drive with Puppy Linux but that stopped working; if I must I can try to get it working.