Hello,
I am looking at taking the original FreeBSD-13.0-RELEASE-amd64-memstick.img image file, mounting it, adding a few new .sh scripts, and then creating a new bootable .img file. I am changing nothing else...
I have been able to mount the original .img using the following commands...
I have then created a directory and added my .sh scripts...
And then I have been able to unmount using the following commands...
I am stuck at how to create the new bootable .img file...
Thoughts?
I am looking at taking the original FreeBSD-13.0-RELEASE-amd64-memstick.img image file, mounting it, adding a few new .sh scripts, and then creating a new bootable .img file. I am changing nothing else...
I have been able to mount the original .img using the following commands...
Bash:
$ mdconfig -a -t vnode -f /path/to/FreeBSD-11.0-RELEASE-amd64-mini-memstick.img -o readonly -u 0
$ mount -r /dev/md0s2a /mnt
I have then created a directory and added my .sh scripts...
And then I have been able to unmount using the following commands...
Bash:
$ umount /mnt
$ mdconfig -d -u 0
I am stuck at how to create the new bootable .img file...
Thoughts?