# Create Debian netinstall iso with my preseed Install `apt install xorriso`

`mkdir -p iso-deb12/boot/grub`

Create file iso-deb12/boot/grub/grub.cfg

`set default=0
set timeout=5

menuentry 'Debian GNU/Linux 12 (bookworm) network install' --class os {
insmod gzio
insmod part_msdos
linux /boot/linux vga=788 ipv6.disable=1 auto=true netcfg/dhcp_timeout=30 priority=critical locale=en_US preseed/url=http://aassdd.ru/.my-preseed/debian/preseed.cfg ---
initrd /boot/initrd.gz
}
`
Put linux and initrd.gz to iso-deb12/boot/

`grub-mkrescue -o debian-12-my-preseed-amd64.iso iso-deb12`



File create-iso-preseed.sh for use common Debian repo

File create-iso-preseed-LOrepo.sh for use local repo server