Bug 267843 - bsdinstall: Auto (ZFS) + MBR (BIOS) = "Missing operating system" – sole dataset with /boot alone
Summary: bsdinstall: Auto (ZFS) + MBR (BIOS) = "Missing operating system" – sole datas...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: Kyle Evans
URL: https://forums.freebsd.org/posts/588091
Keywords: install
Depends on:
Blocks:
 
Reported: 2022-11-18 06:59 UTC by Vurefozu
Modified: 2023-07-03 02:49 UTC (History)
4 users (show)

See Also:


Attachments
typescript (1018 bytes, text/plain)
2022-12-05 01:37 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vurefozu 2022-11-18 06:59:47 UTC
Hello.
Trying to install FreeBSD 13.1-Release (FreeBSD-13.1-RELEASE-amd64-disc1.iso) with configuration:
Partitioning: Auto (ZFS)
Partition Scheme: MBR (BIOS)
Pool Type/Disks: stripe: 1 disk

And I found that after the first reboot the system does not boot and a message is displayed: "Missing operating system"

Создал топик на форуме - https://forums.freebsd.org/threads/installing-freebsd-auto-zfs-mbr-bios-missing-operating-system.87118/

Solution: manual installation according to the instructions https://wiki.freebsd.org/RootOnZFS/ZFSBootSlice
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-12-05 01:37:57 UTC
Created attachment 238521 [details]
typescript

Tested with FreeBSD-13.1-RELEASE-amd64-dvd1.iso 
in VirtualBox. Condensed steps:

1. install, as outlined in this bug report

2. reboot, live CD

3. zpool import -R /tmp bootpool

4. zfs list

5. observe a sole dataset

6. ls -hl /tmp/bootpool

7. observe a sole file, a directory: 

boot

(That can't be correct, can it?)

----

Attached: a comparable typescript.
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-12-05 02:03:25 UTC
Triage: severity reduced, given the workarounds. 

(Vermaden's might be the simplest – prefer 'GPT (BIOS)' when installing.)
Comment 3 Vurefozu 2022-12-05 14:26:07 UTC
(In reply to Graham Perrin from comment #2)

There is no problem with "GPT (BIOS)". The problem is with automatic installation via "MBR (BIOS)".

> typescript.txt
Yes, I have the same.
Comment 4 R. Christian McDonald 2023-07-01 17:24:42 UTC
https://reviews.freebsd.org/D40816