I have a Dell XMP-13 Ultrabook (SSD drive only) with 12.04 installed dualboot with the original windows. It has been running flawlessly for many many months.
Today in the middle of a system update (kernel) I accidentally put it in suspend mode. Then it got frozen whenever I tried to boot.
I then booted in a previous ubuntu version and the partial upgrade dialog box appeared. I started it and the computer got frozen again.
Now it stops in the Dell logo screen with the message:
error: ELF header smaller than expected.
grub rescue>_
I did some research and tried to find the linux images as suggested in this answer: Recovering moved .mod files using grubrescue
However I always get the error: no such partition.
when trying to ls
on the drives:
grub rescue>ls
(hd0) (hd0,gtp10) (hd0,gtp9) (hd0,gtp8) (hd0,gtp7) (hd0,gtp6) (hd0,gtp5) (hd0,gtp4) (hd0,gtp3) (hd0,gtp2) (hd0,gtp1)
grub rescue>ls (hd0,gtp1)
error: no such partition.
grub rescue>ls (hd0,gtp1)/boot
error: no such partition.
This is the same for all drive numbers with and without the "/boot"
Any idea of what should I try?
grub2-install
command below!