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

corrupted grub in wheezy



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.

Here's my partition table:
----------------------------------------------------------------------------------------------
root@latitude:~# parted -ls
Model: ATA WDC WD2500BEVE-0 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B

Partition Table: msdos
Number  Start   End    Size    Type      File system     Flags
1      1049kB  246GB  246GB   primary   ext4            boot
2      246GB   250GB  4291MB  extended
5      246GB   250GB  4291MB  logical   linux-swap(v1)
----------------------------------------------------------------------------------------------


So I tried to make the changes permanent by this command:
----------------------------------------------------------------------------------------------
root@latitude:~# dpkg-reconfigure grub-pc
Installation finished. No error reported.
Generating grub.cfg ...

Found background image: /usr/share/images/desktop-base/desktop-grub.png

Found linux image: /boot/vmlinuz-3.14-0.bpo.2-486

Found initrd image: /boot/initrd.img-3.14-0.bpo.2-486

Found linux image: /boot/vmlinuz-3.2.0-4-486

Found initrd image: /boot/initrd.img-3.2.0-4-486

 No volume groups found
done
----------------------------------------------------------------------------------------------

As far as I can understand, the issue seems resolved, but as soon as I reboot, I receive the grub> prompt again!

Could you please give me some hint on this issue?

Thank you very much in advance.


--
Roberto

Reply to: