https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240327
Bug ID: 240327
Summary: bsdinstall(8): Partitioning the disk via scriptedpart
always adds an EFI partition
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: [email protected]
Reporter: [email protected]
Here's a script to reproduce the issue:
```
pool="${1:-"zroot"}"
dataset="${2:-"bsdinstall-bug"}"
zfs create -V 1G "${pool}/${dataset}"
bsdinstall scriptedpart zvol/${pool}/${dataset} \
{512K freebsd-boot, 100M freebsd-swap, 512MB freebsd-ufs /}
gpart show zvol/${pool}/${dataset}
```
The result of the script is the following output:
```
=> 40 2097072 zvol/zroot/bsdinstall-bug GPT (1.0G)
40 8 - free - (4.0K)
48 1024 1 freebsd-boot (512K)
1072 204800 2 freebsd-swap (100M)
205872 532480 3 efi (260M)
738352 516080 4 freebsd-ufs (252M)
1254432 842680 - free - (411M)
```
As you can see, the EFI partition was included automatically. Also, the UFS
partition is much smaller than requested.
Tested on FreeBSD 13.0-CURRENT r351325 GENERIC amd64.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"