DI-NETBOOT-ASSISTANT(1)
π DI-NETBOOT-ASSISTANT(1) π
okay bestie, welcome to the User Commands section of the manual, page 1, and this one is genuinely a bop: it's di-netboot-assistant, the Debian-Installer netboot assistant. she downloads and unpacks netboot images for you and she does it flawlessly. let's get into it π
β¨ NAME β¨
di-netboot-assistant β Debian-Installer netboot assistant π¦
β¨ SYNOPSIS β¨
di-netboot-assistant {install | uninstall | uncache | purge | fw-toggle} image... [--alias=alias] [--arch=arch] [--di-args=ARGS] [--ignore-sig] [--target-args=ARGS] [--offline] [--verbose]
di-netboot-assistant {rebuild-grub | rebuild-menu} [--verbose]
di-netboot-assistant {-h | --help} | {-V | --version}
β¨ DESCRIPTION β¨
di-netboot-assistant is a tool to download and extract Debian Installer netboot images. she's the girl who does the fetching and the unpacking so you don't have to π
not me reminding you: unless you're passing-h,--help,-V, or--version, you have to give one of the commands below. no command, no service, fr fr.
πΈ the commands
installβinstallis followed by a repository name you want installed. that repository name has to be one of the ones declared in/etc/di-netboot-assistant/di-sources.list. the image gets installed/extracted into the default location, which is declared in/etc/di-netboot-assistant/di-netboot-assistant.conf. β¨uninstallβuninstallis followed by the name of the repository you want gone (or the repository's alias if you used--alias=). the netboot files for that distribution get removed from the TFTP server. bye bestie π«Άuncacheβuncachecleans the cached files for the given netboot image. you must specify a repository name here, not an--alias=name. (she said what she said.)purgeβpurgeis followed by a repository name desired for installation.purgeis literally identical to runninguninstalland thenuncachefor a given repository. two birds, one vibe πrebuild-grubβrebuild-grubrebuilds the grub EFI netboot image. the configuration itself is set up byrebuild-menu. this command takes no argument. periodt.rebuild-menuβrebuild-menurebuilds the top level menu. it's useful if you modifieddi-netboot-assistant.confor added a Live ISO image. the installer images need to have a top level menu (likei386,amd64). this command takes no argument. πfw-toggleβfw-toggleis followed by a repository name and adds or removes non-free firmware (yes, it toggles β icon behaviour honestly). the non-free firmware gets downloaded if it isn't available from cache. usen-pkgas the repository to add the firmware to packaged installer images.
β¨ OPTIONS β¨
-h,--helpβ print short help and exit. the "girl help" of flags, but make it intentional π-V,--versionβ print script version and exit.--alias=aliasβ specify the alias name under which this repository will be saved. alias names can only contain alphanumeric,_and-characters. this is especially useful for daily images. by default, the alias name is the same as the repository name. π--arch=archβ specify the architecture to operate on. the architecture used for theinstallaction must be declared in/etc/di-netboot-assistant/di-sources.list. architectures available for thepurgeaction are those previously installed. available architectures can be listed by leaving--arch=empty. if absent, the system's architecture (as reported bydpkg --print-architecture) is used.--verboseβ verbose messages. she's telling you everything, no gatekeeping π--di-args="ARGS"β Debian-Installer boot arguments. the specified arguments will be *appended* to the one provided in the downloaded image, before the--. (you can also defineDI_ARGS=indi-netboot-assistant.conf.)--tftproot="DIR"β overwrite theTFTP_ROOTvariable given in the configuration. useDIRas the TFTP server's root directory instead.
β οΈ not recommended and to be used with care, as only a single TFTP root directory is supported. handle with care bestie, this is fragile girl energy π
--ignore-sigβ ignore failing image signature checks. useful when run non-interactively in scripts and images are known to be not signed. π₯--target-args="ARGS"β boot arguments for the target (installed) system. the specified arguments will be *appended* to the one provided in the downloaded image, at the very end of the line. (you can also defineTARGET_ARGS=indi-netboot-assistant.conf.)--offlineβ don't download the files (use the files cached previously). airplane mode but make it netboot βοΈ
β¨ EXAMPLES β¨
to install a netboot image for the stable repository, for the default architecture:
di-netboot-assistant install stable
to list the installed netboot images that can be removed:
di-netboot-assistant purge
to remove a netboot image for the stable repository, for the default architecture:
di-netboot-assistant purge stable
to toggle firmware for the stable repository, for the default architecture:
di-netboot-assistant fw-toggle stable
to toggle firmware for packaged debian-installer netboot images, all architectures:
di-netboot-assistant fw-toggle n-pkg --arch=all
β¨ EXIT CODE β¨
0β successful program execution. she ate and left no crumbs π1β an error occurred. (note thatpurgedoesn't fail if the specified repository doesn't exist). π«
β¨ FILES β¨
/etc/di-netboot-assistant/di-netboot-assistant.confβ the default system-wide configuration file. the file syntax must bebash(1)compatible. π~/.di-netboot-assistant/di-netboot-assistant.confβ user's own configuration file. the file syntax must bebash(1)compatible. (see fileperuser.di-netboot-assistant.conf, in/usr/share/doc/di-netboot-assistant/examples/)./etc/di-netboot-assistant/di-sources.listβ this file contains the list of downloadable netboot images. π/etc/di-netboot-assistant/pxelinux.HEADβ the content of this file is prepended to the generated PXElinux config file (i.e. boot menu). PXElinux bootloader is used on BIOS basedi386andamd64systems./var/lib/di-netboot-assistant/β the folder where hints about installed netboot images are stored.
π« do not edit those files, re-use install to modify the settings of an installed image. hands off bestie.
/var/cache/di-netboot-assistant/β the folder where downloaded files are stored (cached) before "installing" them. use the actionuncacheto remove cached files.
β¨ SECURITY β¨
π do not usesudoto grant execution right todi-netboot-assistant(see the README file). seriously. no.
β¨ PROXY β¨
di-netboot-assistant uses wget or curl to actually download the files. you can set the environment variables accordingly. π
β¨ AUTHOR β¨
di-netboot-assistant was written by Frank Lin PIAT <fpiat@klabs.be>. π
and that's the whole page bestie!! written by Frank Lin Piat, dated August 2009, living in the DI-NETBOOT-ASSISTANT(1) era β she's an icon, she's a legend, and she's the moment. go install something π¦β¨π
π¦ where this page comes from
- debian bookworm: di-netboot-assistant 0.78~deb12u1 Β· GPL-2.0-or-later
- debian trixie: di-netboot-assistant 0.79 Β· GPL-2.0-or-later
- ubuntu jammy: di-netboot-assistant 0.72 Β· GPL-2.0-or-later
- ubuntu noble: di-netboot-assistant 0.78 Β· GPL-2.0-or-later
- ubuntu resolute: di-netboot-assistant 0.79 Β· GPL-2.0-or-later
- ubuntu stonking: di-netboot-assistant 0.82 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms