Just a few little tricks I've used when I make DD ISOs.
First, I run the script with a default or a browserless almost default minimal version. Then I boot to that version in its original folder with a menu.1st entry like this.
Code: Select all
title bullseye/isodata (sda1) noauto from=/bullseye/isodata/ changes=EXIT:/bullseye/isodata/
root (hd0,0)
kernel (hd0,0)/bullseye/isodata/live/vmlinuz1 from=/bullseye/isodata/ changes=EXIT:/bullseye/isodata/
initrd (hd0,0)/bullseye/isodata/live/initrd1.xz
title bookworm/isodata (sda1) noauto from=/bookworm/isodata/ changes=EXIT:/bookworm/isodata/
root (hd0,0)
kernel (hd0,0)/bookworm/isodata/live/vmlinuz1 from=/bookworm/isodata/ changes=EXIT:/bookworm/isodata/
initrd (hd0,0)/bookworm/isodata/live/initrd1.xz
Then I make a copy of the build_setup.conf file and put it on sda1 with a link to my desktop
This is my development environment. Now I can test software, add it to the .conf file, and run the mklive script like this
Code: Select all
./mklive-bullseye -gui /image/live/mycustom.conf
for the next version, rinse and repeat as necessary.