Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / freebsd-15.0-release-amd64-zfs.vhd-quickstart.md
Last active January 7, 2026 19:48
FreeBSD 15 VirtualBox quick start
@grahamperrin
grahamperrin / etn-review.md
Last active January 3, 2026 15:40
partial review
  1. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwdqbq1/?context=2 under post 1pq7qci
  2. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwdr78v/?context=1 under post 1pq7qci
  3. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwfglk9/?context=3 under post 1pq7qci involving removal of a comment from ETN
  4. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwfhjrg/?context=1 under post 1pq7qci
  5. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwimgms/?context=3 under post 1pq7qci involving removal of a comment from ETN, moderator STRIKE ONE
  6. https://old.reddit.com/r/freebsd/comments/1pq7qci/-/nwjgftj/?context=2 under post 1pq7qci involving removal of two comments from ETN, moderator CLOSE TO STRIKE TWO
  7. https://old.reddit.com/r/freebsd/comments/1pyab53/-/nwipu7n/?context=2 under post 1pyab53 ETN seeking a backstory, promising to not leak
  8. https://old.reddit.com/r/freebsd/comments/1pymcte/-/ post 1pymcte (ETN, 2025-12-29)
  9. https://forum.opnsense.org/index.php?topic=5
@grahamperrin
grahamperrin / FreeBSD-src-16-inferior.md
Last active January 1, 2026 09:46
Adding the FreeBSD-src-16 base package to inferior versions of FreeBSD, for the FreeBSD-base 15 repo keys

Adding the FreeBSD-src-16 base package to inferior versions of FreeBSD, for the FreeBSD-base 15 repo keys

For https://www.freebsd.org/releases/15.0R/relnotes/#upgrade-rc and the like.

Where a pair of cp commands involves these two paths – a file, and a directory file:

/usr/src/usr.sbin/pkg/FreeBSD.conf.quarterly-release
/usr/src/share/keys/pkgbase-15
@grahamperrin
grahamperrin / 2025-11-29-virtualbox.txt
Created November 29, 2025 13:42
All VirtualBox VMs terminating unexpectedly during startup with exit code 1 (0x1) – Result Code: NS_ERROR_FAILURE (0x80004005) – Component: MachineWrap – Interface: IMachine {e36a5081-a82a-40bd-9e4e-42a44d6ce50f}
grahamperrin@mowa219-gjp4 ~> VBoxManage startvm removable
Waiting for VM "removable" to power on...
VBoxManage: error: The virtual machine 'removable' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
grahamperrin@mowa219-gjp4 ~ [1]> sudo dmesg | grep -i vbox
[sudo: authenticate] Password:
[ 65.864631] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 65.878166] vboxdrv: Found 8 processor cores/threads
[ 65.894652] vboxdrv: TSC mode is Invariant, tentative frequency 2494209944 Hz
[ 65.894659] vboxdrv: Successfully loaded version 7.2.4 r170995 (interface 0x00340001)
@grahamperrin
grahamperrin / freebsd-15.0-beta5-desktop-online.txt
Created November 9, 2025 04:00
FreeBSD 15-BETA5: using the Foundation-funded desktop script for online installation of KDE Plasma and applications, SDDM, X.Org, and Oracle® VirtualBox Guest Additions
Script started on Sat Nov 8 22:52:14 2025
root@fifteen-beta5:~ # /bin/tcsh
/bin/sh: /bin/tcsh: not found
root@fifteen-beta5:~ # which ee
root@fifteen-beta5:~ # pkg install -qy FreeBSD-csh FreeBSD-ee FreeBSD-bsdconfig
Generating apropos(1) database for /usr/share/man...
Generating apropos(1) database for /usr/share/openssl/man...
root@fifteen-beta5:~ # /bin/tcsh
root@fifteen-beta5:~ # fetch https://tinyurl.com/desktop-alfix
@grahamperrin
grahamperrin / freebsd-15.0-beta5-dvd-offline.txt
Created November 9, 2025 01:39
FreeBSD 15: offline installation of GNOME (in the absence of KDE Plasma and applications) using FreeBSD-15.0-BETA5-amd64-dvd1.iso
Script started on Sun Nov 9 00:32:47 2025
root@fifteen-beta5:~ # /bin/tcsh
/bin/sh: /bin/tcsh: not found
root@fifteen-beta5:~ # which ee
root@fifteen-beta5:~ # mkdir -p /dist
root@fifteen-beta5:~ # mount_cd9660 /dev/cd0 /dist
root@fifteen-beta5:~ # cd /dist/usr/freebsd-packages/offline
root@fifteen-beta5:/dist/usr/freebsd-packages/offline # ls -hln FreeBSD-bsdconfig-15* FreeBSD-csh-15* FreeBSD-ee-15*
-rw-r--r-- 1 0 0 184K Nov 7 12:44 FreeBSD-bsdconfig-15.0.b5.20251107103050.pkg
-rw-r--r-- 1 0 0 373K Nov 7 12:44 FreeBSD-csh-15.0.b5.20251107103050.pkg
@grahamperrin
grahamperrin / mate-freebsd-15.0-beta4.txt
Last active November 2, 2025 00:00
Installing MATE whilst booted from FreeBSD-15.0-BETA4-amd64-dvd1.iso
Script started on Sat Nov 1 15:59:36 2025
# mount | grep cd
/dev/iso9660/15_0_BETA4_AMD64_DVD on / (cd9660, local, read-only)
# which csh
# ee
/bin/sh: ee: not found
# nano
/bin/sh: nano: not found
# pkg install -qy FreeBSD-ee FreeBSD-csh FreeBSD-bsdconfig nano
pkg: Repository FreeBSD-base has a wrong packagesite, need to re-create database
@grahamperrin
grahamperrin / 2025-10-28-pkg-delete-base-disabled.txt
Created October 28, 2025 21:52
pkg-delete(8) with FreeBSD-base disabled
Script started on Tue Oct 28 21:44:47 2025
root@beta-3:~ # echo $SHELL
/bin/tcsh
root@beta-3:~ # freebsd-version -kru ; uname -mvKU
15.0-BETA3
15.0-BETA3
15.0-BETA3
FreeBSD 15.0-BETA3 releng/15.0-n280772-74a6de9f9625 GENERIC amd64 1500068 1500068
@grahamperrin
grahamperrin / 2025-10-27-pkg.txt
Created October 27, 2025 05:29
2025-10-27 pkg oddities with (end of life) 14.2-RELEASE
Script started on Mon Oct 27 05:11:46 2025
root@fourteen-two:~ # echo $SHELL
/bin/tcsh
root@fourteen-two:~ # pkg repos -e | grep url | sort
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
root@fourteen-two:~ # freebsd-version -kru ; uname -mvKU
14.2-RELEASE
@grahamperrin
grahamperrin / freebsd-installer-offline-packages.md
Last active October 9, 2025 23:32
FreeBSD Installer: using the installer's offline packages

FreeBSD Installer: using the installer's offline packages

The rough guide below is for:

  • FreeBSD-15.0-ALPHA5-amd64-20251004-1c0898edf28f-280541-dvd1.iso

After a minimimal installation of FreeBSD

Before first boot: