Bug 246327

Summary: Invalid partition table after all-default installation of 13.0-CURRENT
Product: Base System Reporter: Andrey P. <andrewponomarenko>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: CURRENT   
Hardware: amd64   
OS: Any   

Description Andrey P. 2020-05-09 11:36:58 UTC
Default installation of 13.0-CURRENT (with Zfs) to Dell E6530 fails to boot with the error:

    Invalid partition table

All is OK if select non-default Ufs in the installer.

SATA controller: 8086:1e03
Drive: WD5000BPVT-24HXZT3
Motherboard: 024YM1

Tested on:

FreeBSD-13.0-CURRENT-amd64-20200430-r360479-memstick.img
FreeBSD-13.0-CURRENT-amd64-20200507-r360723-memstick.img
Comment 1 Yuri Pankov freebsd_committer freebsd_triage 2020-05-10 17:29:26 UTC
- Is laptop set to BIOS or UEFI boot?
- What partition scheme is chosen (there's no default, IIRC, as it changes according to boot type)?
- If you boot from installation media after install, escape to shell, what is the `gpart show` output for UFS (successful) and ZFS (unsuccessful) installs?
- If GPT/UEFI was chosen, what is the `efibootmgr` and contents of EFI system partition (it can be mounted using mount_msdosfs) are?
Comment 2 Andrey P. 2020-05-21 13:51:45 UTC
Retried with FreeBSD-13.0-CURRENT-amd64-20200514-r361019-memstick.img

The laptop is set to Legacy BIOS mode in both cases.

Two drives are attached to the laptop:

ada0 - with UFS (successful) installation, MBR
ada1 - with ZFS (unsuccessful) installation, GPT

gpart show: https://bsd-hardware.info/?probe=04cd35a77b&log=gpart
gpart list -a: https://bsd-hardware.info/?probe=04cd35a77b&log=gpart_list

Thanks.