Cómo arreglar un error de sistema de archivos desconocido de rescate grub

Me enfrenté al mismo problema una semana atrás cuando mi hermana consiguió un portátil HP que venía con Windows 8.1 y Ubuntu precargado. El Windows se particionó con 320 GB de unidad sin particionar y el resto se asignó para Ubuntu. Todo lo que hice fue partioning mi disco duro en Windows. Entonces una vez que reinicié mi portátil me dijo «sistema de archivos desconocido» «Grub Rescue» & no pude llegar más lejos.

Después de luchar durante horas pude arreglar el problema del cargador de arranque. Esto es lo que hice:
-Deja de entrar en pánico, no has perdido tus datos.
-Enciende el portátil, espera hasta que te aparezca la pantalla de Grub Rescue.
-Escribe los siguientes comandos

  • ls
  • Te mostrará una lista de parciones que has hecho.
  • You will get something like this (hd0),(hd0,msdos1)(hd0,msdos2)(hd0,msdos4)
  • You need to find which drive is your Ubuntu root for which type the following:
  • set prefix= (hd0,msdos1)/boot/grub
  • If it’s not the root drive you will get an error message «unknown filesystem». In that case try the same command with the next partion, ex: set prefix=(hd0,msdos2)/boot/grub
  • If you are not getting an error: Congrats, you have found your root drive. You can proceed to the next command after that:
  • set prefix=(hd0,msdos1)/boot/grub
  • insmod normal
  • normal
  • Your PC will now boot successfully. Now select Ubuntu & login.
  • Open Terminal( Ctr+Alt+T or use the search)
  • sudo update-grub
  • sudo grub-install /dev/sda
  • Now the bootloader error is fixed you should be able to boot your laptop normally & even your data is intact.

If sudo update-grub didn’t work, type sudo grub-update