Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2019 21:48:48 +0200
From:      Steffen Nurpmeso <steffen@sdaoden.eu>
To:        "O. Hartmann" <ohartmann@walstatt.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: HELP: UEFI/ZFS Boot failure: Ignoring Boot000A: Only one DP found
Message-ID:  <20190821194848.CSX4D%steffen@sdaoden.eu>
In-Reply-To: <20190821145234.6fe455b4@freyja>
References:  <20190821145234.6fe455b4@freyja>

next in thread | previous in thread | raw e-mail | index | archive | help
O. Hartmann wrote in <20190821145234.6fe455b4@freyja>:
 |I ran into serious trouble booting several boxes off UEFI. On modern \
 |hardware,
 |the ESP is around 200 - 300 MB in size and usually I install
 |/efi/freebsd/loader.efi, loader.efi taken from /boot/loader.efi. On \
 |some older
 |hardware, specifically on a Lenovo E540 with latest available firmware \
 |(2.28),
 |which uses 12-STABLE and a ZFS-only installation, there seems no working \
 |loader
 |anymore!
 |The installation of the Laptop has been performed using 12.0-PRERELEASE \
 |on an
 |Samsung EVO 860 500GB SSD. The ESP is 200M in size and contained
 |/efi/boot/BOOTx64.efi and /efi/boot/startup.nsh.

It may be that the Lenovo BIOS/firmware searches for that specific
Microsoft location

  EFI/Microsoft/Boot/bootmgfw.efi

Onto which i radically (according to docu) moved refind_x64.efi:

  #?0|kent:~# ll /mnt/EFI/Microsoft/Boot/bootmg*
  -rwxr-xr-x 1 root root 1453056 Sep 14  2018 /mnt/EFI/Microsoft/Boot/bootmgr.efi
  -rwxr-xr-x 1 root root 1469752 Mar 21 17:43 /mnt/EFI/Microsoft/Boot/bootmgfw.efi.safe
  -rwxr-xr-x 1 root root  208776 Mar 21 17:43 /mnt/EFI/Microsoft/Boot/bootmgfw.efi

and that now finds its normal installation (etc.), simply copied
via cp(1):

  #?0|kent:~# ll /mnt/EFI/refind/
  total 260
  drwxr-xr-x 2 root root   4096 Mar 21 17:13 drivers_x64
  -rwxr-xr-x 1 root root 208776 Mar 21 17:14 refind_x64.efi
  drwxr-xr-x 3 root root   8192 Mar 21 17:18 icons
  drwxr-xr-x 2 root root   4096 Apr  8 13:39 vars
  drwxr-xr-x 5 root root   4096 Apr  8 13:39 ..
  -rwxr-xr-x 1 root root  32233 Apr 16 22:55 refind.conf
  drwxr-xr-x 5 root root   4096 Apr 16 22:55 .

  ...
 |What is wrong here? What am I missing?

Maybe that helps.

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190821194848.CSX4D%steffen>