Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dmdotin/5e3d7ccd29985f560f64eb27852996d4 to your computer and use it in GitHub Desktop.
Save dmdotin/5e3d7ccd29985f560f64eb27852996d4 to your computer and use it in GitHub Desktop.
Fixing Ubuntu - Filesystem Unknown , Entering Rescue mode , grub rescue
grub rescue> ls [Enter]
Then try first option / if not works and make error use next one ..
grub rescue> ls (hd0,msdos7) [Enter]
(hd0,msdos7) : Filesystem is unknown .
grub rescue> ls (hd0,msdos6) [Enter]
(hd0,msdos6): Filesystem is ext2.
grub rescue> set root=(hd0,msdos6) [Enter]
grub rescue> set prefix=(hd0,msdos6)/boot/grub [Enter]
grub rescue> insmod normal [Enter]
grub rescue> normal
Then Select Ubuntu and start
Open Terminal
$ sudo update-gurb [Enter]
Password
once it load finish & Done
$ sudo grub-install /dev/sda [Enter]
Run
$ grub-mkconfig -o /boot/grub/grub.cfg [Enter]
@R-huy
Copy link

R-huy commented Jul 14, 2021

I can't find insmod normal what can I do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment