freebsd:freebsd_4cases
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
freebsd:freebsd_4cases [2025/01/16 08:50] – created azman | freebsd:freebsd_4cases [2025/02/14 13:06] (current) – ↷ Links adapted because of a move operation azman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FreeBSD on RasPi400 | + | ====== FreeBSD |
+ | |||
+ | Something not-so-common... | ||
+ | |||
+ | ===== Offline Installation ===== | ||
+ | |||
+ | //**Note**: Need to test this... :-P// | ||
+ | |||
+ | * Get the desired packages | ||
+ | # mkdir / | ||
+ | # pkg fetch -d -o / | ||
+ | * '' | ||
+ | * '' | ||
+ | * Copy those files to a portable USB drive | ||
+ | * On the target machine, copy everything to / | ||
+ | * Then, do a < | ||
+ | * '' | ||
+ | |||
+ | ===== 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 [[freebsd: | ||
+ | |||
+ | - plug in usb drive | ||
+ | * find device name (i.e. /dev/???) | ||
+ | * usually da0 is the first usb drive? | ||
+ | |||
+ | - refer to [[https:// | ||
+ | |||
+ | //to be continued...// | ||
+ | |||
+ | ===== Dual-Boot on UEFI Systems ===== | ||
+ | |||
+ | Find '' | ||
+ | |||
+ | ===== Install on SSD ===== | ||
+ | |||
+ | //**Note:** Generally, it seems that this is no longer an issue - some just did a normal install and have no problems at all. But, I want to put this here anyways.// | ||
+ | |||
+ | Creating partitions (from: https:// | ||
+ | |||
+ | < | ||
+ | # gpart create -s gpt ada0 | ||
+ | # gpart add -t freebsd-boot -s 1m -a 4k -l ssdboot ada0 | ||
+ | # gpart bootcode -b /boot/pmbr -p / | ||
+ | |||
+ | # gpart add -t freebsd-ufs -l ssdroot -b 1m -s 4g ada0 | ||
+ | # gpart add -t freebsd-ufs -l ssdvarfs -a 1m -s 2g ada0 | ||
+ | # gpart add -t freebsd-ufs -l ssdusrfs -a 1m ada0 | ||
+ | |||
+ | # newfs -U -t / | ||
+ | # newfs -U -t / | ||
+ | # newfs -U -t / | ||
+ | </ | ||
+ | |||
+ | create fstab (save as / | ||
+ | |||
+ | < | ||
+ | # Device Mountpoint FStype Options Dump Pass# | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | tmpfs / | ||
+ | </ | ||
+ | |||
+ | ===== FreeBSD on RasPi400 | ||
* got FreeBSD13 arm64 aarch64 image | * got FreeBSD13 arm64 aarch64 image |
freebsd/freebsd_4cases.1736988652.txt.gz · Last modified: by azman