Skip to content

Instantly share code, notes, and snippets.

View matias-pizarro's full-sized avatar

Matías Pizarro matias-pizarro

View GitHub Profile
@matias-pizarro
matias-pizarro / 00_install_fbsd_14_0_hetzner.md
Last active July 30, 2024 10:23 — forked from ctsrc/00_install_fbsd_14_1_hetzner.md
Install FreeBSD 14.1 on Hetzner

Install FreeBSD 14.1 on Hetzner server

Hetzner no longer offers direct install of FreeBSD, but we can do it ourselves. Here is how :)

Boot the hetzner server in Hetnzer Debain based rescue mode. ssh into it. then:

wget https://mfsbsd.vx.sk/files/iso/14/amd64/mfsbsd-14.1-RELEASE-amd64.iso

qemu-system-x86_64 \
# Usage
chmod a+x barenaked_repos.sh
./barenaked_repos.sh
# To be able to interact with the created structure you can import the aliases and paths your bash session:
source ./environment.sh
# to clean up and start again
rm -rf ${HOME}/test_bare/shared_volume
@matias-pizarro
matias-pizarro / Advents Gist
Last active December 6, 2021 12:21
Advents Gist
To appear magically
@matias-pizarro
matias-pizarro / mount_be.md
Created October 29, 2016 20:01
Mount a BE filesystem temporarily

find out which are the BE filesystems:

$ zfs list
NAME                                        USED  AVAIL  REFER  MOUNTPOINT
tank                                       59.2G   840G    88K  none
tank/ROOT                                  16.5G   840G    88K  none
tank/ROOT/11.0-RC3                            8K   840G  3.66G  /
tank/ROOT/12.0-CURRENT-up-20161003_121021  60.6M   840G  7.08G  /
tank/ROOT/12.0-CURRENT-up-20161006_054232  12.0G   840G  9.97G  /
tank/ROOT/12.0-CURRENT-up-20161017_004530  4.43G   840G  9.04G  /
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@matias-pizarro
matias-pizarro / local.conf
Last active August 29, 2015 14:02
I have a repo set up at /mnt/usbdrive/packages. Going from pkg 1.2.5 (default on 10.0-RELEASE) to 1.2.7_2, the following set up stops working (pkg: unable to find catalog)
# /usr/local/etc/pkg/repos/local.conf
local: {
url: "pkg+file:///mnt/usbdrive/packages",
mirror_type: "srv",
enabled : yes
}