Hi,
I’m sorry for the delayed reply, and I genuinely appreciate the help. I am incredibly time poor right now due to work + new studies at night and weekends.
That entry above does not show up in Grub.
As an aside, I was editing Xresources in Manjaro and broke it. When I hit Mod-Enter in i3 I just get a busy cursor and no terminal. Disappointing - I wouldn’t think editing Xresources would break Manjaro. No need to reply, that was an aside and should be a separate thread.
However, this does mean I may reinstall Manjaro at some point, and this time I think I will ditch the encryption. It is a nice academic exercise, but most of my sensitive data is on my Windows partition and I haven’t encrypted that partition.
Here are some excerpts from my install notes from when I installed Arch, which may or may not be relevant:
Remove old Linux installations (optional)
If you have previously installed Linux(es) that you wish to remove (especially from the NVRAM boot menu (F12)), then first follow the “Backup UEFI Partition” instructions above.
efibootmgr (list boot manager entries)
efibootmgr -b 0001 -B (remove boot manager entry 0001)
Make sure not to delete the Windows Boot Manager entry!
efibootmgr (list again)
Now delete the old entries from the /boot partition:
cd /boot
Remove any Linux entries, such as grub or loader
cd EFI
Remove any Linux entries, such as grub or systemd
List the remaining files in /boot, looking for any Linux entries
ls -lR | less (ignore anything under Microsoft)
Adjust the TTY font size
cd /usr/share/kbd/consolefonts/
ls *32* (this is the largest font OOTB, and the one I prefer)
setfont *32* (setfont latarcyrheb-sun32.psfu.gz)
To make this a permanent change after the Arch installation:
vi /etc/vconsole.conf
KEYMAP=us
FONT= latarcyrheb-sun32.psfu.gz
Note: this made the LUKS password prompt readable rather than microprint on my HiDPI laptop.
Partition the hard disk
I’ve decided on two partitions:
Linux:
Used for the Arch Linux install
Single partition for everything
30GB (roughly 10GB /root, 4GB /home, 16GB (potential) swap file later (if hibernation is desired))
EXT4 (or F2FS?)
encrypted
Data:
Used for all “data”, including media and KVM virtual disks
700GB (rest of the disk)
EXT4 (or F2FS?)
encrypted
cgdisk /dev/nvme0n1
CAREFULLY choose the free space on the disk
752.6 GiB free space
New
First sector (default)
Size in sectors or {KMGTP} 30G
8300 (Linux filesystem)
Label Linux
722.6 GiB free space
New
First sector (default)
Size in sectors or {KMGTP} (default) (rest of free space)
8300 (Linux filesystem)
Label Data
reboot into Windows (make sure it still works)
reboot into Arch Linux installer
Set up encryption
cryptsetup --verbose --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 5000 --use-random luksFormat /dev/nvme0n1p5
Enter passphrase: (easy to remember but hard for others to guess or brute force)
cryptsetup open --type luks /dev/nvme0n1p5 root
Do the same for the Data partition (nvme0n1p6)
Format the partitions
mkfs.ext4 /dev/mapper/root
mkfs.ext4 /dev/mapper/data
Mount the file systems
mount /dev/mapper/root /mnt
cd /mnt
mkdir boot data
mount /dev/mapper/data /mnt/data
mount /dev/nvme0n1p1 /mnt/boot <<<<<
findmnt
/dev/nvme0n1p1 is a 260MB partition that is unencrypted, and IIRC is where I installed Grub. I guess I thought the Manjaro installer would do the same?
Initramfs
vi /etc/mkinitcpio.conf
… keyboard block encrypt …
mkinitcpio -p linux
Boot loader
pacman -S grub efibootmgr os-prober
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
Get the UUID of the root partition:
ls -l /dev/disk/by-uuid (bac7cf53-c566-4b34-b33f-6a569f4064c2)
vi /etc/default/grub
See also /etc/grub.d/
grub-mkconfig -o /boot/grub/grub.cfg
Perhaps I can change the configuration after reinstalling Manjaro, although I can’t get to this for a while.
Thanks again for the help…