playground:plan_9_second_edition
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
playground:plan_9_second_edition [2022/09/26 16:45] – [Chronology] hc9 | playground:plan_9_second_edition [2023/01/04 09:25] – [CD install user login] 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 | + | |Tutorial [**x**] |
+ | | :!: System CPU //Execution Cap: 40%// | ||
* For educational and informational purposes only. [[playground: | * For educational and informational purposes only. [[playground: | ||
+ | * // | ||
+ | * VirtualBox display scale factor setting is available. | ||
==== Chronology ==== | ==== Chronology ==== | ||
Line 15: | Line 18: | ||
|README|http:// | |README|http:// | ||
+ | |special interest|http:// | ||
+ | |ways to install|http:// | ||
<file config An asciidoc version of Plan 9 Second Edition.> | <file config An asciidoc version of Plan 9 Second Edition.> | ||
Line 23: | 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 | |
- | ==== The Plan 9 Second Edition Floppy Diskette (2-4) Install | + | |
* 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 (6 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 33: | Line 37: | ||
---- | ---- | ||
- | * Managed/ | + | === 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/ | ||
---- | ---- | ||
- | $ VBoxManage showmediuminfo ' | + | $ VBoxManage showmediuminfo ' |
Capacity: | Capacity: | ||
---- | ---- | ||
---- | ---- | ||
- | $ VBoxManage modifymedium ' | + | $ VBoxManage modifymedium ' |
- | $ VBoxManage modifymedium ' | + | $ VBoxManage modifymedium ' |
---- | ---- | ||
- | ==== The Plan 9 Second Edition CD-ROM (plan9-2e.iso) | + | === Demo Install |
- | * Managed/ | + | * 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/ | ||
---- | ---- | ||
- | $ VBoxManage showmediuminfo ' | + | $ VBoxManage showmediuminfo ' |
Capacity: | Capacity: | ||
---- | ---- | ||
---- | ---- | ||
- | $ VBoxManage modifymedium ' | + | $ VBoxManage modifymedium ' |
- | $ VBoxManage modifymedium ' | + | $ VBoxManage modifymedium ' |
---- | ---- | ||
- | === Run FreeDOS 1.3 in “Safe Mode” (press #3). | + | === Run FreeDOS 1.3 in "Safe Mode" |
* 3 - Load FreeDOS low with some drivers (Safe Mode) | * 3 - Load FreeDOS low with some drivers (Safe Mode) | ||
Line 68: | Line 80: | ||
Enter choice: [4] | Enter choice: [4] | ||
- | “… | + | " |
- | “… | + | " |
- | “Total disk space is 525 Mbytes (1 Mbyte = 1048576 bytes)” | + | "Total disk space is 525 Mbytes (1 Mbyte = 1048576 bytes)" |
Press Esc to continue | Press Esc to continue | ||
Line 82: | Line 94: | ||
Enter choice: [5] | Enter choice: [5] | ||
- | Enter Fixed Disk Drive Number (1-2)…..[2] | + | Enter Fixed Disk Drive Number (1-2).....[2] |
- | “Current Fixed Disk Drive: 2” | + | "Current Fixed Disk Drive: 2" |
Enter choice: [4] | Enter choice: [4] | ||
- | “… | + | " |
- | “… 1%” | + | "... 3%" |
- | “Total disk space is | + | "Total disk space is |
Press Esc to continue | Press Esc to continue | ||
Line 115: | Line 127: | ||
** Copy README, disk1, disk2.vd, disk3.vd, and disk4.vd to the VirtualBox host machine. | ** Copy README, disk1, disk2.vd, disk3.vd, and disk4.vd to the VirtualBox host machine. | ||
- | ** disk1 (rename to disk1.img) is a boot-able diskette, and used to configure the C: | + | ** disk1 (rename to disk1.img) is a boot-able diskette, and used to configure the C: |
** disk2.vd, disk3.vd, and disk4.vd are files that must be copied to new diskettes (disk2.img, disk3.img and disk4.img). | ** disk2.vd, disk3.vd, and disk4.vd are files that must be copied to new diskettes (disk2.img, disk3.img and disk4.img). | ||
=== Notes: | === Notes: | ||
- | * C: | ||
- | (limited VGA settings?) | ||
- | * D: | ||
- | (less limited VGA settings?) | ||
* Create a blank floppy.img with VirtualBox, for use with FreeDOS: | * Create a blank floppy.img with VirtualBox, for use with FreeDOS: | ||
** Floppy Drive Device 0: | ** Floppy Drive Device 0: | ||
- | ** Choose/ | + | ** Choose/ |
** Floppy Disk Selector (Popup) | ** Floppy Disk Selector (Popup) | ||
** Create Disk Image (Icon) | ** Create Disk Image (Icon) | ||
Line 146: | Line 154: | ||
---- | ---- | ||
- | === Final VirtualBox guest Configuration Results | + | === Final VirtualBox guest Configuration Results: |
* General | * General | ||
Line 205: | Line 213: | ||
---- | ---- | ||
- | ==== Boot the FreeDOS VM with diskette disk1.img to configure C: | + | === Boot the FreeDOS VM with diskette disk1.img to configure C: |
- | Plan 9 Second Edition Menu: “System Instillation & Configuration” | + | Plan 9 Second Edition Menu: "System Instillation & Configuration" |
- | == Menu | + | ==== Menu |
- | “Select a disc containing a FAT-based filesystem.” [If the disc you want does not appear…] | + | "Select a disc containing a FAT-based filesystem." |
- | “/dev/hd1” | + | "/dev/hd1" |
- | “/dev/hd2” | + | "/dev/hd2" |
** Select /dev/hd1 to configure the C: | ** Select /dev/hd1 to configure the C: | ||
Line 225: | Line 233: | ||
---- | ---- | ||
- | Plan 9 Second Edition Menu: “File System Instillation” | + | Plan 9 Second Edition Menu: "File System Instillation" |
** Select /dev/hd1 to configure the C: | ** Select /dev/hd1 to configure the C: | ||
- | Select: | + | Select: |
- | ** (The following menu steps may require several attempts before the “3 Diskette System” is installed, and configured, without interruption.) | + | ** (The following menu steps may require several attempts before the "3 Diskette System" |
** Make the newly installed Plan 9 the default (avoid this option initially) | ** Make the newly installed Plan 9 the default (avoid this option initially) | ||
Line 239: | Line 247: | ||
** Remove the floppy diskette from the virtual drive before restarting. | ** Remove the floppy diskette from the virtual drive before restarting. | ||
- | === " | + | === " |
** Avoid "File System Installation" | ** Avoid "File System Installation" | ||
Line 265: | Line 273: | ||
---- | ---- | ||
- | * (type ‘disk/kfscmd halt’ in a terminal window, then press return/ | + | * (type 'disk/kfscmd halt' |
Menu configuration note: | Menu configuration note: | ||
Line 281: | 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 | ||
+ | * ATA (IDE) controller | ||
+ | ** None | ||
+ | * SCSI controller | ||
+ | ** None | ||
+ | * SoundBlaster | ||
+ | ** None | ||
+ | * SoundBlaster CD-ROM | ||
+ | ** None | ||
+ | * File system | ||
+ | ** CGA | ||
+ | * Save configuration | ||
+ | ** Save | ||
- | bootfile=h!2 | + | === Display configuration |
- | ---- | + | |
- | === 9.6. Advanced Display Configuration | + | 9.6. Advanced Display Configuration |
http:// | http:// | ||
- | Freedos | + | FreeDOS |
https:// | https:// | ||
" | " | ||
Line 343: | Line 363: | ||
---- | ---- | ||
games/ | games/ | ||
- | " | + | " |
Plan9 2nd Edition | Plan9 2nd Edition | ||
Line 369: | Line 389: | ||
**Select 2: " | **Select 2: " | ||
- | |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 '' | + | |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(8) ((//You must now configure the devices. Look at plan9.ini(8) in the manual to help understand the choices// | ||
- VGA setup | - VGA setup | ||
Line 438: | Line 459: | ||
|Save| | |Save| | ||
- | <file config | + | * 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!/ | ||
+ | | rootdir=/ | ||
+ | | bootdisk=# | ||
+ | | |Redo | | ||
+ | | |**Save** | ||
+ | |||
+ | <file config | ||
mouseport=ps2 | mouseport=ps2 | ||
monitor=vga | monitor=vga | ||
Line 455: | Line 492: | ||
|Choose the boot partition to mark as the active system.| | |Choose the boot partition to mark as the active system.| | ||
^Menu^ | ^Menu^ | ||
- | |''/ | + | |''/ |
- | |''/ | + | |''/ |
^Press the '' | ^Press the '' | ||
|Reconfiguration complete. Remove the boot floppy and press any key to reboot, allowing the new configuration to come into effect.| | |Reconfiguration complete. Remove the boot floppy and press any key to reboot, allowing the new configuration to come into effect.| | ||
|When you return to DOS, restart Plan 9 by typing '' | |When you return to DOS, restart Plan 9 by typing '' | ||
+ | |||
+ | ==== Disk1 re-config note ==== | ||
+ | |||
+ | - VGA setup | ||
+ | * 640x480x1 | ||
+ | * vga - Basic monitor or laptop LCD | ||
+ | - Mouse type | ||
+ | * PS2 | ||
+ | - Ethernet card | ||
+ | * None | ||
+ | - ATA (IDE) controller | ||
+ | * None | ||
+ | - SCSI controller | ||
+ | * None | ||
+ | - SoundBlaster | ||
+ | * None | ||
+ | - SoundBlaster CD-ROM | ||
+ | * None | ||
+ | - File system console | ||
+ | * CGA | ||
+ | - Save configuration | ||
+ | * Save | ||
===== \PLAN9\B ===== | ===== \PLAN9\B ===== | ||
- | * //b.com - PC bootstrap program// | + | * // |
^Remove Disk1 then reboot.^^ | ^Remove Disk1 then reboot.^^ | ||
|'' | |'' | ||
- | |Run FreeDOS 1.3 in //Safe Mode// (press #3).| | + | |:!: Run FreeDOS 1.3 in //Safe Mode// (press #3, if not press #4).| |
|//'' | |//'' | ||
+ | |//'' | ||
^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// |
- | |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 |
- | |4. Make this PC a CPU and Authentication server| | + | |4. Make this PC a CPU and Authentication server |
- | |B.COM(8)|http:// | + | * Sufficient disc space |
- | ===== System console | + | |//File System Installation// |
+ | |1. Install 3 Diskette System to local drive|| | ||
+ | |**'' | ||
+ | |'' | ||
+ | | |**''# | ||
+ | |||
+ | * Insufficient disc space | ||
+ | |||
+ | |//File System Installation// | ||
+ | |1. Install 3 Diskette System to local drive|| | ||
+ | |**'' | ||
+ | |3a.Make a PC file server boot disk|| | ||
+ | | |**'' | ||
+ | |||
+ | |B.COM(8) ((//It is safer not to install the Extended Memory Manager before running b.com// | ||
+ | |||
+ | ==== CD-ROM ==== | ||
+ | |||
+ | |Load FreeDOS in //Safe Mode// to view the CD-ROM (// | ||
+ | |||
+ | < | ||
+ | Volume in drive E is PLAN 9 2ND | ||
+ | |||
+ | Directory of E:\ | ||
+ | </ | ||
+ | |||
+ | ==== System console ==== | ||
<file config failure, with console snippets> | <file config failure, with console snippets> | ||
Line 497: | Line 583: | ||
term% | term% | ||
</ | </ | ||
+ | |||
+ | ==== How to halt or shutdown ==== | ||
+ | |||
+ | Halt or shutdown the system. | ||
+ | |||
+ | ^Commands^ | ||
+ | |'' | ||
+ | |'' | ||
+ | |||
+ | * Demo install | ||
< | < | ||
Line 509: | Line 605: | ||
</ | </ | ||
+ | * CD-ROM install | ||
+ | |||
+ | < | ||
+ | term% man kfscmd|grep halt | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |KFSCMD(8)|http:// | ||
+ | |||
+ | ==== D:\> ==== | ||
+ | |||
+ | |x|CD-ROM Install| | ||
+ | |||
+ | * Postpone the //Demo// install if completing the //CD-ROM// install. | ||
+ | * The //user// is **'' | ||
+ | * A note about ''/ | ||
+ | * The [[http:// | ||
+ | |||
+ | |AUTH(8)|http:// | ||
+ | |NEWUSER(8)|http:// | ||
+ | |ways to install|http:// | ||
+ | |||
+ | < | ||
+ | D: | ||
+ | mouseport=ps2 | ||
+ | monitor=vga | ||
+ | vgasize=800x600x1 | ||
+ | ata1=irq=15 | ||
+ | auido0=type=sb16 port=0x220 irq=7 dma=5 | ||
+ | console=cga | ||
+ | | ||
+ | bootfile=h!1 | ||
+ | D: | ||
+ | </ | ||
+ | |||
+ | ==== 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!# | ||
+ | |||
+ | ^ 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!# | ||
+ | | user[none]: USER | ⇐ Type the USER ((The //user// is **'' | ||
+ | | password: | ⇐ Press the Enter key.| | ||
+ | |||
+ | ==== D: | ||
+ | |||
+ | **From FreeDOS**: | ||
+ | |||
+ | < | ||
+ | D:\> | ||
+ | D: | ||
+ | </ | ||
+ | |||
+ | **From B.COM**: | ||
+ | |||
+ | < | ||
+ | root is from (local, 9600, 19200, il)[local!# | ||
+ | user[none]: tor | ||
+ | password: | ||
+ | </ | ||
+ | |||
+ | **From 8½ rc**: | ||
+ | |||
+ | < | ||
+ | Welcome to Plan9. | ||
+ | This is rc. | ||
+ | term% | ||
+ | </ | ||
+ | |||
+ | ==== file transfer to C:\ ==== | ||
+ | |||
+ | Create the FreeDOS directory C:\FD9C | ||
+ | |||
+ | < | ||
+ | term% cd /n/c: | ||
+ | term% mkdir fd9c | ||
+ | term% cd fd9c | ||
+ | term% pwd | ||
+ | /n/c:fd9c | ||
+ | term% | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | term% lc -l /bin/games >/ | ||
+ | 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% | ||
+ | </ | ||
+ | |||
+ | ==== create a new user ==== | ||
+ | |||
+ | * Create user '' | ||
+ | |||
+ | < | ||
+ | term% pwd | ||
+ | /usr/tor | ||
+ | term% lc .. | ||
+ | tor | ||
+ | term% / | ||
+ | add user ’2: | ||
+ | ’term% | ||
+ | </ | ||
+ | |||
+ | * //Cause kfs to reread the ''/ | ||
+ | |||
+ | < | ||
+ | term% disk/kfscmd user | ||
+ | term% pwd | ||
+ | /usr/tor | ||
+ | term% lc .. | ||
+ | none tor | ||
+ | </ | ||
+ | |||
+ | * Login as the new user and copy the mentioned files from ''/ | ||
+ | * //Even if you're planning to be the only person to use the machine, you should create a user name for yourself//. | ||
+ | * // | ||
+ | |||
+ | |''/ | ||
+ | |''/ | ||
+ | |''/ | ||
+ | |||
+ | * //The sequence for entering 8 1/2 on an IBM keyboard is// '' | ||
+ | * For educational and informational purposes only. [[playground: | ||
+ | |||
+ | ==== /bin ==== | ||
+ | |||
+ | ^art, art2pic - edit line-art^ | ||
+ | |ART(1)|http:// | ||
+ | |||
+ | ^tweak - edit bitmap files, subfont files, face files, etc.^ | ||
+ | |TWEAK(1)|http:// | ||
+ | |||
+ | ^Manual pages - Section 1: Plan 9^ | ||
+ | |http:// | ||
+ | |||
+ | ^The Use of Name Spaces in Plan 9^ | ||
+ | |http:// | ||
+ | |https:// | ||
+ | |||
+ | ^Plan 9 Volume 2 - The Documents^ | ||
+ | |http:// | ||
===== ISO image ===== | ===== ISO image ===== | ||
Line 528: | Line 791: | ||
==== toobnix.org ==== | ==== toobnix.org ==== | ||
- | |games/ | + | |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.txt · Last modified: 2023/06/30 23:17 by hc9