Switch from legacy to UEFI boot??

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Fri Feb 12 07:29:08 UTC 2016


On Thu, 11 Feb 2016 21:03+0100, Matthias Fechner 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

Strange. Yesterday, I installed 10.3-BETA1 using bsdinstaller and ZFS 
on a UEFI VM in VirtualBox 5.0.14. It's a simple single disk layout. 

The ESP contains nothing more than the boot1.efi disquised as 
/EFI/BOOT/BOOTX64.EFI, i.e. the contents of the /boot/boot1.efifat 
image. The bootfs property points to zroot/ROOT/default, and 
everything else resides in the zpool.

Somehow your setup is different.

-- 
+-------------------------------+------------------------------------+
| Vennlig hilsen,               | Best regards,                      |
| Trond Endrestøl,              | Trond Endrestøl,                   |
| IT-ansvarlig,                 | System administrator,              |
| Fagskolen Innlandet,          | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,       | Cellular...: +47 952 62 567,       |
| sentralbord 61 14 54 00.      | Switchboard: +47 61 14 54 00.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list