On Fri, Dec 07, 2012 at 02:58:59PM -0800, Constantine A. Murenin wrote: > 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).
You should the -R or -J option with growisofs for mixed/lower case filenames. As to the TRANS.TBL files, they're just for kicks; nobody's using them, ever. > 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 make that: growisofs -M install52.iso -l -R -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