== Install summary
=== Start a recent version of VirtualBox.
* Install FreeDOS from the FD13LIVE.iso with the default VirtualBox settings.
==== 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 FDISK (6 MB, PRI DOS, FAT12) D: partition (Device 0).
----
IDE Primary Device 1: freedos-13.vdi (Normal, 500.00 MB)
IDE Secondary Device 0: freedos-13_1.vdi (Normal, 500.00 MB)
----
* Managed/modified disk (Device 1; C:) setting:
----
$ VBoxManage showmediuminfo 'freedos-13.vdi'
Capacity: 500 MBytes
----
----
$ VBoxManage modifymedium 'freedos-13.vdi' --compact
$ VBoxManage modifymedium 'freedos-13.vdi' --resize 525
----
==== 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:
* Managed/modified disk (Device 0; D:) setting:
----
$ VBoxManage showmediuminfo 'freedos-13_1.vdi'
Capacity: 500 MBytes
----
----
$ VBoxManage modifymedium 'freedos-13_1.vdi' --compact
$ VBoxManage modifymedium 'freedos-13_1.vdi' --resize 575
----
=== Run FreeDOS 1.3 in "Safe Mode" (press #3).
* 3 - Load FreeDOS low with some drivers (Safe Mode)
=== Review with FreeDOS and FDISK
----
C:\> fdisk
Do you want to use large disk (FAT 32) support (Y/N).[Y]?
Enter choice: [4]
"... Usage"
"... 95%"
"Total disk space is 525 Mbytes (1 Mbyte = 1048576 bytes)"
Press Esc to continue
Press Esc to exit FDISK
C:\> d:
D:\> fdisk
Do you want to use large disk (FAT 32) support (Y/N).[Y]?
Enter choice: [5]
Enter Fixed Disk Drive Number (1-2).....[2]
"Current Fixed Disk Drive: 2"
Enter choice: [4]
"... Usage"
"... 1%"
"Total disk space is 575 Mbytes (1 Mbyte = 1048576 bytes)"
Press Esc to continue
Press Esc to exit FDISK
D:\>
----
=== Floppy Diskettes and README file
/ plan_9 / 2nd_edition / plan9.att.com / pcdist
http://doc.cat-v.org/plan_9/2nd_edition/plan9.att.com/pcdist/
README
disk1
disk1.orig
disk2.vd
disk2.vd.orig
disk3.vd
disk3.vd.orig
disk4.vd
disk4.vd.orig
** 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:\plan9\plan9.ini or D:\plan9\plan9.ini
** disk2.vd, disk3.vd, and disk4.vd are files that must be copied to new diskettes (disk2.img, disk3.img and disk4.img).
=== 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:
** Floppy Drive Device 0:
** Choose/Create A Virtual Floppy Disk...
** Floppy Disk Selector (Popup)
** Create Disk Image (Icon)
** File Path: (rename the floppy.img as needed)
** Size: 1.44
** Format disk as FAT 12
* Create three copies of the new blank floppy.img (disk2.img, disk3.img, disk4.img):
* Copy disk2.vd to the disk2.img
* Copy disk3.vd to the disk3.img
* Copy disk4.vd to the disk4.img
=== A VirtualBox host copy example:
----
$ sudo mkdir /media/floppy1/
$ sudo mount -o loop disk2.img /media/floppy1/
$ sudo cp disk2.vd /media/floppy1/disk2.vd
$ sudo umount /media/floppy1/
----
=== Final VirtualBox guest Configuration Results:
* General
----
Name: freedos-13
Operating System: DOS
----
* System
----
Base Memory: 32 MB
Execution Cap: 40%
Boot Order: Floppy, Optical, Hard Disk
Acceleration: VT-x/AMD-V, Nested Paging
----
* Display
----
Video Memory: 9 MB
Graphics Controller: VboxVGA
Remote Desktop Server: Disabled
Recording: Disabled
----
* Storage
----
Controller: Floppy
Floppy Device 0: Empty
Controller: IDE
IDE Primary Device 0: [Optical Drive] plan9-2e.iso (375.27 MB)
IDE Primary Device 1: freedos-13.vdi (Normal, 525.00 MB)
IDE Secondary Device 0: freedos-13_1.vdi (Normal, 575.00 MB)
----
* Audio
----
Host Driver: PulseAudio
Controller: SoundBlaster 16
----
* Network
* USB
----
Disabled
----
* Shared folders
----
None
----
* Description
----
None
----
* VirtualBox - Bugs: High CPU usage of FreeDOS machine
http://wiki.freedos.org/wiki/index.php/VirtualBox_-_Bugs:_High_CPU_usage_of_FreeDOS_machine
* System (CPU usage adjustment)
----
Base Memory: 32 MB
Execution Cap: 40%
[ ]
----
==== Boot the FreeDOS VM with diskette disk1.img to configure C:\plan9\plan9.ini:
Plan 9 Second Edition Menu: "System Instillation & Configuration"
==== Menu
"Select a disc containing a FAT-based filesystem." [If the disc you want does not appear...]
"/dev/hd1"
"/dev/hd2"
** Select /dev/hd1 to configure the C:\plan9\plan9.ini
** Select /dev/hd2 to configure the D:\plan9\plan9.ini
* Remove the floppy diskette before restarting the FreeDOS VM.
* Install the Plan 9 Second Edition Demo.
----
C:\>plan9\b
----
Plan 9 Second Edition Menu: "File System Instillation"
** Select /dev/hd1 to configure the C:\plan9\plan9.ini
Select: "1. Install 3 Diskette System to local drive"
** (The following menu steps may require several attempts before the "3 Diskette System" is installed [in a familiar way], and configured, without interruption.)
** Make the newly installed Plan 9 the default (avoid this option initially)
** Reconfigure the system (possible)
** Exit to system (avoid this option)
** Reboot (possible)
** Remove the floppy diskette from the virtual drive before restarting.
=== "Reconfigure the system" by booting with diskette disk1.img after installing disk2.img, disk3.img, disk4.img, or the plan9-2e.iso, to a virtual hard disk drive storage device.
** Avoid "File System Installation"
** Select "An active Plan 9 system"
* Start the Plan 9 Second Edition Demo.
----
C:\>plan9\b
root is from (local, 9600, 19200, il)[local!#H/hd1fs]:
(press return/enter)
user[none]
(press return/enter)
----
----
/bin/dossrv 19 serving #s/dos
Start window system (y/n)?
(type y, then press return/enter.)
----
----
[]
Welcome to Plan 9.
This is rc.
term%
----
* (type 'disk/kfscmd halt' in a terminal window, then press return/enter to cleanly halt the system.)
Menu configuration note:
* Select /dev/hd1 to configure the C:\plan9\plan9.ini
** Example Second Edition demo /dev/hd1 plan9.ini:
----
mouseport=ps2
monitor=vga
vgasize=800x600x1
console=cga
bootfile=h!1
----
* Select /dev/hd2 to configure the D:\plan9\plan9.ini
** Example Second Edition /dev/hd2 plan9.ini:
----
mouseport=ps2
monitor=vga
vgasize=1280x1024x8
console=cga
bootfile=h!2
----
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
=== Display configuration
9.6. Advanced Display Configuration
http://www.virtualbox.org/manual/ch09.html#adv-display-config
FreeDOS small screensize
https://forums.virtualbox.org/viewtopic.php?t=9816
"You're stuck with this small screen."
B.COM(8)
http://man.cat-v.org/plan_9_2nd_ed/8/b.com
PLAN9.INI(8)
http://man.cat-v.org/plan_9_2nd_ed/8/plan9.ini
VGA(8)
http://man.cat-v.org/plan_9_2nd_ed/8/vga
Notes:
Adding a monitor to vgadb
https://plan9.io/wiki/plan9/adding_a_monitor_to_vgadb/index.html
/usr/web/sources/patch/applied/vgadb_additions/vgadb.orig
https://plan9.io/sources/patch/applied/vgadb_additions/vgadb.orig
Kfs file system configuration
https://plan9.io/wiki/plan9/Kfs_file_system_configuration/index.html
Papers
PLAN 9 RELEASE 2 (1995)
https://plan9.io/wiki/plan9/papers/
=== ISO image
Plan 9 Foundation
https://plan9foundation.org/
FreeDOS Wiki
http://wiki.freedos.org/wiki/index.php/Main_Page
=== Manual
Manual Sections
http://man.cat-v.org/plan_9_2nd_ed/
Manual pages - Section 8: system administration
http://man.cat-v.org/plan_9_2nd_ed/8/
=== toobnix.org
----
games/fireworks
"Windowing system is 8 1/2 which is closer to UNIX mux"
Plan9 2nd Edition
https://toobnix.org/w/qwV29JnoE9HCNmBEZutRn4
----