LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   lost windows partition.. (https://www.linuxquestions.org/questions/linux-newbie-8/lost-windows-partition-805083/)

jellboi 04-29-2010 11:01 PM

lost windows partition..
 
Not a very newbee but still messed up.

I was using windows7, but recently changed to ubuntu.I had 4 partitions of ntfs in windows7 c(os),d,e & f total of 250gGB HD.
I made a disaster by installing a ubuntu 10.04 on windows partition formatting the c drive.
When I booted ubuntu I had only single partition of linux file system of 220GB. I lost all my important data. Please help, how can I recover the data or partition. I can't even switch back to windows as it needs to reformat the partition and risk of data loss will be higher.

Please please Help. :(

rfernandez 04-30-2010 12:04 AM

Code:

$ sudo fdisk -l /dev/hdX
For ide harddisk, or
Code:

$ sudo fdisk -l /dev/sdX
for sata harddisk. Where X is either a, b, c, d, depending on how many hd's you have. If one, use 'a' (hda or sda).

What does this command tells you? Please, put the output here.

My guess is, giving the scenario, you used ubuntu's default partition scheme. The sad part is, if it did what I think it did, Windows is long gone. I have no idea (don't even know if it is possible) to recover lost data if it formatted the whole hd and used it's partitioning scheme.


All times are GMT -5. The time now is 12:42 AM.