Skip to content

Instantly share code, notes, and snippets.

@red-stripe
Created March 7, 2018 01:08
Show Gist options
  • Save red-stripe/7a98965c283560c59c7c5c75c98d8d38 to your computer and use it in GitHub Desktop.
Save red-stripe/7a98965c283560c59c7c5c75c98d8d38 to your computer and use it in GitHub Desktop.
Run the following commands:
grub rescue> ls (hd0,2)
Check that drive is ext# formated (ie the drive with ubuntu on it)
grub rescue> ls (hd0,2)/boot/
Check that terminal outputs boot files
grub rescue> set boot=(hd0,2)
grub rescue> set prefix=(hd0,2)/boot/grub
grub rescue> insmod normal
grub rescue> normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment