The title explains it well. But I installed Mint on a 2nd partition, then deleted it since I no longer used it, and now Grub dumps me to the command line on boot :/
How do I recover?
EDIT: gonna give up. Fuck grub lmao EDIT2: Just reinstalled mint and used the grub it gives to fix everything lmfao
Alright, could you see what the root variable is in the grub console before manually setting it by running
echo $root
, and if it prints anything, could you runls /
in the grub console and see if you see like home dev etc, or the directories you would expect to see in / inside linux, and if you do see anything, could you runls /boot/grub/
and see if you seegrub.cfg
. But if you are already inside linux, go ahead and install grub with--removable
, it wont overwrite your current installation. I dont want you to format the efi partition, incase something goes wrong and you wont be able to boot into linux at allSo
echo $root
returns(hd0,gpt1)
. I have to set it to hd0,gpt2 to get the boot/linux dirs. I’ll try --removable and get back to ya