ISO deb 13
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
Install `apt install xorriso`<br/>
|
||||
<br/>
|
||||
`mkdir -p iso-deb12/boot/grub`<br/>
|
||||
`mkdir -p iso-deb13/boot/grub`<br/>
|
||||
<br/>
|
||||
Create file iso-deb12/boot/grub/grub.cfg<br/>
|
||||
Create file iso-deb13/boot/grub/grub.cfg<br/>
|
||||
<br/>
|
||||
`#set default=0`<br/>
|
||||
`#set timeout=5`<br/>
|
||||
<br/>
|
||||
`menuentry 'Debian GNU/Linux 12 (bookworm) network install' --class os {`<br/>
|
||||
`menuentry 'Debian GNU/Linux 13 (trixie) network install' --class os {`<br/>
|
||||
` insmod gzio`<br/>
|
||||
` insmod part_msdos`<br/>
|
||||
` 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 ---`<br/>
|
||||
@@ -18,9 +18,9 @@ Create file iso-deb12/boot/grub/grub.cfg<br/>
|
||||
`# initrd /casper/initrd`<br/>
|
||||
`}`<br/>
|
||||
<br/>
|
||||
Put linux and initrd.gz to iso-deb12/boot/<br/>
|
||||
Put linux and initrd.gz to iso-deb13/boot/<br/>
|
||||
<br/>
|
||||
`grub-mkrescue -o debian-12-my-preseed-amd64.iso iso-deb12`<br/>
|
||||
`grub-mkrescue -o debian-13-my-preseed-amd64.iso iso-deb13`<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
@@ -28,3 +28,16 @@ File create-iso-preseed.sh for use common Debian repo<br/>
|
||||
<br/>
|
||||
File create-iso-preseed-LOrepo.sh for use local repo server<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
For add preseed.cfg in initrd.gz [ preseed/file=/preseed.cfg ]<br/>
|
||||
<br/>
|
||||
`mkdir /000/root`<br/>
|
||||
`cd /000/root`<br/>
|
||||
`gzip -dc ../initrd.gz | cpio -idmv`<br/>
|
||||
<br/>
|
||||
`[ cp preseed.cfg to /000/root ]`<br/>
|
||||
<br/>
|
||||
`find . | cpio -H newc -o | gzip -9 > ../initrd-my.gz`<br/>
|
||||
<br/>
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
orig_iso='/mini.iso'
|
||||
iso_mnt='/mnt/iso'
|
||||
new_files='/mnt/iso_new'
|
||||
new_iso='/debian-12-my-preseed-amd64-LOREPO.iso'
|
||||
new_iso='/debian-13-my-preseed-amd64-LOREPO.iso'
|
||||
mbr_template='/mnt/iso_new/isohdpfx.bin'
|
||||
|
||||
|
||||
wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/mini.iso -O /mini.iso
|
||||
wget https://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/mini.iso -O /mini.iso
|
||||
|
||||
mkdir $iso_mnt
|
||||
mkdir $new_files
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
orig_iso='/mini.iso'
|
||||
iso_mnt='/mnt/iso'
|
||||
new_files='/mnt/iso_new'
|
||||
new_iso='/debian-12-my-preseed-amd64.iso'
|
||||
new_iso='/debian-13-my-preseed-amd64.iso'
|
||||
mbr_template='/mnt/iso_new/isohdpfx.bin'
|
||||
|
||||
|
||||
wget https://deb.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/mini.iso -O /mini.iso
|
||||
wget https://deb.debian.org/debian/dists/trixie/main/installer-amd64/current/images/netboot/mini.iso -O /mini.iso
|
||||
|
||||
mkdir $iso_mnt
|
||||
mkdir $new_files
|
||||
|
||||
Reference in New Issue
Block a user