http://parvati.thanelange.no/freebsd/boot_loader/ The FreeBSD loader has since a very long time ago attempted to work with MBR extended partitions but a simple logical error has prevented it from succeeding: How it is supposed to work. ----- | 1 | ----- | 2 | -- ----- | | | | ----- <- | 5 | ----- | | -- ----- | | | | ----- <- | 6 | ----- | | ----- How /boot/loader (incorrectly) works. ----- | 1 | ----- | 2 | -- ----- | | | | ----- <- | 5 | ----- | 6 | -- ----- | | | | ----- <- | 7 | ----- | 8 | ----- Fix: Using the attached patch: patch -d /usr/src/sys/boot/i386/libi386/ < boot_loader.diff Patch is also found here: http://parvati.thanelange.no/freebsd/boot_loader/boot_loader.diff Patch attached with submission follows: How-To-Repeat: Install FreeBSD in an MBR extended partition. (It is easily doable using command line tools.) Attempt to boot. Observe that the /boot/loader does not find the desired partition.
State Changed From-To: open->patched This issue fixed in head/ after r239088.
Responsible Changed From-To: freebsd-bugs->ae Take.
State Changed From-To: patched->closed Fixed in r243243. Thanks!