[Bug 282184] Installer fails to create bootable system

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 18 Oct 2024 20:17:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282184

            Bug ID: 282184
           Summary: Installer fails to create bootable system
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: net@arrishq.net

First maybe the data. Given is a random amd64 system that uses MBR as partition
layout. FreeBSD 14 and 14.1 get installed into a BSD slice, e.g. /dev/ada0s2
and on partition /dev/ada0s1 another system is installed, e.g. Windows /
OpenBSD ...

Running the installer and choosing /dev/ada0s2 to create a "BSD" partition,
then s2a, s2b and so on for storing data, the installation runs through.
Once done and rebooting, the system hangs and doesn't boot the fresh installed
FreeBSD. Switching to use the loader of the other installed system, e.g.
Windows ... and adding FreeBSD by create a single MBR file (created by dd
if=/dev/ada0s2 of=freebsd.mbr bs=512 count=1 or dd if=/dev/ada0s2a
of=freebsd.mbr bs=512 count=1) doesn't work either.

Booting from installation media, escaping to loader prompt and setting
"vfs.root.mountfrom=ufs:/dev/ada0s2a" the system boots.

Out of fun trying to grab an old FreeBSD 10 installation doing the exact same
process, the boot process works fine without any problems.

$USER is aware everyone moves along with gpart and GPT partitions, recommending
to reinstall everything and choose GPT doesn't solve the problem.

The whole process has been reproduced on 2 different (physical) systems.
Basically MBR partition layout, install into a BSD partition, no booting
possible.

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