XXIIVV
Plan9 Rio picture
19N09 — Plan9 Rio

Notes and links related to the Plan9 operating system.

Installation

Create 2gb disk image.

qemu-img create -f qcow2 plan9.qcow2.img 2G

Launch image, you might want to use qemu-system-i386, if qemu is not found.

qemu-system-i386 -hda plan9.qcow2.img -cdrom 9front.iso -boot d

Installation Prompts:

When the installation is done, type inst/start, and then boot plan9.

Booting

Any question? See you on irc.

qemu-system-i386 -hda plan9.qcow2.img -cdrom 9front.iso -boot d -vga std -m 768 -net nic -net user -usbdevice tablet

Networking

ndb/dns # start the dns resolver
ip/ipconfig # configure interfaces and get ip address with dhcp
ip/ping google.com # check internet connection
webfs # start a filesystem that handle urls
abaco 'http://google.com/search?q=plan9'

Screencapture

Sometimes it can be useful to record what's on your screen. For example, you can use screen shots for documentation. Also, providing a view of an error can help others to diagnose the problem. You can take a shot of the whole screen quite easily in a raw image format like this.

cat /dev/screen > /tmp/shot.pic # take screenshot
window page /tmp/shot.pic # see the file
sleep 10; cat /dev/screen > /tmp/shot.pic # with delay
cat /dev/screen | topng > /tmp/shot.png # small file
ls -l /tmp/shot.png /tmp/shot.pic # display pic as png

Themeing

hget http://plan9.stanleylieber.com/src/rio.mono.tgz > $home/rio.mono.tgz
tar zxf rio.mono.tgz
cd rio.mono
mk install

To add this version of rio to open on launch.

$home/lib/profile
An argument for simplicity and clarity.
—Rob Pike

Raspberry Pi

Richard Miller distributes a pre-installed disk image for the raspberry pi with wifi support.

# Find the name of your SD Card
fdisk -l 
# Replace sdc with your SD Card id
mkfs.vfat -n 'PLAN9' -I /dev/sdc 
# Download Plan9
wget -O - https://9p.io/sources/contrib/miller/9pi.img.gz
# Unzip it
gunzip 9pi.img.gz
# Unmount SD Card so you can write
umount /dev/sdc1
dd bs=4M of=/dev/sdc status=progress

Abaco

webfs # start a filesystem that handle urls
abaco 'http://google.com/search?q=plan9'

Found a mistake? Submit an edit to plan9.

plan9 links

Catclock picture
19N07 — Catclock
Glenda picture
19N06 — Glenda

Last update on 19N10, edited 5 times. +15/36fh