[QCLUG] Grub Error
Robert Jones
Robert@RM-Jones.com
Wed, 02 Apr 2008 06:12:06 -0500
Deepan wrote:
> Hi All,
> I deleted my windows partition using live CD. Now
> my machine won't boot into linux. It stops at the
> grub prompt with the error operating system not
> found. How do I reinstall grub using live CD? Or
> should I boot into my linux operating system with
> root, kernel and initrd option in grub and then
> install grub ?
> Regards
> Deepan
> Sudoku Solver: http://www.sudoku-solver.net/
>
I had the same problem a while back. I don't remember where I found this
but here is what worked for me. This is taken directly from my notes.
Hope it works for you. Bob Jones
*We succeeded in bringing the Grub back*
/*Here's the steps;*/
*
boot by using Linux live CD, go to terminal and run -->> *sudo grub*
*
you're in grub menu now, then type -->> *find /boot/grub/stage1*
*
It will /display your grub position/, example (hd0,4) or (hd0,5)
*
Then type -->> *root (hd*,*)* -- ( replace the * with your grub
position – (hd0,4))
*
Then type -->> *setup (hd0)*
*
The above statement will replace your windows MBR configuration
*
Then close the grub menu by typing -->> *quit*
*
Reboot your machine -->> *sudo reboot*
*
Above steps are only for Ubuntu clans, for others : *without sudo*