mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bsdinstall: use gpt/efiboot0 label in /etc/fstab
Otherwise, boot will hang if the numbering of disks has changed since
initial install.
MFC after: 2 weeks
Sponsored by: Axcient
Reviewed by: brd
Differential Revision: https://reviews.freebsd.org/D35309
(cherry picked from commit 7919c76dbd)
This commit is contained in:
parent
fa872a4bf7
commit
9e4047d9d9
1 changed files with 1 additions and 1 deletions
|
|
@ -853,7 +853,7 @@ zfs_create_diskpart()
|
|||
|
||||
# We'll configure the ESP in bootconfig
|
||||
if [ -z "$efibootpart" ]; then
|
||||
efibootpart="/dev/$(echo $justaddedpart | cut -f 1 -d ' ')"
|
||||
efibootpart="/dev/gpt/efiboot$index"
|
||||
f_dprintf "$funcname: configuring ESP at [%s]" \
|
||||
"${efibootpart}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue