On 11 January 2011 11:18, <a.velichin...@gmail.com> wrote: > The trick with /etc/boot.conf does work; this should transform the > cd48.iso install cd into a 'serial' one: > > $ echo 'set tty com0' > /tmp/boot.conf > $ growisofs -M cd48.iso -l -graft-points /etc/boot.conf=/tmp/boot.conf > > Then: > $ qemu -nographic -cdrom cd48.iso >>> OpenBSD/i386 CDBOOT 3.15 > boot> > booting cd0a:/4.8/i386/bsd.rd: 5900404
I've tried this on a Linux, and it worked for getting OpenBSD installer to boot through a serial console. However, I was using install52.iso, which includes the filesets, and I was not able to install any filesets from a CD that was altered by growisofs on Linux as above. Looking at /mnt2 during the install, I've noticed that all filenames were in CAPS, and "/mnt2/TRANS.TBL" was missing (however, all appropriate "/mnt2/*/TRANS.TBL" and "/mnt2/*/*/TRANS.TBL" were still present and correct). I worked around by adding the original CD as a regular drive, and selecting "disk" and "wd0" for installing the filesets. The ISO filesystem was mounted from wd0 automatically and with no problems or hoops. apt-get install dvd+rw-tools echo 'set tty com0' > boot.conf cp -p install52.iso install52.iso.origFromFTP growisofs -M install52.iso -l -graft-points /etc/boot.conf=boot.conf kvm -m 6144 -smp 4 -drive file=/dev/sda,if=scsi \ -drive file=/dev/sdb,if=scsi -drive file=/dev/sdc,if=scsi \ -drive file=install52.iso.origFromFTP -cdrom install52.iso -boot d -nographic `dpkg --list` : ii dvd+rw-tools 7.1-6 DVD+-RW/R tools ii qemu-kvm 0.12.5+dfsg-5+squeeze9 Full virtualization on x86 hardware Also, the version of qemu as above has another useful option that allows you to bypass VNC and X -- "-curses". Apparently, you must either choose "-nographic" and enable serial on the media, or choose "-curses" and have VGA emulation with no usable log of the session. It'd be nice to have "-nographic" work with VGA emulation, too, and not be a serial-only option. C.