Remote installation of FreeBSD: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 12: | Line 12: | ||
# make BASE=../DIST SE=1 RELEASE=14.2-RELEASE ARCH=amd64 | # make BASE=../DIST SE=1 RELEASE=14.2-RELEASE ARCH=amd64 | ||
</pre> | </pre> | ||
* <code># dd if=mfsbsd-se-14. | * <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. | : where <code>/dev/sda</code> is the boot drive. | ||
: On FreeBSD before running this command GEOM safety features should be disabled: | : On FreeBSD before running this command GEOM safety features should be disabled: | ||
| Line 21: | Line 21: | ||
* <code>mount /dev/ada0p3 /mnt/dist</code> | * <code>mount /dev/ada0p3 /mnt/dist</code> | ||
* <code>mkdir /usr/freebsd-dist</code> | * <code>mkdir /usr/freebsd-dist</code> | ||
* <code>cp /mnt/dist/14. | * <code>cp /mnt/dist/14.2-RELEASE*/*.txz /usr/freebsd-dist/</code> | ||
* <code>umount /mnt/dist</code> | * <code>umount /mnt/dist</code> | ||
* <code>bsdinstall</code> | * <code>bsdinstall</code> | ||
Revision as of 20:25, 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/distmount /dev/ada0p3 /mnt/distmkdir /usr/freebsd-distcp /mnt/dist/14.2-RELEASE*/*.txz /usr/freebsd-dist/umount /mnt/distbsdinstall