wm: doc

ref: eea68881c941f87c5ab4e213f1a3c4db48874e6b
dir: /cpu-p9.ms/

View raw version
Configuring the cpu server for plan 9

term% auth/wrkey
bad authentication password
bad authentication id
bad authentication domain
authid: glenda
authdom: fork.inter9.org
auth password:
secstore password:

term% mkdir /cfg/$sysname/
term% dircp /cfg/example /cfg/$sysname/

Then, edit /cfg/$sysname/cpurc to uncomment this line:

# ip/ipconfig -g your-gateway ether /net/ether0 your-ip-address your-subnet-mask

Build the cpu kernel:

cd /sys/src/9/pc
mk 'CONF=pccpuf'
term% 9fat:
term% cp /sys/src/9/pc/9pccpuf /n/9fat/
Add these lines to the beginning of /n/9fat/plan9.ini

[menu]
menuitem=cpu, Plan 9 CPU Kernel
menuitem=terminal, Plan 9 Terminal Kernel
menudefault=cpu, 10

[cpu]
bootfile=sdC0/!9fat!9pccpuf

[terminal]
bootfile=sdC0!9fat!9pcf

[common]
nobootprompt=local!#S/sdC0/fossil

Make sure to replace sdC0 with your actual disk.
Make sure also to delete the pre-existing line:

bootfile=sdC0!9fat!9pcf