[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: corrupted grub in wheezy



On Sat 20 Sep 2014 at 17:07:44 +0200, roberto wrote:

> On Sat, Sep 20, 2014 at 11:13 AM, Brian <ad44@cityscape.co.uk> wrote:
> >
> > Now you are in do:
> >
> >    grub-install /dev/sda
> >    update-grub
> >
> 
> I did as above, no error reported and still no solution at all.
> When I reboot, I get the grub prompt again...

Let's give grub something which we know it likes and is really easy for
it to read.

   cp /boot/grub/grub.cfg /boot/grub/grub.cfg-orig

Replace the contents of grub.cfg with

   menuentry "Debian" {
	   set root=(hd0,msdos1)
	   linux /vmlinuz root=/dev/sda1
	   initrd /initrd.img
	}

Save and reboot. 


Reply to: