View Full Version : [ubuntu] error restoring grub

April 7th, 2009, 05:04 PM
k so my windows got infected...AGAIN.. and i had to reinstall.

i lost my grub, but i fix that all the time, this time i keep getting "unrecognized command"

here is what i do

boot from live cd

go to terminal

type sudo grub

*Im sure i forgot something here*

then root hd(0,0)

*thi is where i get the error*

then setup hd(0)

then quit

April 7th, 2009, 05:07 PM
never mind.. got it fixed.

the string i was missing was

find boot/grub/stage1

and mine was hd0,2 not hd0,0