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

index | next in thread | previous in thread | raw e-mail

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

--- Comment #34 from Tomoaki AOKI <junchoon@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 the assignee for the bug.

help

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