You are browsing a read-only backup copy of Wikitech. The live site can be found at

Debian installer rescue mode

From Wikitech-static
Revision as of 09:42, 12 February 2022 by imported>Vulphere (Fixing typo, autointall -> autoinstall)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some notes on having access to Debian installer in rescue mode in physical servers of WMF infrastructure.

Accessing the rescue mode can help in restoring a bad grub configuration, getting into a given offile file-system, running fsck or other disk maintenance tasks.

Option 1: interrupting autoinstall

This option consist on interrupting the standard debian installer autoinstall mechanism (with preseed) and then escaping the install process by means of the debian installer menu, and then operating the underlying operating system.

Option 2: pxe-bootable rescue image

This option is under development. See phab:T78135.

After it is now possible to use the rescue image during PXE boot. A typical workflow could be:

  1. Powercycle the host.
  2. Force PXE (via F12 for example on Dells).
  3. When the "boot: " prompt pops up, type "rescue" and hit enter.