-
Junior Member
registered user
9.1: Install grub 2.x for secure boot
Hello,
I used the following steps to install grub 2.0 under knoppix 9.1
Code:
mkfs.fat -F32 /dev/sdb1
mount -t vfat /dev/sdb1 /media/sdb1
apt-get install grub-efi-amd64-signed
grub-install --boot-directory=/media/sdb1/boot --efi-directory=/media/sdb1 --uefi-secure-boot
But after boot I got the red sign which alerts that some files are not signed.
Can you please advise what is missing in my steps ?
I found the following link:
http://www.fit-pc.com/wiki/index.php/Linux:_Secure_Boot
I wonder if I need this complicated procedure with knoppix.
Thank you,
Zvika
-
Junior Member
registered user
Hello,
Thanks to the huge help I got in the grub mail list, grub is now booting under secure boot.
I had 2 problems:
1. The shim packages I had are for i386 not amd64. So I installed the right shim packages.
2. I had to run grub-install under knoppix 9.1 which was booted in secure boot=enable in BIOS.
Till I did it, I got the following warning:
Quote:
grub-install: warning: EFI variables are not supported on this system. |
Thank you,
Zvika
-
Junior Member
registered user
Hello,
According to the following link:
https://www.youtube.com/watch?v=6JhMSKvf6Kw
The "EFI variables are not supported on this system" can be fixed by running:
modprobe efivarfs
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
According to few links I found, the cause is that Knoppinx (in my case) is booting from USB stick.
I think (not sure) this is a BUG.
Thank you,
Zvika
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard (No I/O Plate)
$39.99
MSI H81M-P33 Desktop Motherboard Intel MicroATX Socket LGA1150 USB 3.0 W/IO
$26.99
ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard
$84.99
Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM
$26.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$33.43
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3
$23.99
ASUS H87I-PLUS, LGA 1150, Intel Motherboard w/ IO Shield
$39.00
MSI B550 Gaming Plus AMD Socket AM4 PCle 4.0 SSD Ready Desktop Motherboard
$76.49
MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard
$107.30
Gigabyte GA-Q170M-D3H-GSM LGA1151 DDR4 Desktop Motherboard with I/O Plate
$49.99