User Tools

Site Tools


freebsd:freebsd_4cases

This is an old revision of the document!


FreeBSD Special Cases

Something not-so-common…

Offline Installation

Note: Need to test this… :-P

  • Get the desired packages on a FreeBSD machine with internet connection
      # mkdir /root/offline
      # pkg fetch -d -o /root/offline xorg mate slim firefox
    • -d for dependencies
    • -o specifies destination path for the fetched packages
  • Copy those files to a portable USB drive
  • On the target machine, copy everything to /var/cache/pkg
  • Then, do a
      # pkg -U install xorg mate slim firefox git geany networkmgr
    • -U is the short form for –no-repo-update

USB Thumb-Drive Installation

I want to try to install to a USB thumb-drive… from my FreeBSD virtual machine (VirtualBox). I have a 16GB USB3 Kingston Data Traveller drive, and already installed FreeBSD 12 on a virtual machine.

To prepare the drive layout, checkout here. I'm going to prepare for UEFI boot on a GPT formatted disk.

- plug in usb drive

  • find device name (i.e. /dev/???)
  • usually da0 is the first usb drive?

- refer to this

to be continued…

Dual-Boot on UEFI Systems

Find boot1.efi as place it in EFI System Partition. It will look for first partition with type freebsd-ufs (which can even be on another disk) and load loader.efi.

FreeBSD on RasPi400

  • got FreeBSD13 arm64 aarch64 image
  • write to microsd card
  • boot issue
    • ok if boot from usb (note: starting pi4, usb boot is possible!)
    • need to update u-boot binary (look for that in forum)
  • console display is not ok when using on tv (high res?)
    • edit config.txt and comment out hdmi_safe=1

going for dwm

  • pkg install libX11 libXft libXinerama
  • pkg install git

work in progress…

freebsd/freebsd_4cases.1736990056.txt.gz · Last modified: by azman