Training

When: Every first Sunday of every month -get a ticket- from $15 (Click Here).

Monday, March 14, 2016

ubuntu - Recovering from 'grub rescue>' crash - Unix & Linux Stack Exchange

This answer is for others out there that DocSalvager's answer doesn't work for.



  1. I followed DocSalvager's use of ls to find the correct hard drive partition. In my case it was (hd0,msdos5).
  2. Then I executed the following commands to get back to the normal grub boot loader screen.



    grub rescue>  set boot=(hd0,msdos5)
    grub rescue>  set prefix=(hd0,msdos5)/boot/grub
    grub rescue>  insmod normal  
    grub rescue>  normal  
    
  3. After booting into Ubuntu I repaired the grub boot loader with the following commands from the terminal.



    sudo grub-install /dev/sda 
    
Please reference this source for a visual walk through of this process.

 
 






ubuntu - Recovering from 'grub rescue>' crash - Unix & Linux Stack Exchange

No comments: