Switch from legacy to UEFI boot??
krad
kraduk at gmail.com
Thu Feb 11 21:27:19 UTC 2016
This is my working layout if it helps
# find /boot/efi/
/boot/efi/
/boot/efi/efi
/boot/efi/efi/boot
/boot/efi/efi/boot/bootx64.efi
# gpart show
=> 34 117231341 ada0 GPT (56G)
34 1024 1 freebsd-boot (512K)
1058 6 - free - (3.0K)
1064 262144 2 efi (128M)
263208 3932154 4 freebsd-swap (1.9G)
4195362 113036013 3 freebsd-zfs (54G)
# mount -p | grep efi
/dev/ada0p2 /boot/efi msdosfs rw 0 0
On 11 February 2016 at 20:03, Matthias Fechner <idefix at fechner.net> wrote:
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list