среда, 28 августа 2013 г.

Grub rescue prompt, repair grub

I recently repartitioned my hdd and I have damaged grub on my system. On boot I get the grub rescue prompt and I have to go through the following steps in order to boot normally:

> ls   //to view partitions

> set root=(hd0,msdos6)
> set prefix=(hd0,msdos6)/boot/grub
> insmod normal
> normal 
 
Then i just install boot-repair:
> sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
> sudo apt-get install -y boot-repair && (boot-repair &) 
 
got it from here and here

Комментариев нет: