[Bug 240327] bsdinstall(8): Partitioning the disk via scriptedpart always adds an EFI partition
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Sep 4 08:56:19 UTC 2019
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: bugs at FreeBSD.org
Reporter: 0mp at FreeBSD.org
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.
More information about the freebsd-bugs
mailing list