It doesn't load manually either, like load /kernel + boot but instead it goes to this "bad path" situation? Really weird, like the kernel doesn't understand the initial / tree...
lsdev or show currdev report anything curious?qemu-img create -f qcow2 test.qcow2 10G
qemu-system-x86_64 -m 2048 -hda test.qcow2 -cdrom 5.1-RELEASE-amd64-miniinst.iso
Yep. Hopefully 4.9?Hmmm, the 5.1 install CD wants the kernel to be in /boot/kernel/kernel, which my old tarfile does not have. I have /kernel. Maybe my install was even older?
Vs.The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old.
The new kernel will be copied to the /boot/kernel directory as /boot/kernel/kernel and the old kernel will be moved to /boot/kernel.old/kernel.
Fetched some random 5.1 ISO image and did:
and booted it straight to installer ( 10.1.0 on osx ).Code:qemu-img create -f qcow2 test.qcow2 10G qemu-system-x86_64 -m 2048 -hda test.qcow2 -cdrom 5.1-RELEASE-amd64-miniinst.iso
qemu-system-x86_64 \
-cdrom 5.1-RELEASE-amd64-miniinst.iso
qemu-system-x86_64 -m 2048 \
-cdrom 5.1-RELEASE-amd64-miniinst.iso
Hit [Enter] to boot immediately, or any other key for command p
Booting [kernel]...
can't load 'kernel'
can't load 'kernel.old'
Type '?' for a list of commands, 'help' for more detailed help.
ok ls ?
open '?' failed: no such file or directory
ok ls
open '/' failed: no such file or directory
ok boot /boot/kernel/kernel
can't find '/boot/kernel/kernel'
ok boot /kernel
can't find '/kernel'
I went through the basic install (triggered my mbr/bsdlabel ptsd) and got it running just fine.sysinstall failed to install the base system, saying the /dev/ entry for the root filesystem does not exist.
# uname -a
FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sat Jun 7 09:22:34 GMT 2003 root@hammer.corp.yahoo.com:/usr/obj/usr/src/sys/GENERIC amd64
#
qemu-system-x86_64 -hda test.qcow2 -serial stdio.Well, here you at least get the proper output and not the error. Your original issue from newish loader was an error.Grrr, same result. kernel isn't loaded. `ls` output is a bit different.
AsBut in this case the kernel load doesn't continue displaying with -nographics, which took me a while to figure out.
-nographic sets the console to stdio you need to have serial console enabled to see it. On FreeBSD that means console=comconsole in /boot/loader.conf. Not sure if multicons was supported in those early versions.-display curses very handy.