Thread with 17 posts
jump to expanded postjust did some partition table spring cleaning (deleted both windows recovery partitions, made a new windows recovery partition, deleted the EFI partition, created a new EFI partition large enough that Linux firmware updates should stop failing). time to reboot and pray!
narrator voice: the prayers were not answered. oh boy
shoutout to Lenovo for the nice ThinkPad graphical boot menu though (no matter which option I click, I return to this screen almost immediately)
used the Debian installer (on the drive we installed it from) in graphical rescue mode, which once I selected the root partition /dev/nvme0n1p7, helpfully mounted the EFI partition at /boot/efi for me, and then I told it to install GRUB in /boot/efi because that felt reasonable
and now Debian boots again! the rescue mode could really use some work and I'm not sure I used it correctly (should I have told it to go for the root partition instead?), but I'm grateful it exists, for sure
ooh it rebooted to flash an embedded controller and then it rebooted again and is now doing a “BIOS Self Healing backup” :)
firmware vendors love to run the fans at full blast during firmware updates just in case
used efibootmgr to delete the “Windows EFI Boot Manager” entry pointing at the old EFI partition's GUID and created a new one with the new GUID, but the same loader path and label. let's see if that works!
…that did not work! I had a suspicion this would happen. there's all this extra stuff inside the boot efivar that efibootmgr doesn't understand and can't modify, and which I guess is critical info for the Windows EFI Boot Manager. so I guess I'll use Windows Startup Repair™
if only I had listened to the Arch Linux Wiki…
downloading Win10_22H2_Swedish_x64v1.iso from Microsoft's site. very kind of them to let you just download an ISO if you're not using Windows (they explicitly say they sent you to that page because the media creation tool won't work on your OS)
copied the ISO to a flashdrive, asked our parter to reboot into Windows for us on her machine, copy the ISO off the flashdrive, and use Rufus to make it bootable; put the drive into the ThinkPad, chose Startreparation™ (🇸🇪), and seconds later it rebooted into Windows 10 :)
I still need to figure out how to get Windows 8.1 bootable again, but with that done I guess things are back to normal more or less.
moral of the story: if you delete the EFI partition and create a new one with the same contents as the old one, make sure it has the same GUID
we will keep this pristine install of Windows 8.1 around forever because she is beautiful and must not be forgotten