I have dual boot Linux + Windows 8. Today I've tried updating to windows 10 and after a while got error on boot:
error no such partition entering rescue mode grub rescue>
Listing all the drives using ls, gives "unknown filesystem" on every one. (So I cannot set prefix/boot.)
I have booted with liveUSB opened gparted and noticed that /dev/sda4 which used to be linux, became unallocated.
I have tried boot-repair, did not helped. I have tried putting windows8 usb and choose ~"fix boot option", did not help too.
Ideas are much appreciated. Thank you.
EDIT: GParted image
This is how my drive looks like, somehow after windows upgrade /dev/sda4 became "extended". I know that this is where linux files are.
At very worst I just want to get my files from Linux back. I'm trying to use TestDisk, but when trying to view files in that partition it gives me "Can't open filesystem. Filesystem seems damaged." Any ideas how can I recover files?
Thanks for suggestion oldFred. I'm trying to use parted to restore files/partition. This is what parted print gives me:
Number Start End Size Type File system Flags 1 2048s 1026047s 1024000s primary ntfs boot 2 1026048s 488631857s 487605810s primary ntfs 3 488632320s 489639935s 1007616s primary ntfs diag 4 489644030s 976771071s 487127042s extended lba 5 911235072s 976771071s 65536000s logical ntfs
EDIT FINAL: I was able to find missing partition using "parted" and following oldFred posts. Thank you everyone for the help. Problem solved!