Do my installed distro and live distro have to match when doing repairs? (eg. bootloader)
Can I use an LMDE-Mint live USB to repair my installed Garuda distro?
I broke my Garuda install after updating, and after restoring a snapshot it still won’t boot, which, as I understand, is a result of the snapshot using a previous version of the bootloader. I want to use a live USB to chroot and reinstall my bootloader, but my live Garuda is long gone and all I have lying around is LMDE Mint.
Is this still possible, even though they are based on different distros, or do I have to recreate a Garuda USB stick?
The short answer is yes.
Here is what you need to do :
-
Boot any live Linux distro that will have the necessary software to access your harddisk. for example not all have
raid
orlvm
included butlmdm
does so you’re good to go. -
When in the live distro you mount your old OS to a repair folder ex.
/mnt/repair
. -
Loop mount all necessary folders
/proc
/dev
/sys
etc. -
Chroot into
/mnt/repair
. -
At this point you’re basically inside your old OS you can install new packages and restore/install your bootloader as normal.
-
update-grub
,install-grub /dev/sdX
.
Check out this tutorial.