Skip to content

Instantly share code, notes, and snippets.

@tmcintos
Last active March 29, 2023 01:27
Show Gist options
  • Save tmcintos/e4bb74e62c9f830a58b0dd08a79f404a to your computer and use it in GitHub Desktop.
Save tmcintos/e4bb74e62c9f830a58b0dd08a79f404a to your computer and use it in GitHub Desktop.
Create FreeBSD Installation ISO for 700MB CDROM by removing src.txz with xorriso
google-site-verification: google1651d51abf53a551.html
xorriso -external_filter exclude_src default /usr/bin/grep -v src.txz -- \
-boot_image any discard \
-boot_image any bin_path=boot/cdboot \
-indev ~/Downloads/FreeBSD-13.1-RELEASE-i386-disc1.iso \
-outdev ~/Downloads/FreeBSD-13.1-RELEASE-i386-cd.iso \
-rm /usr/freebsd-dist/src.txz -- \
-set_filter exclude_src /usr/freebsd-dist/MANIFEST
@tmcintos
Copy link
Author

It seems like this worked fine, the file system looks good, but installation panicked on boot on my system:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270495

I'm able to boot the standard NetBSD 9.3 installation disc on the same system with no issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment