[Bug 222922] bsdinstall(8) does not format efi partitions as msdosfs
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Oct 11 04:37:54 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222922
Bug ID: 222922
Summary: bsdinstall(8) does not format efi partitions as
msdosfs
Product: Base System
Version: 11.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: trix at basement.net
Created attachment 187069
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187069&action=edit
Test script to demonstrate failure of bsdinstall(8) to format efi partitions as
msdosfs
bsdinstall(8) doesn't properly format partitions of type efi when using
scriptedpart.
To produce the issue:
- Start an install (I used PXE and mfsroot, but should work booting from
install CD) on a physical or virtual host with a blank disk (no pre-existing
gpart partition tables.
- drop to a command prompt to run bsdinstall(8)
- define/export a PARTITIONS variable containing a disk layout that defines a
GPT disk with, at least, a freebsd-boot partition, an efi partition, and a
freebsd-ufs partition
- execute /usr/sbin/bsdinstall scriptedpart ${PARTITIONS}
(the efi partition will show "failed")
- execute /usr/sbin/bsdinstall mount
(the mount_msdosfs command will fail with an invalid argument)
efi partitions should be formatted with /sbin/newfs_msdos the same way
freebsd-ufs is formatted with newfs(8).
I think the comparison at line 170 of
/usr/src/usr.sbin/bsdinstall/partedit/gpart_ops.c may be failing?
The script I tested with is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list