Debian installer rescue mode
- It has been suggested that this page should be merged with Debian
This page is currently a draft. More information and discussion about changes to this draft on the talk page. |
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 https://gerrit.wikimedia.org/r/c/operations/puppet/+/654192 it is now possible to use the rescue image during PXE boot. A typical workflow could be:
- Powercycle the host.
- Force PXE (via F12 for example on Dells).
- When the "boot: " prompt pops up, type "rescue" and hit enter.