Appendix C. Troubleshooting / Recovery Playbook
-
Console is unusable
If keyboard not set to Dvorak in command line:
loadkeys -C /dev/console dvorak
or in some cases (GUI?)setkbdmap …
If the font is too small … in the console
setfont sun12x22
… in a GUI …xterm -fa 'Monospace' -fs 14
-
Encrypted drive isn't mounted
From the command line, mount an encrypted drive:
modprobe dm-crypt
fdisk -l
cryptsetup open /dev/
nvme0n1p3
filesys
Note
This is (im)possible from grub but maybe with different incantations?
Some more wizardry from the internet …. Let's hope this is never needed again.
mkdir filesys vgscan echo 'vgdisplay | grep UUID | awk '{print $3}' > foo.txt vgrename $($lt; foo.txt) new_name vgdisplay modprobe dm-mod vgchange -ay vgdisplay lvscan mount /dev/new_name/root filesys
Not sure how much, if any, of renaming part of the last part is necessary; maybe I just needed to include /root in the initial mount command?
-
Errors making Docbook
Stock Ubuntu emacs, nxml, and Docbook don't work together correctly. Make sure you did all of Set up DocBook above
Note that emacs doesn't validate xi:include properly. By itself, doesn't break xsltproc, but it does mean you have to manually check for validity by making sure the remaining errors are all xi:include.
-
Printer failures
See help