On 07/28/2017 08:47 PM, Stefan Fritsch wrote: > On Tuesday, 25 July 2017 21:30:08 CEST Mxher wrote: >> I'm renting a dedicated server from a web host that unfortunately does >> not propose OpenBSD installation. >> >> So I'm installing OpenBSD using qemu from my host rescue mode (which use >> FreeBSD). >> >> >> Usually it works like a charm but this time, on this server/hardware, it >> does not work: OpenBSD does not seem to start at all. >> Indeed when I boot with qemu I do not see any logs of the "normal" boot >> of the server (I only see qemu's boots in the logs). > > Maybe I misunderstand what you are trying to do, but: There is sgabios for > redirecting vga text output to serial console in qemu. Maybe that could help > somehow? Or try using VNC console in qemu. Are you seeing the openbsd > bootloader prompt? Are you then setting the console correctly in the openbsd > bootloader? >
Sorry for being unclear because of my poor english. Actually I have no issue at all with qemu. I want to use OpenBSD on my dedicated server, to do so I'm booting the server on a live CD and then I'm using qemu to install OpenBSD on the real HDD. After that, I can use OpenBSD on qemu without any issue, everything works. But when I reboot the server, to use OpenBSD on the real hardware, it's not working and I have no console to verify what is the error. So, to debug, I boot again with a livecd, use qemu to start OpenBSD but I see no logs from the "real" boot, only logs from qemu's boots. So I guess the issue is with the bootloader itself. I tried many things (including using /dev/sd0 instead of /dev/wd0, etc) but nothing works. I used this method quite a few times to install OpenBSD on my servers but I can't make it work on this one. Thanks for helping.

