Skip to content

Instantly share code, notes, and snippets.

@bsdimp
bsdimp / freebsd-arm-user.md
Last active January 28, 2024 18:00
Running old versions of FreeBSD/arm with QEMU on amd64

Running FreeBSD 10 arm image in a chroot

Outlined below is a general technique for running FreeBSD/arm (32-bit) in a chroot running on a FreeBSD/amd64 host. It will focus running FreeBSD 10.4, but can be used for any version. A user in the community is trying very hard to update a 10.4 machine to something newer and needs to build a new shell and is having trouble. So I went through these steps to create an environment where I could build it for him. I thought I'd document them for everybody.

Conventions

@bsdimp
bsdimp / post_dmesg_to_nycbug.pl
Created October 6, 2018 22:51 — forked from afresh1/post_dmesg_to_nycbug.pl
This script posts an OpenBSD dmesg to the NYC*BUG archive at http://www.nycbug.org/index.cgi?action=dmesgd
#!/usr/bin/perl
use strict;
use warnings;
use feature 'say';
use Sys::Hostname;
use HTTP::Tiny;
# This script posts your OpenBSD dmesg to the NYC*BUG dmesg archive.