0

I decided to install Windows 7 next to my Ubuntu setup and started to follow this instructions. Currently i'm on the third step. But when i try to mount the file system that i noted down, it says "mount: special device /dev/sda6/ does not exist". Here is a picture of the current partitions. Since the instructions says that i need to note down the partition name, can i assume that i can still get back what was on my Ubuntu file system?

Is it possible to make unallocated partition in the image, functional again? Did my whole Ubuntu installation got wiped out? Should i try using testdisk to get back the unallocated partition?

1 Answers1

1

It looks like you (or a bug) have accidentally deleted your Ubuntu partition. To get it back, I recommend using TestDisk. This isn't 100% guaranteed to work, but there's a good chance it will. The odds of success go way down if you created that NTFS partition in a location that used to hold the Linux partition. If that's the case, your best bet of any sort of recovery is to use PhotoRec to recover individual files. That will be tedious, and there's a good chance that some files will be completely lost.

Whatever you do, write nothing to that disk until you've recovered it! Note that booting a modern OS invariably writes files to its boot partition, and sometimes elsewhere, so this means you should not boot Windows! Do your recovery from an Ubuntu (or some other OS's) live CD.

Rod Smith
  • 44,284
  • 7
  • 63
  • 105