From dadf78ef9be69378c0b52077e03c7576942e9856 Mon Sep 17 00:00:00 2001 From: Sergei Bobkov Date: Mon, 14 Apr 2025 17:27:24 +0300 Subject: [PATCH] Add grub-mkrescue --- common/create-iso-preseed/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/common/create-iso-preseed/README.md b/common/create-iso-preseed/README.md index a5dab9e..a6432ab 100644 --- a/common/create-iso-preseed/README.md +++ b/common/create-iso-preseed/README.md @@ -2,6 +2,26 @@ 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