Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Dec 2023 13:49:29 +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-SJM98AwbA9@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

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #212457|0                           |1
        is obsolete|                            |

--- Comment #46 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 246766
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246766&action=
=3Dedit
Patch for stable13 and later proto.c

Patch for proto.c, stable/13 and later.

This is a forgotten-to-upload patch after Nomichi Nonaka updated his patch.

After my previous patch,
  *Copied Naomichi Nonaka's mygetchar() to proto.c and use it
   instead of getchar() to leave boot1.c untouched.

This modified patch adds disk info in conjunction with partition No.,
instead of partition raw UUID used by Naomichi's latest patch.
CHOOSE WHICHEVER YOU LIKE. DO NOT ATTEMPT TO APPLY BOTH AT ONCE!

This should be applicable both head and stable/13 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 (U)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-SJM98AwbA9>