Skip to contentSkip to conversation

NetBSD5.0.2 SPARC Success

Qemu-devel Nigel Horne 2 participants 2 messages Aug 25, 2010

lore
Share & tools
lore
#0 lore raw

NetBSD5.0.2/Sparc installed faultlessly and seamlessly using QEMU from GIT with a Linux/x86_64 host.

I obtained the installation CD from http://ftp.netbsd.org/pub/NetBSD/iso/5.0.2/sparccd-5.0.2.iso.

The ran these commands:

$ qemu-img create -f qcow2 netbsd5.0.2-sparc 2G
$ qemu-system-sparc -cdrom sparccd-5.0.2.iso -hda netbsd5.0.2-sparc -m 96 -boot d -nographic
$ qemu-system-sparc -hda netbsd5.0.2-sparc -m 96 -boot c -nographic

One hiccup to be aware of: for vi to work in the guest, resize your terminal window to 34 lines.

Packages are available from

PKG_PATH=http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc/5.0_2010Q2/All

Enjoy!

Thanks and Kudos to the QEMU and NetBSD teams.

-Nigel

Signature · 3 lines
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
[email protected] http://www.bandsman.co.uk
#1 lore raw

2010/8/25 Nigel Horne <[email protected]>:

Quoted 2 lines

NetBSD5.0.2/Sparc installed faultlessly and seamlessly using QEMU from GIT with a Linux/x86_64 host.

Nice! Actually I'd expect that all NetBSD versions after 4.0 and before 1.5.3 (inclusive) which work on the real machines are able to be installed under qemu. If they are not it is a yet unknown qemu bug. (The versions 1.6-3.x can't be installed because of a known bug).

Quoted 5 lines

I obtained the installation CD from
http://ftp.netbsd.org/pub/NetBSD/iso/5.0.2/sparccd-5.0.2.iso.

The ran these commands:

Quoted 7 lines
$ qemu-img create -f qcow2 netbsd5.0.2-sparc 2G
$ qemu-system-sparc -cdrom sparccd-5.0.2.iso -hda netbsd5.0.2-sparc -m 96
-boot d -nographic
$ qemu-system-sparc -hda netbsd5.0.2-sparc -m 96 -boot c -nographic

One hiccup to be aware of: for vi to work in the guest, resize your terminal window to 34 lines.

I use eval resize to set cols & rows shell variables. stty would do too.

Quoted 16 lines

Packages are available from

PKG_PATH=http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/sparc/5.0_2010Q2/All

Enjoy!

Thanks and Kudos to the QEMU and NetBSD teams.

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne [email protected] http://www.bandsman.co.uk

Signature · 4 lines
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/