Update README to use cd51.iso, also talk about SPARC emulation now

that it's usable. OK Brad (maintainer).
This commit is contained in:
sthen 2012-01-26 19:19:15 +00:00
parent b4ec42cb45
commit d7ebdc9ae9
2 changed files with 20 additions and 10 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.82 2012/01/11 02:21:09 sthen Exp $
# $OpenBSD: Makefile,v 1.83 2012/01/26 19:19:15 sthen Exp $
ONLY_FOR_ARCHS= amd64 i386 mips64 mips64el powerpc sparc sparc64
COMMENT= multi system emulator
DISTNAME= qemu-1.0
REVISION= 0
CATEGORIES= emulators
MASTER_SITES= http://wiki.qemu.org/download/ \
http://comstyle.com/source/

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
$OpenBSD: README,v 1.7 2012/01/26 19:19:15 sthen Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -8,11 +8,13 @@ $OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
1. Get a bootable CDROM image:
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/cd50.iso
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/cd51.iso
or to use a 64-bit client OS:
or to use a 64-bit client OS or SPARC, respectively:
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/cd50.iso
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/cd51.iso
$ ftp ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/sparc/cd51.iso
2. Create a virtual disk image:
@ -21,17 +23,22 @@ $OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
3. Install the OS:
$ qemu-system-i386 -m 32 -monitor stdio -no-fd-bootchk \
-hda virtual.img -cdrom cd50.iso -boot d
-hda virtual.img -cdrom cd51.iso -boot d
or:
$ qemu-system-x86_64 -m 32 -monitor stdio -no-fd-bootchk \
-hda virtual.img -cdrom cd50.iso -boot d
-hda virtual.img -cdrom cd51.iso -boot d
$ qemu-system-sparc -m 32 -monitor stdio \
-hda virtual.img -cdrom cd51.iso -boot d
NOTE: start this inside an xterm or equivalent.
NOTE: be sure to choose serial console during install.
NOTE: -no-fd-bootchk permits booting faster when no floppy is
in use.
in use, but is not supported for qemu-system-sparc.
NOTE: qemu-system-sparc currently fails with some
/etc/malloc.conf settings
4. Compress the virtual disk:
@ -49,6 +56,8 @@ $OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
$ qemu-system-x86_64 -m 32 -nographic -no-fd-bootchk -hda virtual.img
$ qemu-system-sparc -m 32 -nographic -hda virtual.img
==> Networking
1. Default Settings
@ -197,7 +206,7 @@ $OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
- you may then disconnect VNC and use the terminal from
which you started QEMU to do the install.
b. qemu-system-i386 -nographic .. virtual.img -fda floppy50.fs -boot a
b. qemu-system-i386 -nographic .. virtual.img -fda floppy51.fs -boot a
- this maps both the serial port and the (qemu) monitor
prompt to the terminal QEMU was started on.
@ -206,7 +215,7 @@ $OpenBSD: README,v 1.6 2011/12/12 10:56:56 sthen Exp $
- preparation of the floppy image to force serial console
mode is straightforward:
vnconfig vnd0 floppy50.fs
vnconfig vnd0 floppy51.fs
mount /dev/vnd0c /mnt
mkdir /mnt/etc
echo set tty com0 > /mnt/etc/boot.conf