[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/HowTo/TestInstallVirtualMachine" by RolandClobus

Debian Wiki wiki at debian.org
Thu Oct 29 13:52:00 GMT 2026


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/HowTo/TestInstallVirtualMachine" page has been changed by RolandClobus:
https://wiki.debian.org/action/diff/DebianEdu/HowTo/TestInstallVirtualMachine?action=diff&rev1=34&rev2=35

Comment:
Steps for 13.7 with proposed-updates

  
  Before you set up the main server, make sure that the gateway VM is running.
  
+ '''Note:''' The (re-)installation works much faster, if the host has a proxy configured (apt-cacher-ng at port 3142 or squid-deb-proxy at port 3128).
+ 
  ==== Variant sid ====
- 
- '''Note:''' The (re-)installation works much faster, if the host has a proxy configured (apt-cacher-ng at port 3142 or squid-deb-proxy at port 3128).
  
  When writing this documentation (2026-10-21), many packages were (temporarily) not available on Debian testing (forky), so these instructions are for sid.
  
@@ -150, +150 @@

  
  ==== Variant trixie 13.7.0 ====
  
- Before you set up the main server, make sure that the gateway VM is running.
- 
- '''Note:''' The (re-)installation works much faster, if the host has a proxy configured (apt-cacher-ng at port 3142 or squid-deb-proxy at port 3128).
- 
  When writing this documentation (2026-10-21), a small fix is required to make the BD offline installation with the 13.7.0 image work. And some tweaks are needed to use the proxy of the VM host (if desired).
  
  Configure the VM as in variant sid, with modifications as parts '''IMG''' and '''TWEAKS''':
@@ -199, +195 @@

  
  ==== Variant trixie 13.8 preview ====
  
- '''TODO'''
+ You will need a lot more changes to the kernel command line, and to prevent typing errors, it is the more convenient to modify the BD image.
+ 
+  * Download the BD image
+ {{{
+ wcurl https://get.debian.org/images/release/current/amd64/iso-bd/debian-edu-13.7.0-amd64-BD-1.iso
+ }}}
+  * Unpack it, as described on [[the Wiki|https://wiki.debian.org/DebianInstaller/Modify/CD]]
+ {{{
+ mkdir BDwithPU
+ bsdtar -C BDwithPU -xf debian-edu-13.7.0-amd64-BD-1.iso
+ chmod -R +w BDwithPU
+ }}}
+  * Update the kernel command line after ''quiet''. All text must be on a single line, in {{{BDwithPU/boot/grub/grub.cfg}}} and also in {{{BDwithPU/isolinux/gtk.cfg}}}
+ {{{
+ apt-setup/local0/repository="http://deb.debian.org/debian trixie-proposed-updates main non-free-firmware"
+ apt-setup/local0/comment="trixie-proposed-updates, to see what would be released with the upcoming point release"
+ apt-setup/local1/repository="https://salsa.debian.org/debian-edu/debian-edu-artwork/-/jobs/10448775/artifacts/raw/aptly/ unstable main"
+ apt-setup/local1/comment="debian-edu-artwork from git"
+ apt-setup/local1/key="https://salsa.debian.org/debian-edu/debian-edu-artwork/-/jobs/10448775/artifacts/raw/aptly/public-key.gpg"
+ apt-setup/local2/repository="https://salsa.debian.org/debian-edu/debian-edu-config/-/jobs/10478123/artifacts/raw/aptly/ unstable main"
+ apt-setup/local2/comment="debian-edu-config from git"
+ apt-setup/local2/key="https://salsa.debian.org/debian-edu/debian-edu-config/-/jobs/10478123/artifacts/raw/aptly/public-key.gpg"
+ apt-setup/local3/repository="https://salsa.debian.org/debian-edu/debian-edu-install/-/jobs/10364641/artifacts/raw/aptly/ unstable main"
+ apt-setup/local3/comment="debian-edu-install from git"
+ apt-setup/local3/key="https://salsa.debian.org/debian-edu/debian-edu-install/-/jobs/10364641/artifacts/raw/aptly/public-key.gpg"
+ }}}<<BR>>
+    If you are using a host with a proxy, also add: {{{mirror/http/proxy=<the proxy IP-addres and port>}}}
+  * Replace the udebs
+ {{{
+ rm BDwithPU/pool/main/d/debian-edu-install/debian-edu-install-udeb_2.12.11+deb13u1_all.udeb
+ rm BDwithPU/pool/main/d/debian-edu-install/debian-edu-profile-udeb_2.12.11+deb13u1_all.udeb
+ wcurl https://salsa.debian.org/debian-edu/debian-edu-install/-/jobs/10364641/artifacts/raw/aptly/pool/main/d/debian-edu-install/debian-edu-profile-udeb_2.13.2+salsaci+20260925+37_all.udeb -o BDwithPU/pool/main/d/debian-edu-install/debian-edu-profile-udeb_2.13.2+salsaci+20260925+37_all.udeb
+ wcurl https://salsa.debian.org/debian-edu/debian-edu-install/-/jobs/10364641/artifacts/raw/aptly/pool/main/d/debian-edu-install/debian-edu-install-udeb_2.13.2+salsaci+20260925+37_all.udeb -o BDwithPU/pool/main/d/debian-edu-install/debian-edu-install-udeb_2.13.2+salsaci+20260925+37_all.udeb
+ }}}
+  * Prepare the override file
+ {{{
+ mkdir indices
+ cd indices
+ wcurl https://deb.debian.org/debian/indices/override.trixie.main.debian-installer.gz
+ gunzip override.trixie.main.debian-installer.gz
+ mv override.trixie.main.debian-installer override
+ cd ..
+ }}}
+  * Create a file {{{config-udeb}}} with the content
+ {{{
+ Dir {
+    ArchiveDir "BDwithPU";
+    OverrideDir "indices";
+    CacheDir "indices";
+ };
+ 
+ TreeDefault {
+    Directory "pool/";
+ };
+ 
+ BinDirectory "pool/main" {
+    Packages "dists/trixie/main/debian-installer/binary-amd64/Packages";
+    BinOverride "override";
+ };
+ 
+ Default {
+    Packages {
+        Extensions ".udeb";
+    };
+ };
+ }}}
+  * Update the meta-information
+ {{{
+ apt-ftparchive generate config-udeb --sha1=no --sha512=no
+ }}}
+  * Repack the BD ISO
+ {{{
+ chmod -R -w BDwithPU
+ dd if=debian-edu-13.7.0-amd64-BD-1.iso bs=1 count=432 of=isohdpfx.bin
+ xorriso -as mkisofs -o debian-edu-13.7.0-amd64-BD-1-withPU.iso \
+ -isohybrid-mbr isohdpfx.bin \
+ -c isolinux/boot.cat -b isolinux/isolinux.bin \
+ -no-emul-boot -boot-load-size 4 -boot-info-table ./BDwithPU
+ }}}
+ 
+ Configure the VM as in variant sid, with modifications as parts '''IMG''' and '''TWEAKS''':
+  * At step '''IMG''', use the following repacked BD image instead of the DebianEdu netinst image
+  * Replace the steps after '''TWEAKS''' with:
+    * Press {{{Enter}}} to start the installer
+    * When the Debian Installer runs, select the default answers, except:
+      * ''Configure the network'', choose {{{enp1s0}}}. This is the interface which is connected to the gateway.
+      * Select ''Configure network manually'' after the DHCP request timed out.
+      * ''IP address'': {{{10.0.2.2/8}}}
+      * ''Really use the automatic partitioning tool?'': {{{Yes}}}
+      * '''Note:''' The password for the user must be sufficiently strong, i.e. at least 5 characters and different from the username, see [[https://wiki.debian.org/DebianEdu/Documentation/Trixie/Installation#The_installation_process|the Wiki]]
+    * If you are using a proxy on the host, make some adjustments when the Debian Installer shows the ''Installation complete'' dialog:
+      * Switch to a console with ''Send Key | Ctrl+Alt+F3''
+      * Create a configuration file for the proxy:
+ {{{
+ echo 'Acquire::http::Proxy "http::IPADDRESS:PORT";' > /target/etc/apt/apt.conf.d/proxy_of_host
+ }}}
+      * Allow the first-boot script to use the proxy:
+ {{{
+ sed -i -e '/set -e/aeval $(apt-config shell http_proxy Acquire::http::Proxy)' /target/usr/sbin/debian-edu-ltsp-install
+ }}}
  
  === VM3: Set up a diskless workstation ===
  



More information about the debian-edu-commits mailing list