[Bug 207940] stand/efi/boot1: Add boot partition selection

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 17 12:10:32 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

--- Comment #34 from Tomoaki AOKI <junchoon at dec.sakura.ne.jp> ---
Created attachment 212457
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=212457&action=edit
Patch for boot1.c and proto.c

Thanks for coming back, Nomichi! And sorry for loooong delay.

After your latest patch,
  *Now boot1.c includes getchar(), not compatible with the patch.
  *Now the same patch is applicable to latest head and stable/12.

And unfortunately, it was difficult to determine the wanted partition if more
than one FreeBSD with same partition No. and mostly the same size.

This modified patch adds disk info in conjunction with partition No., and kills
now-in-boot1.c version of getchar().

This should be applicable both head and stable/12 with some offsets or fuzzes.

Ideally, disk and patrition info 100% matches just as running FreeBSD does like
ada0p3, da1s1, but it's not implemented.

Beware! NVMe drives would be shown up like drive(??), as proper DEVICE_PATH
info is not yet defined on FreeBSD EFI implementation.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list