Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 12:10:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        amd64@FreeBSD.org
Subject:   [Bug 207940] stand/efi/boot1: Add boot partition selection
Message-ID:  <bug-207940-17361-uarBMceNcF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207940-17361@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207940-17361@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207940

--- Comment #34 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 212457
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212457&action=
=3Dedit
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 mo=
re
than one FreeBSD with same partition No. and mostly the same size.

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

This should be applicable both head and stable/12 with some offsets or fuzz=
es.

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207940-17361-uarBMceNcF>