This question already has an answer here:
I run dual boot Ubuntu and Windows on my machine. Last night Windows started installing some updates and it stated the machine would restart a few times during the updates.
Well, after the first restart it brought up this GRUB rescue screen, and it seems my machine can't find the Ubuntu partition. I start to think Windows may have destroyed it by updating.
In all other threats I've found so far it says to execute the 'ls' command to find all partitions and the 'set' command to see what GRUB has set up.
(hd0) (hd0,msdos5) (hd0,msdos2) (hd0,msdos1)
OK, set returns:
cmdpath=(hd0) prefix=(hd0,msdos7)/boot/grub root=hd0,msdos7
Now I understand this is wrong. The solution would be to
ls every partition until the Ubuntu one is found. I tried this by doing
ls (hd0,msdos#)/ where
# is one of the numbers shown by
ls. All of the commands return:
error: unknown filesystem.
I also tried adding
boot/grub and combinations to the command, but nothing works.
Now, my next plan is to get a Ubuntu live USB using somebody else's computer, but I can't right now.
What is wrong here? Is my hard disk drive broken? Did the uncompleted update break it? Is there another solution?