How do I install Plan 9 on Oracle VM VirtualBox?
There is another wiki found from Google results:
Verbatim from source:
NOTE: VirtualBox is not a very good choice. Behavior changes dramatically from release to release, with some working out of the box, some needing just the right settings, and some not working at all. You are highly encouraged to pick a different VM. VMware, qemu (with or without kqemu), kvm, and xen are all known to work better.
See also: installing plan 9 on qemu, in xen, in xen 3.0.
Bell Labs' Plan 9 and networking works well in virtualbox 3.1.8 using Am79C973 virtual ethernet adapter in bridged mode, chipset PIIX3 selected and "Enable IO APIC" turned off.
Under Virtual Box 3.0, selecting the ICH6 chipset rather than PIIX3 or PIIX4, and deselecting all disks allows
9pccpu
to run. AMD79C970 Ethernet PXE boots reliably but the Intel Ethernet emulations don't.
While getting Plan 9 installed on VirtualBox might pose a bit of a problem, it is possible to install 9front (a fork of plan 9, with patches and bug fixes) on VirtualBox. This YT video from/by Chris McGee contains some instructions for doing so. In summary:
- Download the latest 9front ISO
- Create a new VM, type of "Other/Unknown", 1024 MB RAM, 10 GB VDI
- Adjust settings:
- Audio: SoundBlaster 16
- Display: 32 MB of memory (optional)
- Network: NAT/Bridged, Intel Pro/1000 MT Server (82545EM)
- Start the machine and begin installation. Use the defaults where applicable, except as follows:
- Set your display resolution to
1024x768x32
, not1024x768x16
- Set your mouse to
ps2intellimouse
, notps2
. This will enable scrolling/paging.
- Set your display resolution to
- In the terminal window that pops up, type
inst/start
to start the installation. - Follow the prompts, using the defaults where possible. Watch out for the following:
- The disk to partition with
partdisk
issdC0
(VBOX HARDDISK
) - When prompted to install the mbr, type
yes
(not justy
). Usembr
, notgpt
. - Simply type
w
and thenq
at the>>>
prompts - Type
yes
when asked to ream the file system. sysname
may be any name you want.9front
is a good default.- Install the MBR and make it active.
- When you reach the
finish
prompt, unmount the CD from the drive before continuing.
- The disk to partition with
- Restart your machine when you receive the
fshalt
error message.
Useful info: To resize/move a window in rio
(window manager):
- Right-click on an empty area of the screen. Select either 'Resize' or 'Move'.
- Position the crosshair over the window you wish to resize/move.
- Right-click and drag to move the window.
- Position the cursor at the edge/corner of the window. Left-click and drag to resize from that edge.