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

            Bug ID: 287904
           Summary: Most recent installer fails to flush pre-existing GPT
                    labels
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: [email protected]
          Reporter: [email protected]

Boot and install with the 26 June 2025 snapshot for disk1.iso and
create a typical ZFS mirror using (BIOS+UEFI) option.

When the time comes for a reboot into the newly installed system
we see : 

GEOM_MIRROR: Device mirror/efiboot launched (2/2).
GEOM_MIRROR: Device mirror/swap launched (2/2).
Root mount waiting for: usbus0
uhub5: 4 ports with 4 removable, self powered
ugen0.3: <Generic USB2.0-CRW> at usbus0
Root mount waiting for: usbus0
ugen0.4: <VIA Labs, Inc. USB Hub> at usbus0
uhub6 numa-domain 0 on uhub2
uhub6: <VIA Labs, Inc. USB Hub, class 9/0, rev 3.00/53.55, addr 3> on usbus0
Root mount waiting for: usbus0
uhub6: 4 ports with 4 removable, self powered
Setting hostuuid: 24cb90f5-4f5d-e511-9f83-6c0b840c5fc6.
Setting hostid: 0xe4e141e6.
Starting file system checks:
Can't open `/dev/gpt/efiboot0'
/dev/gpt/efiboot0: UNEXPECTED INCONSISTENCY; RUN fsck_msdosfs MANUALLY.
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
        msdosfs: /dev/gpt/efiboot0 (/boot/efi)
Automatic file system check failed; help!
ERROR: ABORTING BOOT (sending SIGTERM to parent)!
2025-06-29T17:37:37.274779+00:00 - init 1 - - /bin/sh on /etc/rc terminated
abnormally, going to single user mode
Enter root password, or ^D to go multi-user
Password:
Enter full pathname of shell or RETURN for /bin/sh: 
root@:/ #

There are pre-existing GPT labels on the disks : 

root@:/ # gpart show -l /dev/ada0
=>       40  488390552  ada0  GPT  (233G)
         40     532480     1  efiboot0  (260M)
     532520       1024     2  gptboot0  (512K)
     533544        984        - free -  (492K)
     534528   33554432     3  swap0  (16G)
   34088960  454299648     4  zfs0  (217G)
  488388608       1984        - free -  (992K)

root@:/ # gpart show -l /dev/ada1
=>       40  488390552  ada1  GPT  (233G)
         40     532480     1  efiboot1  (260M)
     532520       1024     2  gptboot1  (512K)
     533544        984        - free -  (492K)
     534528   33554432     3  swap1  (16G)
   34088960  454299648     4  zfs1  (217G)
  488388608       1984        - free -  (992K)

root@:/ # uname -a 
FreeBSD  15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n278235-dca2ab32e831: Thu
Jun 26 04:58:09 UTC 2025    
[email protected]:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Looks like the installer failed to gpart destroy -F the disks ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to