Using ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.3/FreeBSD-7.3-RELEASE-i386-livefs.iso as livecd and http://www.gentoo.org/doc/en/gentoo-freebsd.xml as guide, I'm installing gentoo/freebsd-7.2 inside virtualbox-ose-3.1.8. All installation goes fine. But then I can't boot gentoo/freebsd-7.2. I'm getting next message: can't work out which disk we are booting from Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0 Reproducible: Always Steps to Reproduce: 1. Inside virtualbox-ose-3.1.8, using ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.3/FreeBSD-7.3-RELEASE-i386-livefs.iso as livecd and http://www.gentoo.org/doc/en/gentoo-freebsd.xml as guide, install gentoo/freebsd with portage profile x86/freebsd-7.2 2. install boot0 or grub (doesn't really matter) during step 1 3. boot into installed system Actual Results: System doesn't boot, says can't work out which disk we are booting from Guessed BIOS device 0xffffffff not found by probes, defaulting to disk0 Expected Results: System should boot fine I've tried both grub and boot0, but looks like it's issue with /boot/loader. If I tell to boot /boot/kernel/kernel directly, first it says something like "loader(8) metadata is missing", then it asks about root partition, I type: "ufs:ad0s1a", then it boots fine, but when it comes to login prompt, keyword stops working. I think that's because "loader(8) metadata is missing". By the way, host is gentoo/amd64 if this is relevant.
not "keyword", it's "keyboard", fix
During experiments I found out that emerging sys-freebsd/boot0 with CFLAGS="-march=i686 -pipe" and CXXFLAGS="-march=i686 -pipe" solves problem. Before that I used CFLAGS="-O2 -march=i686 -pipe" with same CXXFLAGS So, "-O2", and probably other optimization flags should be filtered in this package. Please, update ebuild and then close bug.
(In reply to comment #2) > So, "-O2", and probably other optimization flags should be filtered in this > package. I confirm. After filter-flags I can boot g/fbsd-7.2.
Created attachment 270981 [details, diff] boot0-7.2.ebuild.diff diff vs sys-freebsd/boot0-7.2 in tree
Before filter-flags I can't boot g/fbsd-7 on real hardware and on qemu-kvn.
shouldnt be a problem with recent boot0 versions