Chapter 19. Troubleshooting and Recovery
-
Fix keyboard layout
If keyboard not set to Dvorak in command line:
sudo apt install console-dataloadkeys -C /dev/console dvorakor in some cases (GUI?)setkbdmap … -
Make font bigger
If the console font is too small, do this in the console:
setfont sun12x22Or do this in Xorg:xterm -fa 'Monospace' -fs 14
-
Current approach
mkdir/mnt/drivenamecryptsetup luksOpen /dev/sda1drivenamemount /dev/mapper/drivename/mnt/drivename -
This worked
From the command line, mount an encrypted drive:
modprobe dm-cryptfdisk -lcryptsetup open /dev/nvme0n1p3filesysNote
This is (im)possible from grub but maybe with different incantations?
-
Even messier way
Some more wizardry from the internet …. Let's hope this is never needed again.
mkdir filesysvgscanecho 'vgdisplay | grep UUID | awk '{print $3}' > foo.txtvgrename $($lt; foo.txt) new_namevgdisplaymodprobe dm-modvgchange -ayvgdisplaylvscanmount /dev/new_name/root filesysNot 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?
-
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.
-
It's a Brother HL-2280DW. These days (2025), the driver is built in to the OS.
Browse to
192.168.1.99for the admin WUI.See help