Re: rEFInd - a UEFI boot selector

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 02 Oct 2022 08:31:45 UTC
On Sat, 24 Sep 2022 18:23:11 +0900
masa@amogha.jp () wrote:

>  
> 
> Subject 
>  legacy BIOS UEFI 
> 
> 
> 
> 
>         https://efi.akeo.ie/downloads/efifs-1.9/x64/zfs_x64.efi
> 
>  rEFInd 
> 
> ufs2_x64.efi 
> 
> 
> 
> 
>  gpt  FreeBSD 
>  multi-boot
> Windows, Linux, Ubunstu, Debian OS
> 
>  FreeBSD 
> OSOS
> 
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229770
> 
> Masachika ISHIZUKA
> 
> boot1.efi  loader.efi 
> 
> 
>  gnu grub2 
> 
> rEFInd
> rEFInd FreeBSD
> 
> ESP /EFI/BOOT/REFIND.CONF 
> 
> menuentry "loader.efi of FreeBSD13.1" {
>     loader /EFI/Boot/loader.efi
>     icon /EFI/Boot/ICONS/os_freebsd.png
> options "rootdev=zfs:fbsd131/ROOT/default:"
> }
> 
>  options 
> 
> 
> https://www.ish.org/blog/?p=2271 
> 
>     P.P.S. refind 0.12.0optionsloader.efi
>     parameteroptions
>     2optionsdummy
>     0.12.0
> 
> 
> 
> options "rootdev=zfs:fbsd131/ROOT/default: rootdev=zfs:fbsd131/ROOT/default:"
> 
> 
> 
> 
> 
> https://www.starlink.jp/freebsd/boot-from-another-fbsd-partition/
> 
>  volume 
> 
> % gpart show ada0
> =>        34  1953525101  ada0  GPT  (932G)
>           34        1600     1  bios-boot  (800K)
>         1634         414     2  freebsd-boot  (207K)
>         2048      204800     3  efi  (100M)
>       206848     6291456     4  freebsd-ufs  (3.0G)
>      6498304     6291456     5  freebsd-zfs  (3.0G)
>     12789760     6291456     6  freebsd-ufs  (3.0G)
>     ()
> 
>  REFIND.CONF 
> 
> menuentry "ufs2 driver test ada0p6" {
>     volume 521461b8-3b05-11ed-9405-3417eb9e0b90
>     loader /boot/loader.efi
>     icon /boot/images/freebsd-logo-rev.png
> }
> 
>  volume 
> ada0p6  rawuuid gpart list 
> 
> 14. Name: ada0p6
>    Mediasize: 3221225472 (3.0G)
>    Sectorsize: 512
>    Stripesize: 4096
>    Stripeoffset: 0
>    Mode: r1w1e1
>    efimedia: HD(6,GPT,521461b8-3b05-11ed-9405-3417eb9e0b90,0xc32800,0x600000)
>    rawuuid: 521461b8-3b05-11ed-9405-3417eb9e0b90
>    rawtype: 516e7cb6-6ecf-11d6-8ff8-00022d09712b
>    label: (null)
>    length: 3221225472
>    offset: 6548357120
>    type: freebsd-ufs
>    index: 6
>    end: 19081215
>    start: 12789760
> 
>  ESP  /EFI/BOOT/drivers 
> 
> https://efi.akeo.ie/downloads/efifs-1.9/x64/
> 
>  ufs2_x64.efi  rEFInd 
>  "ufs2 driver test ada0p6" Welcome
> to FreeBSD 3
> 
> OK show
> 
>  currdev, loaddev  disk2p6: (
> USB disk 2 disk2ada0)rootdev 
> rEFInd  ada0p6  /boot/loader.efi 
> OK bootWelcome to FreeBSD
>  ada0p6 
> ada0p4 /boot/loadef.efi  ada0p6
>  FreeBSD 
> gptloader.efi 
> 
> 
>  zfs 
>  zfs_x64.efi  /EFI/BOOT/drivers 
> 
> 
> 
> 
> --------
>    
>  masa@amogha.jp

@

rEFInd
Bug 207940boot1.efi


`gpart list`
rawuuid

proto.c
UEFI



0
19AZ35

100

stable/13loader.env
stable/13main


zpool upgradestable/13
mainstable/13ZFS100%
mainstable/13stable/12pool
upgrade

stable/13ZFSmain
UFSZFSUFSZFSROOTFSroot


NVMeFreeBSDsrcUEFI
NVMeNVM Express namespace messaging
device path node
disk 
rawuuid




-- 
   [Tomoaki AOKI]    <junchoon@dec.sakura.ne.jp>