No description
  • C 72%
  • PostScript 9.4%
  • HTML 9.2%
  • Shell 2.5%
  • Roff 2.5%
  • Other 3.9%
Find a file
2025-06-08 16:00:00 +00:00
386
acme acme/bin/source/win: increase EVENTSIZE to 16 KB (thanks Geoff Collyer) 2019-04-20 07:09:04 +02:00
adm
amd64 all: import amd64 from Bell Labs 2016-01-20 13:38:38 +01:00
arm
boot boot: add scripts to run Plan 9 on QEMU 2025-06-08 16:00:00 +00:00
cfg boot: add scripts to run Plan 9 on QEMU 2025-06-08 16:00:00 +00:00
cron
dist/replica dist/replica: add /sys/lib/firmware directory to plan9.proto 2022-06-05 16:49:31 +02:00
lib lib/ndb: add submission service to /lib/ndb/commom (thanks Steven Stallion) 2019-12-13 06:24:18 +01:00
mail
mips
mips64 all: import mips64 and spim64 support from bitbucket.org/cherry9/4c (thanks Cherry Zhang) 2017-09-18 23:25:37 +02:00
power
power64 all: import power64 support from Charles Forsyth (thanks Charles Forsyth) 2017-09-18 19:49:55 +02:00
rc all: import mips64 and spim64 support from bitbucket.org/cherry9/4c (thanks Cherry Zhang) 2017-09-18 23:25:37 +02:00
riscv all: import riscv and riscv64 support from /n/sources/contrib/miller/riscv.tar (2021-05-28) (thanks Richard Miller) 2021-05-29 21:45:47 +02:00
riscv64 all: various fixes for riscv (thanks Richard Miller) 2023-04-14 18:56:36 +02:00
sparc
spim all: import spim support from bitbucket.org/cherry9/plan9-loongson (thanks Cherry Zhang) 2017-09-17 22:13:34 +02:00
spim64 all: import mips64 and spim64 support from bitbucket.org/cherry9/4c (thanks Cherry Zhang) 2017-09-18 23:25:37 +02:00
sys sys/src/9k: add monotonic time support (thanks Russ Cox) 2025-03-11 18:41:03 +01:00
usr/glenda boot: add scripts to run Plan 9 on QEMU 2025-06-08 16:00:00 +00:00
.gitignore boot: add scripts to run Plan 9 on QEMU 2025-06-08 16:00:00 +00:00
LICENSE
LICENSE.afpl
LICENSE.gpl
LICENSE.lucida
LICENSE.old
NOTICE
NOTICE.old
README Plan 9 from Bell Labs Fourth Edition 2015-01-10 2015-01-10 10:50:05 +01:00
README.md boot: add scripts to run Plan 9 on QEMU 2025-06-08 16:00:00 +00:00

9legacy

9legacy is a continuation of Plan 9 from Bell Labs.

Usage

Run Plan 9 on QEMU

  1. Build empty directory hierarchy

Empty directories can't be committed to a Git repository.

The following script will build the empty directory hierachy, identically to the content of the original Plan 9 CD image.

Run:

./boot/mkdirs
  1. Install binaries

This step requires the 9660srv command from plan9port, so the CD image will be mounted using the Plan 9 ISO 9660 extension.

The following script will download the last 9legacy CD image and extract the 386 and amd64 binaries to the root of the Git repository.

Run:

./boot/getbin
  1. Run QEMU

The following script will build u9fs from sys/src/cmd/unix/u9fs, if needed, then run QEMU.

Run the following script to build u9fs and run QEMU:

./boot/qemu

Rebuild boot/pxeboot.raw

This Git repository already includes a prebuilt boot/pxeboot.raw boot loader.

This step is necessary only if you want to rebuild boot/pxeboot.raw, for example, after making changes to the boot loader.

  1. Reduce the size of 9bootpbs

Apply the following patch to reduce the size of 9bootpbs:

patch -p1 boot/9-pcboot-boot.diff
  1. Rebuild 9bootpbs

On Plan 9, run:

mkbootpbs
  1. Rebuild pxeboot.raw

On Plan 9, run:

mkpxeboot

Thanks

We thank Russ Cox, who made the scripts to easily boot a Plan 9 file hierarchy on QEMU.