Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 21:03:55 +0100
From:      Matthias Fechner <idefix@fechner.net>
To:        =?UTF-8?Q?Trond_Endrest=c3=b8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Switch from legacy to UEFI boot??
Message-ID:  <56BCE92B.7030600@fechner.net>
In-Reply-To: <alpine.BSF.2.20.1602110945020.55912@mail.fig.ol.no>
References:  <20160203213414.GB60231@rancor.immure.com> <alpine.BSF.2.20.1602040842580.1065@mail.fig.ol.no> <56B353E5.9080605@fechner.net> <alpine.BSF.2.20.1602041447560.1065@mail.fig.ol.no> <56BB9BDE.6030706@fechner.net> <alpine.BSF.2.20.1602110945020.55912@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56BCE92B.7030600>