Folks, I just fucked up. I have a void install and an old debian install. I resized the debian install, but I forgot I got grub installed there and now it’s unbootable - respectively, it displays the grub rescue shell. Is there a way to somehow get back into void and reinstall grub from there?
You must log in or # to comment.
you can boot from a liveCD or USB, then mount the main OS, bind mount dev and proc, chroot into it and reconfigure/reinstall the boot loader
You could create a live usb on another device and then use chroot
also, you should make backups and have a restore strategy that covers cases like this.