Re: corrupted grub in wheezy
On Sat 20 Sep 2014 at 10:38:13 +0200, roberto wrote:
> Hi, I'm trying to boot into my wheezy and am prompted with grub> minimal
> shell instead. I could boot a few weeks ago. I can't understand what's
> going on now.
> Here are important data:
> when in the grub> shell I do the following in this order:
> ----------------------------------------------------------------------------------------------
> grub> ls
> (hd0) (hd0,msdos1)
>
> grub> search --file /vmlinuz
> hd0,msdos1
>
> grub> set root=(hd0,1)
> grub> linux /vmlinuz root=/dev/sda1
> grub> initrd /initrd.img
> grub> boot
> ----------------------------------------------------------------------------------------------
>
> and linux boots perfectly into my wheezy. But what's that (hd0,msdos1)?? I
> have only debian on this laptop.
Now you are in do:
grub-install /dev/sda
update-grub
Reply to: