Re: changing ext. USB disk to UEFI boot

From: Matthias Apitz <guru_at_unixarea.de>
Date: Wed, 03 Apr 2024 13:53:21 UTC
Thanks. Here is the one I've now:

# gpart show da0
=>        40  1953525088  da0  GPT  (932G)
          40        1024    1  freebsd-boot  (512K)
        1064         984       - free -  (492K)
        2048   536870912    2  freebsd-ufs  (256G)
   536872960       81920    3  efi  (40M)
   536954880     4112384       - free -  (2.0G)
   541067264  1412456448    4  freebsd-ufs  (674G)
  1953523712        1416       - free -  (708K)

and da0p3 contain im msdosfs:

# ls -l /mnt/EFI/BOOT/BOOTX64.efi
-rwxr-xr-x  1 root wheel 659968  3 abr.  15:41 /mnt/EFI/BOOT/BOOTX64.efi

But, it is not seen by the ASUS laptop as boot device :-(

The USB key, which is detected, looks like this:

# gpart show da0
=>       1  61439999  da0  MBR  (29G)
         1     66584    1  efi  (33M)
     66585  60817424    2  freebsd  [active]  (29G)
  60884009    555991       - free -  (271M)


Any ideas?

	matthias



-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub