0

Recently I have installed Ubuntu 12.04 Beta 2 on a USB flash drive and decided to install it on an old external HDD which I have taken out of the casing and succesfully mounted in my desktop computer. There is no other operating system besides the newly install Ubuntu. However, there is about 500gb of data on the drive. This is why i used a partitioning software on my windows 7 netbook to partition the hard drive to set aside 1tb for files, 350gb of space for linux and the remaining 650gb for Vista which i plan on installing soon. But this is where the problem sets in...when installing Ubuntu it does not recognize that the drive is partitioned at all, it's just one big open block of space...so I used the installers built in partitioning feature to set aside 300gb for main Ubuntu install and 50gb for swap space. I set both of these partitions to be created at the "end" so that it wouldn't delete or write over my data. And this is where i am really lost; when booting into Ubuntu i am able to use it perfectly fine, got on internet, etc...but i have NO CLUE as to how i can view files that were previously on the drive (all of my data that i had prior to install).

How can I mount/be able to view the other partition so that i can have access to my data? Thank you ahead of time! I REALLY appreciate any help or advice! ~Preston

htorque
  • 66,086

1 Answers1

0

I'm sorry to tell you this, but your files are likely to be gone.

Any partitioning/formatting/installing operation is potentially dangerous and it is important to have a backup of your important data before doing anything. Especially if you have no experience with partitioning or clear understanding of what is going on. Especially when the partitioning tools see the drive as "one big open block of space".

The problem was likely caused by Windows converting the disk to so-called "dynamic disk" - see this for some details: http://ubuntuforums.org/showthread.php?t=1705481

If the files were important, you can try to recover them - the data (at least some of it) is likely still on the disk. The first thing to do in this case would be to stop all use of the disk immediately.

I'm not too familiar with recovery tools, but basically the procedure would involve creating a snapshot of the disk (which is a bit problematic with a 2Tb drive as you'll need a bigger drive to store the snapshot) and then using some program which would try to find the partition. This answer explains how to use TestDisk program and provides helpful links.

Regarding partitioning - now, when your disk is not a "dynamic volume" anymore, you can use GParted to add some partitions in the free space. Installing Windows after you intalled Ubuntu will override the bootloader so you won't be able to boot into Ubuntu, but it's reasonably easy to fix with Ubuntu LiveCD

Sergey
  • 44,353