Skip to content

Instantly share code, notes, and snippets.

@99z
Last active December 22, 2023 19:13
Show Gist options
  • Save 99z/740bd7fdc020154049ebd1476f55ada2 to your computer and use it in GitHub Desktop.
Save 99z/740bd7fdc020154049ebd1476f55ada2 to your computer and use it in GitHub Desktop.
9front install/usage tips

Virtualbox settings

VM creation

  1. Type: Other
  2. Version: Other/Unknown, not 64bit

VM settings

  1. Audio -> Audio controller: SoundBlaster 16
  2. Network -> Advanced -> Adapter type: Intel/PRO1000 MT Server

Custom VESA modes

From: https://www.virtualbox.org/manual/ch09.html#idm7663

In host terminal: VBoxManage setextradata "9front" "CustomVideoMode1" "1920x1080x32"

VMWare settings

VMWare requires no special settings for installation and usage.

Installation

  1. Bootargs: defaults
  2. User: defaults
  3. vgasize: 1024x768x32 (might be able to get higher res during install, look into it)
  4. monitor: vesa
  5. mouseport: ps2intellimouse
  6. % inst/start
  7. configfs
  8. File system: default
  9. partdisk
  10. Parition: sdC0, or whatever HDD identifier is
  11. mbr or gpt: mbr
  12. w
  13. q
  14. prepdisk
  15. Partition to subdivide: default
  16. w
  17. q
  18. mountfs
  19. Cwfs cache: default
  20. Cwfs worm: default
  21. Cwfs other: default
  22. Ream: yes
  23. configdist
  24. Distribution is from: local
  25. confignet
  26. Interface to use: ether
  27. Configuration method: dhcp
  28. mountdist
  29. Distribution disk: /
  30. Location of archives: /
  31. copydist
  32. ndbsetup
  33. sysname: something 1337 hacker
  34. tzsetup
  35. US_Eastern
  36. bootsetup
  37. FAT partition: default
  38. Install p9 mbr: yes
  39. Mark p9 partition active: yes
  40. finish

Post-installation

Change resolution

% @{rfork n; aux/realemu; aux/vga -m vesa -l 1920x1080x32}

To set resolution during boot:

% 9fs 9fat

% acme /n/9fat/plan9.ini

% reboot

And change vgasize to 1920x1080x32 or whatever resolution you prefer.

Installing contrib

  1. mkdir -p /dist/replica/client
  2. 9fs sources
  3. /n/sources/contrib/fgb/root/rc/bin/contrib/install -f fgb/contrib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment