I am attempting to use the netboot found here (https://mirror.elxr.dev/elxr/dists/aria/main/installer-amd64/current/images/netboot/index.html) to install eLxr.
Now, the problem is:
When trying to install, after I choose the mirror, the installation fails for me saying that the “installer has failed to download files from the mirror”
I understand that I need to use ‘mirror.elxr.dev’ to download the packages. But where and how do I need to make the changes? Note that I am trying to manually install and not use some automation scripts.
1 Like
Here is a PXE template we use to install eLxr using netboot. We use the Foreman project to fully automate the network boot. Some of the workarounds may not be necessary.
# Locale
d-i debian-installer/locale string en_US
# country and keyboard settings are automatic.
d-i keyboard-configuration/xkb-keymap seen true
# Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string <hostname>
d-i netcfg/get_domain string wrs.com
d-i netcfg/wireless_wep string
d-i hw-detect/load_firmware boolean true
# Mirror settings
d-i mirror/country string manual
d-i mirror/https/hostname string mirror.elxr.dev
d-i mirror/https/directory string /elxr
d-i mirror/https/proxy string
d-i mirror/codename string aria
d-i mirror/suite string aria
d-i mirror/udeb/suite string aria
d-i mirror/protocol string https
# This is necessary when using the debian netboot image that doesn't have the elxr gpg key installed
d-i preseed/early_command string \
wget https://mirror.elxr.dev/elxr/pool/main/e/elxr-archive-keyring/elxr-archive-keyring-udeb_2024.1-2_all.udeb; \
mkdir -p /etc/apt/trusted.gpg.d; \
udpkg -i elxr-archive-keyring-udeb_2024.1-2_all.udeb; \
mv -f /usr/share/keyrings/elxr-archive-keyring.gpg /usr/share/keyrings/archive.gpg
# disable security and update repos because elxr doesn't have them
d-i apt-setup/services-select multiselect
d-i apt-setup/enable-source-repositories boolean false
# Time settings
d-i clock-setup/utc boolean true
d-i time/zone string UTC
# NTP
d-i clock-setup/ntp boolean true
d-i clock-setup/ntp-server string 0.debian.pool.ntp.org
d-i partman-auto/disk string /dev/sdc
d-i grub-installer/bootdev string /dev/sdc
### Partitioning
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string regular
# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home: separate /home partition
# - multi: separate /home, /var, and /tmp partitions (/usr was removed in jessie)
d-i partman-auto/choose_recipe select atomic
# If you just want to change the default filesystem to something
# else, you can do that without providing a full recipe.
# This makes partman automatically partition without confirmation, provided
# that you told it what to do using one of the methods above.
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
# User settings
d-i passwd/root-password-crypted password $6$8vXpuT3mIAjvFhhM$VybFXM862ixFI43tUMQIzK5Zvr78TAbUJ1Q4fgbypCWonu.vuKvXg0FxN.RCP6gSCKJWETk5T.1bmDnw5LsFS0
user-setup-udeb passwd/root-login boolean true
d-i passwd/make-user boolean false
user-setup-udeb passwd/make-user boolean false
# Install minimal task set (see tasksel --task-packages minimal)
tasksel tasksel/first multiselect minimal, ssh-server, openssh-server
# Install some base packages
d-i pkgsel/include string lsb-release wget nfs-common efibootmgr
d-i pkgsel/update-policy select unattended-upgrades
d-i pkgsel/upgrade select none
popularity-contest popularity-contest/participate boolean false
# Boot loader settings
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i finish-install/reboot_in_progress note
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.