Results 1 to 3 of 3

Thread: 9.1: Install grub 2.x for secure boot

  1. #1
    Junior Member registered user
    Join Date
    Sep 2009
    Posts
    21

    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

  2. #2
    Junior Member registered user
    Join Date
    Sep 2009
    Posts
    21
    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

  3. #3
    Junior Member registered user
    Join Date
    Sep 2009
    Posts
    21
    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
  •  


HP Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro, WiFi BT picture

HP Desktop PC i7 8th Gen, up to 64GB RAM, 4TB SSD, Windows 11/10 Pro, WiFi BT

$179.00



Dell Desktop Computer PC i5, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi picture

Dell Desktop Computer PC i5, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi

$119.00



AMD Ryzen 7 5700 8-Core, 16-Thread Desktop Processor picture

AMD Ryzen 7 5700 8-Core, 16-Thread Desktop Processor

$183.18



Lenovo Yoga 6th Gen ThinkPad 11e 2-in-1 Laptop Windows 11 Pro. 8GB RAM 256GB SSD picture

Lenovo Yoga 6th Gen ThinkPad 11e 2-in-1 Laptop Windows 11 Pro. 8GB RAM 256GB SSD

$116.00



Intel Core i9-12900KF Unlocked Desktop Processor picture

Intel Core i9-12900KF Unlocked Desktop Processor

$299.99



New AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor OEM Tray picture

New AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor OEM Tray

$129.99



Intel Core i7-9700 3.00GHz 8 Core (SRG13) Processor picture

Intel Core i7-9700 3.00GHz 8 Core (SRG13) Processor

$105.00



(New) AMD Ryzen 7 5700X3D 8-Core 16-Thread 4.1GHz Socket AM4 CPU OEM Tray picture

(New) AMD Ryzen 7 5700X3D 8-Core 16-Thread 4.1GHz Socket AM4 CPU OEM Tray

$259.99



DELL Desktop Computer PC i7/i5,Up to 64GB RAM,14TB SSD/HDD,Windows 10/11, WiFi picture

DELL Desktop Computer PC i7/i5,Up to 64GB RAM,14TB SSD/HDD,Windows 10/11, WiFi

$139.00



HP ProBook 640 G5 Laptop 14

HP ProBook 640 G5 Laptop 14" Windows 11 Quad-Core i5 4.1GHz 8GB RAM 128GB SSD

$172.38