Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 21:27:17 +0000
From:      krad <kraduk@gmail.com>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>,  FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Switch from legacy to UEFI boot??
Message-ID:  <CALfReyfeqqFr7_pgfHdxdAFxvFcSS988DvbaewN1Ubh%2Bqz6Qzg@mail.gmail.com>
In-Reply-To: <56BCE92B.7030600@fechner.net>
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> <56BCE92B.7030600@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
=3D>       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@fechner.net> wrote:

> Am 11.02.2016 um 09:58 schrieb Trond Endrest=C3=B8l:
> > 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=3Dzfs: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=C3=9F
> 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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyfeqqFr7_pgfHdxdAFxvFcSS988DvbaewN1Ubh%2Bqz6Qzg>