Switch from legacy to UEFI boot??

Matthias Fechner idefix at fechner.net
Thu Feb 11 20:04:04 UTC 2016


Am 11.02.2016 um 09:58 schrieb Trond Endrestøl:
> I don't use any loader.rc on the ESP. Just boot1.efi renamed to 
> /EFI/BOOT/BOOTX64.EFI. boot1.efi reads the bootfs property from the 
> bootpool/rootpool, and navigates to the correct /boot directory to 
> find everything else.

I tried it is using the loader.efi and the boot1.efi (stored in as
efi/boot/BOOTx64.efi).
If I remove the loader.rc it will stop booting.
I get:
can't load 'kernel'

if I type:
set currdev=zfs:zroot/ROOT/default:
load boot/kernel/kernel
load boot/kernel/zfs.ko
boot

it works.
The bootfs property is set on the pool:
root at test1:~ # zpool get bootfs
NAME   PROPERTY  VALUE               SOURCE
zroot  bootfs    zroot/ROOT/default  local


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook


More information about the freebsd-questions mailing list