mfsBSD Question

Lonnie Cumberland lonnie at outstep.com
Sat Jul 18 02:26:02 UTC 2020


Hi All,

Not sure if this is the correct mailing list to post this question, so I do
apologize if it is not.

I am trying to learn my way through building the "mini"  (about 27MB)
mfsBSD (64-bit AMD) for FeeBSD RELEASE 12.1 and came across these
instructions:

https://hashbang0.com/2019/02/07/setting-up-mfsbsd-for-receiving-zfs-snapshots-on-systems-with-low-memory/

----------------------------------
root at bil-bsd # cd /var/tmp

# Fetch the FreeBSD ISO
root at bil-bsd # fetch
https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-amd64-disc1.iso

# Mount the ISO
root at bil-bsd # mdconfig -a -t vnode -u 10 -f
/var/tmp/FreeBSD-12.1-RELEASE-amd64-disc1.iso
root at bil-bsd # mount_cd9660 /dev/md10 /mnt/

# Clone the mfsbsd repo
root at bil-bsd # git clone https://github.com/mmatuska/mfsbsd.git
root at bil-bsd # cd mfsbsd

root at bil-bsd # cd conf
root at bil-bsd # cp loader.conf.sample loader.conf
root at bil-bsd # cat << EOF >> loader.conf
vm.kmem_size="330M"
vm.kmem_size_max="330M"
vfs.zfs.arc_max="40M"
vfs.zfs.vdev.cache.size="5M"
EOF

root at bil-bsd # cd ..
root at bil-bsd # make iso BASE=/mnt/usr/freebsd-dist RELEASE=12.1-RELEASE
------------------------------------

The catch is that they do not seem to be for the mini distro, but for the
full mfsBSD distro.

The current pre-built mini edition on the Project home page (
https://mfsbsd.vx.sk/) seem to have a problem with my builtin Broadcom
wireless and gets stuck in an "Error 5" loop so I want to try and be able
to build a new "mini" with the proper module for the Boradcom wireless, or
find a way that it will over-step that part and continue to boot up since
the booting process does not complete right now on my real hardware.

What is the step call in the "make iso ..." above to produce the mini iso
(27 MB)?

Do I call it from the main directory or from within the "mini"
sub-directory?
Thanks

Any help would be appreciated
Cheers,
Lonnie


More information about the freebsd-questions mailing list