Skip to content

Instantly share code, notes, and snippets.

@MRodier
MRodier / gist:a68451da08bc78e4400f5dbb417a9d92
Created August 5, 2018 12:42
"Grub-rescue>" after partioning issue
Look for the unix filesystem ( repeat "ls (hdX,msdosY)/" until you got it ), then :
1) set prefix=(hdX,msdosY)/[path_to_grubModulesToLoad] #sometimes "/boot/grub" sometimes "/usr/lib/grub/i386-pc"
2) set root=(hdX,msdosY)
3) insmod normal
4) normal
Later, in shell:
5) sudo update-grub
6) sudo grub-install /dev/sda

Keybase proof

I hereby claim:

  • I am mrodier on github.
  • I am r0dje (https://keybase.io/r0dje) on keybase.
  • I have a public key ASBXSEqwGX2wbI8HcaRhpRLrGwthiKErwHZqS8lX80saeAo

To claim this, I am signing this object: