I was dual-booting Windows 7 and Linux Ubuntu on my desktop, and today is the day they gave out free Windows 10 upgrades. How exciting! I got the update, and it was installing, and I left to go take a 30 minute nap. However, when I came back to my computer, it led me to the grub rescue prompt.
error: no such partition. Entering rescue mode... grub rescue>
I get the following when I type
grub rescue> ls (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
After a quick look through of people who encountered the grub rescue prompt, I typed
set and got the following
grub rescue> set cmdpath=(hd0) prefix=(hd0,msdos6)/boot/grub root=hd0,msdos6
I was still kind of lost after finding that certain commands like
normal didn't work, and then I found a video tutorial where you boot from a Linux image cd and run some commands on the terminal. Luckily, I had my CD with me, and booted from there. When I typed
sudo fdisk -l into the terminal however, this is what I got:
ubuntu@ubuntu:~$ sudo fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc03ede74 Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda2 206848 1547022335 773407744 7 HPFS/NTFS/exFAT /dev/sda3 1547022336 1547943935 460800 27 Hidden NTFS WinRE /dev/sda4 1547945982 1953521663 202787841 f W95 Ext'd (LBA) /dev/sda5 1915731968 1953521663 18894848 7 HPFS/NTFS/exFAT
Says here none of my devices has the Linux system in them! And I couldn't follow the video tutorial any more than that…
I teased my brain a little and determined that sda2 contained my Windows system (since I remember my C: drive has around 700-ish GB of space). After thinking a little bit more, I remember assigning around 200-ish GB of my hard disk space to something that's Ubuntu related when installing Ubuntu. I don't exactly remember which, but I think it was basically Ubuntu "hard disk space", and it didn't have any boot files in them. I assigned two other things for linux, but they were very small in size (not breaking the 1 GB mark yet).
So, can anyone here help me out get my upgrade back on track? I won't mind if I end up having to completely remove the partitions that have Linux in them.