User Tools

Site Tools


playground:plan_9_second_edition

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:plan_9_second_edition [2022/09/27 07:45] – [Disk1 reconfig note] hc9playground:plan_9_second_edition [2023/06/30 23:17] (current) – [toobnix.org] hc9
Line 1: Line 1:
 ======= Plan 9 Second Edition ======= ======= Plan 9 Second Edition =======
  
-|DRAFT: Plan 9 Second Edition from Bell Labs.| +|**DRAFT**: Plan 9 Second Edition from Bell Labs.| 
-| Tutorial [**x**] Guide [ ]|+|Tutorial [**x**] Guide [ ]
 +|  :!: System CPU //Execution Cap: 40%//  |
  
   * For educational and informational purposes only. [[playground:plan_9_second_edition#disk1img|Networking]] is not [[playground:plan_9_second_edition#disk1img|supported]].   * For educational and informational purposes only. [[playground:plan_9_second_edition#disk1img|Networking]] is not [[playground:plan_9_second_edition#disk1img|supported]].
Line 17: Line 18:
  
 |README|http://doc.cat-v.org/plan_9/2nd_edition/README| |README|http://doc.cat-v.org/plan_9/2nd_edition/README|
 +|special interest|http://doc.cat-v.org/plan_9/2nd_edition/|
 +|ways to install|http://doc.cat-v.org/plan_9/2nd_edition/install|
  
 <file config An asciidoc version of Plan 9 Second Edition.> <file config An asciidoc version of Plan 9 Second Edition.>
Line 25: Line 28:
  
 * Install FreeDOS from the FD13LIVE.iso with the default VirtualBox settings. * Install FreeDOS from the FD13LIVE.iso with the default VirtualBox settings.
- +Install FreeDOS with the default install.
-==== The Plan 9 Second Edition Floppy Diskette (2-4) Install Target [C:] is the non-partitioned 25 MB area after the previously partitioned 95% (A, 500 MB, PRI DOS, FAT16) and formatted disk space:+
  
 * Initial virtual disk settings after the default FreeDOS install to C: (Device 1). * Initial virtual disk settings after the default FreeDOS install to C: (Device 1).
-* Initial virtual disk settings after the FDISK (MB, PRI DOS, FAT12) D: partition (Device 0).+* Initial virtual disk settings after the FDISK (17 MB, PRI DOS, FAT16) D: partition (Device 0).
 ---- ----
 IDE Primary Device 1: freedos-13.vdi (Normal, 500.00 MB) IDE Primary Device 1: freedos-13.vdi (Normal, 500.00 MB)
Line 35: Line 37:
 ---- ----
  
-* Managed/modified disk (Device 1C:) setting:+=== CD-ROM Install 
 + 
 +==== The Plan 9 Second Edition CD-ROM (plan9-2e.iso) Install Target [D:] is the ~568 MB non-partitioned area after the previously partitioned 3% (17 MB, PRI DOS, FAT16) and formatted disk space: 
 + 
 +* Managed/modified disk (Device 0D:) setting: 
 ---- ----
-$ VBoxManage showmediuminfo 'freedos-13.vdi'+$ VBoxManage showmediuminfo 'freedos-13_1.vdi'
 Capacity:       500 MBytes Capacity:       500 MBytes
 ---- ----
 ---- ----
-$ VBoxManage modifymedium 'freedos-13.vdi' --compact +$ VBoxManage modifymedium 'freedos-13_1.vdi' --compact 
-$ VBoxManage modifymedium 'freedos-13.vdi' --resize 525+$ VBoxManage modifymedium 'freedos-13_1.vdi' --resize 586
 ---- ----
  
-==== The Plan 9 Second Edition CD-ROM (plan9-2e.iso) Install Target [D:] is the ~569 MB non-partitioned area after the previously partitioned 1% (6 MB, PRI DOS, FAT12) and formatted disk space:+=== Demo Install
  
-Managed/modified disk (Device 0; D:) setting:+Postpone the Demo install if completing the CD-ROM install.
  
 +==== The Plan 9 Second Edition Floppy Diskette (2-4) Install Target [C:] is the non-partitioned 25 MB area after the previously partitioned 95% (A, 500 MB, PRI DOS, FAT16) and formatted disk space:
 +
 +* Managed/modified disk (Device 1; C:) setting:
 ---- ----
-$ VBoxManage showmediuminfo 'freedos-13_1.vdi'+$ VBoxManage showmediuminfo 'freedos-13.vdi'
 Capacity:       500 MBytes Capacity:       500 MBytes
 ---- ----
 ---- ----
-$ VBoxManage modifymedium 'freedos-13_1.vdi' --compact +$ VBoxManage modifymedium 'freedos-13.vdi' --compact 
-$ VBoxManage modifymedium 'freedos-13_1.vdi' --resize 575+$ VBoxManage modifymedium 'freedos-13.vdi' --resize 525
 ---- ----
  
Line 91: Line 101:
  
 "... Usage" "... Usage"
-"... 1%"+"... 3%"
  
-"Total disk space is  575 Mbytes (1 Mbyte = 1048576 bytes)"+"Total disk space is  565 Mbytes (1 Mbyte = 1048576 bytes)"
  
 Press Esc to continue Press Esc to continue
Line 121: Line 131:
  
 === Notes: === Notes:
-* C:\plan9\plan9.ini can configure the demo system. (limited VGA settings?) 
-* D:\plan9\plan9.ini can configure the full system. (less limited VGA settings?) 
-** Menu choice "Make the newly installed Plan 9 the default" requires further review. 
  
 * Create a blank floppy.img with VirtualBox, for use with FreeDOS: * Create a blank floppy.img with VirtualBox, for use with FreeDOS:
Line 147: Line 154:
 ---- ----
  
-=== Final VirtualBox guest Configuration Results (only):+=== Final VirtualBox guest Configuration Results:
  
 * General * General
Line 206: Line 213:
 ---- ----
  
-==== Boot the FreeDOS VM with diskette disk1.img to configure C:\plan9\plan9.ini:+=== Boot the FreeDOS VM with diskette disk1.img to configure C:\plan9\plan9.ini:
  
 Plan 9 Second Edition Menu: "System Instillation & Configuration" Plan 9 Second Edition Menu: "System Instillation & Configuration"
Line 282: Line 289:
 ---- ----
  
-* Select /dev/hd2 to configure the D:\plan9\plan9.ini+Disk1 re-config note:
  
-** Example Second Edition /dev/hd2 plan9.ini: +VGA setup 
----- +** 640x480x1 
-mouseport=ps2 +** vga Basic monitor or laptop LCD 
-monitor=vga +* Mouse type 
-vgasize=1280x1024x8 +** PS2 
-console=cga +* Ethernet card 
- +** None 
-bootfile=h!2 +* ATA (IDE) controller 
-----+** None 
 +* SCSI controller 
 +** None 
 +* SoundBlaster 
 +** None 
 +* SoundBlaster CD-ROM 
 +** None 
 +* File system console 
 +** CGA 
 +* Save configuration 
 +** Save
  
 === Display configuration === Display configuration
Line 372: Line 389:
  
 **Select 2: "Reconfigure the system"** **Select 2: "Reconfigure the system"**
-|You must enter information about all devices every time you use this menu to configure a device. This is not an editor; it makes a new ''PLAN9.INI'' file each time|+|You must enter information about all devices every time you use this menu to configure a device. This is not an editor; it makes a new ''PLAN9.INI'' file each time|| 
 +|PLAN9.INI(8) ((//You must now configure the devices. Look at plan9.ini(8) in the manual to help understand the choices//))|http://man.cat-v.org/plan_9_2nd_ed/8/plan9.ini|
  
   - VGA setup   - VGA setup
Line 441: Line 459:
 |Save| |Save|
  
-<file config "9. Save configuration" Redo Save menu snippet>+  * Save or redo 
 + 
 +|**//System Instillation & Configuration//**| 
 + 
 +| mouseport=ps2  || 
 +| monitor=vga  || 
 +| vgasize=800x600x1  || 
 +| ata1=irq=15  || 
 +| auido0=type=sb16 port=0x220 irq=7 dma=5  || 
 +| console=cga  || 
 +| bootfile=hd!1!/plan9/9dos  || 
 +| rootdir=/plan9  || 
 +| bootdisk=#H/hd1disk:63  || 
 +| |Redo  | 
 +| |**Save** 
 + 
 +<file config Another "Save Redo" configuration menu snippet>
 mouseport=ps2 mouseport=ps2
 monitor=vga monitor=vga
Line 458: Line 492:
 |Choose the boot partition to mark as the active system.| |Choose the boot partition to mark as the active system.|
 ^Menu^ ^Menu^
-|''/dev/hd1''+|''/dev/hd1'' ((//Create notes for further review of the menu selection//.))
-|''/dev/hd2''|+|''/dev/hd2'' ((//Create notes for further review of the menu selection//.))|
  
 ^Press the ''Esc'' key to see what happens.^ ^Press the ''Esc'' key to see what happens.^
Line 489: Line 523:
 ===== \PLAN9\B ===== ===== \PLAN9\B =====
  
-  * //b.com - PC bootstrap program//+  * //b.com ((//It is safer not to install the Extended Memory Manager before running b.com//.)) - PC bootstrap program//
  
 ^Remove Disk1 then reboot.^^ ^Remove Disk1 then reboot.^^
 |''C:\PLAN9\B''|''D:\PLAN9\B''| |''C:\PLAN9\B''|''D:\PLAN9\B''|
  
-|Run FreeDOS 1.3  in //Safe Mode// (press #3).|+|:!: Run FreeDOS 1.3  in //Safe Mode// (press #3, if not press #4).|
 |//''3 - Load FreeDOS low with some drivers (Safe Mode)''//| |//''3 - Load FreeDOS low with some drivers (Safe Mode)''//|
 +|//''4 - Load FreeDOS without drivers (Emergency Mode)''// ((//The FreeDOS ''EDIT.EXE'' cursor is missing//; ''C:\PLAN9\B.COM'' works.)) ((//Try FreeDOS text editors ''C:\APPS\EMACS\EMACS.EXE'' or ''VIM.EXE''.//))|
  
 ^Plan 9 Second Edition screen for: \PLAN9\B^ ^Plan 9 Second Edition screen for: \PLAN9\B^
-|"File System Installation"|+|//File System Installation//|
  
 ^File System Installation^ ^File System Installation^
-|1. Install 3 Diskette System to local drive| +|1. Install 3 Diskette System to local drive ((//Create notes for further review of the demo install//.))
-|2. Install CD-ROM to local drive| +|2. Install CD-ROM to local drive ((//Create notes for further review of the CD-ROM install//.)) ((//You must now configure the devices. Look at plan9.ini(8) in the manual to help understand the choices//))
-|3a.Make a PC file server boot disk| +|3a.Make a PC file server boot disk ((//Not reviewed in this tutorial//.))
-|3b.Install CD-ROM to network file server| +|3b.Install CD-ROM to network file server ((//Not reviewed in this tutorial//.))
-|4. Make this PC a CPU and Authentication server|+|4. Make this PC a CPU and Authentication server ((//Not reviewed in this tutorial//.))|
  
-|B.COM(8)|http://man.cat-v.org/plan_9_2nd_ed/8/b.com|+  * Sufficient disc space
  
-===== System console =====+|//File System Installation//|| 
 +|1. Install 3 Diskette System to local drive|| 
 +|**''2. Install CD-ROM to local drive''**|| 
 +|''Select an ATAPI drive to load the distribution from:''|| 
 +| |**''#H/atapi2disk''**| 
 + 
 +  * Insufficient disc space 
 + 
 +|//File System Installation//|| 
 +|1. Install 3 Diskette System to local drive|| 
 +|**''2. Install CD-ROM to local drive''**|| 
 +|3a.Make a PC file server boot disk|| 
 +| |**''There is insufficient disc space after the DOS partitions to install the system. You need to free 64718336 bytes. Press almost any key to continue...''**| 
 + 
 +|B.COM(8) ((//It is safer not to install the Extended Memory Manager before running b.com//.))|http://man.cat-v.org/plan_9_2nd_ed/8/b.com| 
 + 
 +==== CD-ROM ==== 
 + 
 +|Load FreeDOS in //Safe Mode// to view the CD-ROM (//plan9-2e.iso//) at the ''E:\>''. While at the ''C:\>'' type ''E:'' then press the Return key.| 
 + 
 +<code> 
 +  Volume in drive E is PLAN 9 2ND 
 +   
 +  Directory of E:\ 
 +</code> 
 + 
 +==== System console ====
  
 <file config failure, with console snippets> <file config failure, with console snippets>
Line 522: Line 583:
 term% term%
 </file> </file>
 +
 +==== How to halt or shutdown ====
 +
 +Halt or shutdown the system.
 +
 +^Commands^
 +|''disk/kfscmd sync''|
 +|''disk/kfscmd halt''|
 +
 +  * Demo install
  
 <code> <code>
Line 534: Line 605:
 </code> </code>
  
 +  * CD-ROM install
 +
 +<code>
 + term% man kfscmd|grep halt
 +           halt      write all changed blocks and stop the file system.
 + term% 
 +</code>
 +
 +|KFSCMD(8)|http://man.cat-v.org/plan_9_2nd_ed/8/kfscmd|
 +
 +==== D:\> ====
 +
 +|x|CD-ROM Install|
 +
 +  * Postpone the //Demo// install if completing the //CD-ROM// install.
 +  * The //user// is **''tor''** until //user// files are added to the //CD-ROM// installed files.
 +    * A note about ''/usr/tor'' is located in the [[http://doc.cat-v.org/plan_9/2nd_edition/install|2. Install CD-ROM to local drive]] section (external link).
 +  * The [[http://doc.cat-v.org/plan_9/2nd_edition/install|Setting up a stand-alone machine]] section suggests that //you should create a user name for yourself// (external link).
 +
 +|AUTH(8)|http://man.cat-v.org/plan_9_2nd_ed/8/auth|
 +|NEWUSER(8)|http://man.cat-v.org/plan_9_2nd_ed/8/newuser|
 +|ways to install|http://doc.cat-v.org/plan_9/2nd_edition/install|
 +
 +<code>
 +  D:\PLAN9>more plan9.ini
 +  mouseport=ps2
 +  monitor=vga
 +  vgasize=800x600x1
 +  ata1=irq=15
 +  auido0=type=sb16 port=0x220 irq=7 dma=5
 +  console=cga
 +  
 +  bootfile=h!1
 +  D:\PLAN9>
 +</code>
 +
 +==== CD install user login ====
 +
 +**From B.COM**:
 +
 +^ File Machine View Input Devices Help ^^
 +| 5554 free pages, 22216K bytes, swap 108616K, highwater 1108k, headroom 1384K ||
 +| CPU is a 128 MHz unknown (cpuid: ax 306c3 dx 178bfbbf) ||
 +| root is from (local, 9600, 19200, il)[local!#H/hd1fs]: | ⇐ Press the Enter key.|
 +
 +^ File Machine View Input Devices Help ^^
 +| 5554 free pages, 22216K bytes, swap 108616K, highwater 1108k, headroom 1384K ||
 +| CPU is a 128 MHz unknown (cpuid: ax 306c3 dx 178bfbbf) ||
 +| root is from (local, 9600, 19200, il)[local!#H/hd1fs]: ||
 +| user[none]: USER | ⇐ Type the USER ((The //user// is **''tor''** until //user// files are added to the //CD-ROM// installed files.)) name, then press the Enter key. |
 +| password: | ⇐ Press the Enter key.|
 +
 +==== D:\>plan9\b ====
 +
 +**From FreeDOS**:
 +
 +<code>
 +  D:\>
 +  D:\>plan9\b
 +</code>
 +
 +**From B.COM**:
 +
 +<code>
 +  root is from (local, 9600, 19200, il)[local!#H/hd1fs]:
 +  user[none]: tor
 +  password:
 +</code>
 +
 +**From 8½ rc**:
 +
 +<code>
 +  Welcome to Plan9.
 +  This is rc.
 +  term%
 +</code>
 +
 +==== file transfer to C:\ ====
 +
 +Create the FreeDOS directory C:\FD9C
 +
 +<code>
 +  term% cd /n/c:
 +  term% mkdir fd9c
 +  term% cd fd9c
 +  term% pwd
 +  /n/c:fd9c
 +  term%
 +</code>
 +
 +<code>
 +  term% lc -l /bin/games >/n/c:fd9c/bingames.txt
 +  term% cd /n/c:/fd9c
 +  term% lc -l
 +  --rw-rw-rw- M 8 bill trog 699 Dec 15 05:52 bingames.txt
 +  term% cat bingames.txt
 +  --rwxrwxr-x M 3 sys sys  70817 Apr  5  1995 4s
 +  --rwxrwxr-x M 3 sys sys  73424 Apr  5  1995 5s
 +  --rwxrwxr-x M 3 sys sys  30113 Apr  5  1995 ana
 +  --rwxrwxr-x M 3 sys sys  66994 Apr  5  1995 catclock
 +  --rwxrwxr-x M 3 sys sys  52998 Apr  5  1995 clock
 +  --rwxrwxr-x M 3 sys sys  82700 Apr  5  1995 festoon
 +  --rwxrwxr-x M 3 sys sys  43496 Apr  5  1995 fireworks
 +  --rwxrwxr-x M 3 sys sys 224453 Apr  5  1995 fsim
 +  --rwxrwxr-x M 3 sys sys  47330 Apr  5  1995 life
 +  --rwxrwxr-x M 3 sys sys  61145 Apr  5  1995 mandel
 +  --rwxrwxr-x M 3 sys sys 123862 Apr  5  1995 plumb
 +  --rwxrwxr-x M 3 sys sys  98862 Apr  5  1995 road
 +  --rwxrwxr-x M 3 sys sys  61740 Apr  5  1995 smiley
 +  --rwxrwxr-x M 3 sys sys  78238 Apr  5  1995 swar
 +  term% pwd
 +  /n/c:/fd9c
 +  term%
 +</code>
 +
 +==== create a new user ====
 +
 +**From 8½ rc**:
 +
 +  * Create user ''none'' (for the CD-ROM install).
 +
 +<code>
 +  term% pwd
 +  /usr/tor
 +  term% lc ..
 +  tor
 +  term% /sys/lib/kfsuser none
 +  add user ’2:none:none:
 +  ’term% 
 +</code>
 +
 +  * //Cause kfs to reread the ''/adm/users'' file//.
 +
 +<code>
 +  term% disk/kfscmd user
 +  term% pwd
 +  /usr/tor
 +  term% lc ..
 +  none tor
 +</code>
 +
 +  * Login as the new user and copy the mentioned files from ''/usr/tor''.
 +  * //Even if you're planning to be the only person to use the machine, you should create a user name for yourself//.
 +  * //Don't use [user] ''none'', which has special meaning in Plan 9//. 
 +
 +|''/usr/tor/lib/first.window''|
 +|''/usr/tor/lib/profile''|
 +|''/usr/tor/bin/rc/8½start''|
 +
 +  * //The sequence for entering 8 1/2 on an IBM keyboard is// ''8-ALT-1-2''.
 +  * For educational and informational purposes only. [[playground:plan_9_second_edition#disk1img|Networking]] is not [[playground:plan_9_second_edition#disk1img|supported]].
 +
 +==== /bin ====
 +
 +^art, art2pic - edit line-art^
 +|ART(1)|http://man.cat-v.org/plan_9_2nd_ed/1/art|
 +
 +^tweak - edit bitmap files, subfont files, face files, etc.^
 +|TWEAK(1)|http://man.cat-v.org/plan_9_2nd_ed/1/tweak|
 +
 +==== /bin/fb ====
 +
 +^cpr, cprview - cheesy polygon renderer and viewer^
 +|CPR(9.1)|http://man.cat-v.org/plan_9_2nd_ed/9/cpr|
 +
 +^Manual pages - Section 1: Plan 9^
 +|http://man.cat-v.org/plan_9_2nd_ed/1/|
 +
 +^The Use of Name Spaces in Plan 9^
 +|http://doc.cat-v.org/plan_9/2nd_edition/papers/names|
 +|https://plan9.io/sys/doc/names.pdf|
 +
 +^Plan 9 Volume 2 - The Documents^
 +|http://doc.cat-v.org/plan_9/2nd_edition/papers/|
  
 ===== ISO image ===== ===== ISO image =====
Line 553: Line 798:
 ==== toobnix.org ==== ==== toobnix.org ====
  
-|games/fireworks|+|games/fireworks ((//Included the CD-ROM install//.)) [[:playground:plan_9_second_edition#file_transfer_to_c|lc -l /bin/games]]|
 |Windowing system is 8½ which is closer to UNIX mux| |Windowing system is 8½ which is closer to UNIX mux|
  
playground/plan_9_second_edition.1664264725.txt.gz · Last modified: 2022/09/27 07:45 by hc9