Plan 9 from Bell Labs on QEMU

Installation instructions

  1. Download the Plan 9 Installation CD here.

  2. Uncompress the ISO.

$ bunzip2 plan9.iso.bz2
  1. Create an empty disk image, 1Gb should be enough:

$ qemu-img create plan9.img 1G
  1. Boot the installation CD:

$ qemu -boot d -cdrom plan9.iso qemu/plan9.img 
  1. Follow the standard instructions in the Plan 9 wiki: http://plan9.bell-labs.com/wiki/plan9/Installation_instructions/. The default values for all questions are recommended.

  2. In the "bootsetup" step make sure to select "plan9"

  3. That is it! Just remember to log in as glenda when you boot and you will be welcome with a prepared environment and further instructions to explore the system.

  4. To boot your image you can use the default settings for qemu.

  5. If the time is wrong you can try editing /rc/bin/termrc so that the line TIMESYNCARGS=-rLa1000000 becomes TIMESYNCARGS=(-n pool.ntp.org) This only works if the network connection is working (it should just come up using the qemu default user mode). To edit /rc/bin/termrc you may need to add yourself to the group sys.

***WARNING*** - Installing Plan9 under QEMU is an extremely slow process, on the order of hours. When you see the Installing file system progress bar pop up, don't be surprised if there is no immediate progress despite a high CPU load.

Recommended readings

See the Plan 9 wiki and recommended readings page.

Access host resources

You can easily use 9P to mount servers running on your host computer, for example as part of Plan 9 from User Space or Inferno.

(Todo: add instructions to directly mount file systems in the host, but see ext2srv(4) as starting point for now)


Back to FrontPage

See http://qemu-buch.de/d/Gast-Systeme/_x86-Architektur/_Unix-ähnliche_Betriebssysteme for further information.


Hosted by http://qemu-buch.de

Plan9OnQemu (last edited 2010-07-31 10:08:23 by Rowa)