4

I´ve fully installed ubuntu 15.10 16.04 on an USB stick (no chroot/permanent live install), and managed to have it booting to BIOS as well as to UEFI.

How can I get secure boot working also on multiple machines?

I tried

sudo apt-get install linux-signed-generic  grub-efi-amd64-signed Shim-signed 

followed by

sudo grub-install --uefi-secure-boot # --force  

what led to the fact that it was indeed able to secure boot on the machine where I did that, but there ONLY.

I thought it must be possible somehow, as it is also possible to boot the ubuntu install stick created with rufus with secure boot enabled, and that´s not bound to any machine. Maybe I´m thinking wrong on this, so I´d be glad on any help, searching for days already.

EDIT: Upgraded to 16.04, but did not change anything.

Thanks!

1 Answers1

0

this command solved my problem now:

grub-install --efi-directory /mnt/esp --boot-directory /mnt/rootfs/boot --target x86_64-efi --removable /dev/sdb --uefi-secure-boot

this finally lets me boot on uefi systems with secure boot enabled. the only errors I get while booting is

error: file ´/boot/' not found.
error: no such device: /.disk/info.

it´s no real problem as it still boots, but if you have an idea what causes it and how to solve, I´d be thankful for any hint. error: no such device: /.disk/mini-info.