[Lula] Grub Error

Steve Glasser sgla9347 at gmail.com
Tue Apr 1 22:13:52 EDT 2008


Sounds like grub is no longer pointed at the correct partition.  You
can boot off the linux cd into rescue mode (or similar) and reinstall
grub.

The commands to reinstall grub will be similar to this:

# grub --no-floppy
grub> find /boot/grub/stage1
 (hd0,0)

grub> root (hd0,0)
grub> setup (hd0)
grub> quit

Then you will have to edit the grub config file, either grub.conf or
menu.lst.  It will look something like this:

timeout 5
default 0
title my Linux box
root (hd0,0)
kernel /bzImage ro root=/dev/sda2 (or wherever / is)

Cheers,

On Tue, Apr 1, 2008 at 5:57 PM, Deepan <codeshepherd at gmail.com> 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/
>
>
>
>  _______________________________________________
>  Lula mailing list
>  Lula at lula.org
>  http://lula.org/mailman/listinfo/lula_lula.org
>



-- 
Steve Glasser
sgla9347 at gmail.com



More information about the Lula mailing list