Hi,

Cole H wrote:
> The current iso "debian-13.7.0-amd64-netinst.iso" is approximately 775MB.
> While a standard CD-R is <700MB.
> This is slowing down my hobby of restoring old computers

One reason for the size is the firmware of 150+ MiB.
Possibly your old computers can run without most of it.

You could try what happens after you got rid of the biggest files in
/pool/non-free-firmware/f/firmware-nonfree which are also referred to
from /firmware. (The content size of each path pair counts only once,
because they are effectively hardlink siblings.)
E.g.:

  orig_iso="$HOME"/debian-13.5.0-amd64-netinst.iso
  new_iso="$HOME"/debian-13.5.0-amd64-modified.iso

  rm_list="firmware-nvidia-graphics_20250410-2_all.deb
           firmware-atheros_20250410-2_all.deb
           firmware-mediatek_20250410-2_all.deb
           firmware-iwlwifi_20250410-2_all.deb
           firmware-amd-graphics_20250410-2_all.deb
           firmware-intel-graphics_20250410-2_all.deb
           firmware-brcm80211_20250410-2_all.deb"

  xorriso \
     -indev "$orig_iso" \
     -outdev "$new_iso" \
     \
     -cdi /pool/non-free-firmware/f/firmware-nonfree \
     -rm $rm_list -- \
     -cdi /firmware \
     -rm $rm_list -- \
     \
     -boot_image any replay \
     -compliance no_emul_toc \
     -padding included

This yields:

  -rw-r--r-- 1 ... 791674880 May 16 14:14 debian-13.5.0-amd64-netinst.iso
  -rw-r--r-- 1 ... 658505728 Oct  9 21:58 debian-13.5.0-amd64-modified.iso

But on the long run your old machines will need a DVD drive or be able
to boot from USB stick, i fear.


Have a nice day :)

Thomas

Reply via email to