Broken grub, stuck in grub rescue, "error: no such partition"

:man_shrugging:

Without more information, there’s no way to know. Especially since my crystal ball has been acting up.

But, just for in case, that command should be run from a chroot environment, which requires a Live USB, so if you don’t have a Live USB and aren’t in a chroot environment, chances are more than good it won’t work. Excellent in fact. Guaranteed I think.

For in case you were unaware:

How to chroot

  1. Ensure you’ve got a relatively new ISO or at least one with a still supported LTS kernel.

  2. Write/copy/dd the ISO to a USB thumb drive.

  3. When done, boot with the above mentioned USB thumb drive into the live environment.

  4. Once booted, open a terminal and enter the following command to enter the chroot encironment:

manjaro-chroot -a
  1. If you have more than one Linux installation, select the correct one to use from the list provided.

When done, you should now be in the chroot environment.

But, be careful, as you’re now in an actual root environment on your computer, so any changes you make will persist after a restart.

2 Likes