On Sun, Nov 06, 2005 at 08:57:58PM -0500, Dave Feustel wrote: > Qemu running on OpenBSD 3.7/3.8 looks like the > greatest thing since sliced bread, but I am having > no success getting the 3.7 qemu package to boot > from the OpenBSD 3.7 cdrom, although qemu works > fine with the openbsd3.7.img file from free.os.zoo.com. > Man qemu says that qemu should boot from a real > cdrom with the following command: > > qemu -boot d -cdrom /dev/cdrom -hda x.img > > where x.img is a 10G file created by qemu-img create. > > Since there is no /dev/cdrom on a stock Openbsd, > I tried using /dev/cd0a instead, but to no avail. > I have tried the above command using /dev/cd0a > instead of /dev/cdrom in user mode, > with sudo, and as root. Nothing worked. > > Any suggestions for getting qemu to boot from the > OpenBSD cdrom will be greatly appreciated.
I suspect someone needs to write some code that uses ioctls to get some information about the media before qemu will attempt to start reading blocks off it. You could always use the netboot image to boot then install off a mounted cdrom via ftp or http if you have qemu networking setup.