Remote installation of FreeBSD: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
* Download the '''special edition''' mfsBSD USB memstick image | * Download the '''special edition''' mfsBSD USB memstick image | ||
: https://mfsbsd.vx.sk/files/images/14/amd64/mfsbsd-se-14.1-RELEASE-amd64.img | |||
: or build it: | |||
<pre> | <pre> | ||
https:// | $ cd dir | ||
$ mkdir DIST | |||
$ fetch -o DIST https://download.freebsd.org/releases/amd64/14.2-RELEASE/base.txz | |||
$ fetch -o DIST https://download.freebsd.org/releases/amd64/14.2-RELEASE/kernel.txz | |||
$ git clone --depth 1 https://github.com/mmatuska/mfsbsd | |||
$ cd mfsbsd | |||
as root: | |||
# make BASE=../DIST SE=1 RELEASE=14.2-RELEASE ARCH=amd64 | |||
</pre> | </pre> | ||
* <code>dd if=mfsbsd-se- | * <code># dd if=mfsbsd-se-14.2-RELEASE-amd64.img of=/dev/sda bs=1M</code> | ||
: | : where <code>/dev/sda</code> is the boot drive. | ||
: Reboot | : On FreeBSD before running this command GEOM safety features should be disabled: | ||
* <code>mkdir /mnt/dist</code> | : <code># sysctl kern.geom.debugflags=16</code> | ||
* <code>mount /dev/ada0p3 /mnt/dist</code> | * Reboot | ||
* <code>mkdir /usr/freebsd-dist</code> | * Login as root, password: mfsroot | ||
* <code>cp /mnt/dist/ | * # <code>mkdir /mnt/dist</code> | ||
* <code>umount /mnt/dist</code> | * # <code>mount /dev/ada0p3 /mnt/dist</code> | ||
* <code>bsdinstall</code> | * # <code>mkdir /usr/freebsd-dist</code> | ||
* # <code>cp /mnt/dist/14.2-RELEASE*/*.txz /usr/freebsd-dist/</code> | |||
* # <code>umount /mnt/dist</code> | |||
* # <code>bsdinstall</code> | |||
[[Category: FreeBSD]] | [[Category: FreeBSD]] | ||
[[Category: Hardware]] | [[Category: Hardware]] | ||
Latest revision as of 20:27, 20 December 2024
- Download the special edition mfsBSD USB memstick image
$ cd dir $ mkdir DIST $ fetch -o DIST https://download.freebsd.org/releases/amd64/14.2-RELEASE/base.txz $ fetch -o DIST https://download.freebsd.org/releases/amd64/14.2-RELEASE/kernel.txz $ git clone --depth 1 https://github.com/mmatuska/mfsbsd $ cd mfsbsd as root: # make BASE=../DIST SE=1 RELEASE=14.2-RELEASE ARCH=amd64
# dd if=mfsbsd-se-14.2-RELEASE-amd64.img of=/dev/sda bs=1M
- where
/dev/sdais the boot drive. - On FreeBSD before running this command GEOM safety features should be disabled:
# sysctl kern.geom.debugflags=16
- Reboot
- Login as root, password: mfsroot
- #
mkdir /mnt/dist - #
mount /dev/ada0p3 /mnt/dist - #
mkdir /usr/freebsd-dist - #
cp /mnt/dist/14.2-RELEASE*/*.txz /usr/freebsd-dist/ - #
umount /mnt/dist - #
bsdinstall