Find the answer to your Linux question:
Results 1 to 4 of 4
Well, this is my story. I was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded ...
  1. #1
    Just Joined!
    Join Date
    May 2010
    Posts
    2

    [SOLVED] Recover from deleted ext2 partition

    Well, this is my story. I was installing windows vista on my computer, so I backed up everything to a external drive which was formatted with ext2. I then proceeded to install windows vista. When I got to the partition section I tried installing windows vista to my raid 0. When it didn't work I decided that I would delete all my existing partitions and create a new one. Well in my haste I accidentally deleted my ext2 partition from my backup drive that was still connected. As soon as I realized what I had done I shutdown the windows install and disconnected my external drive. This is the current state of my drive from parted:

    Model: WD 15EADS External (scsi)
    Disk /dev/sdb: 1500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos

    Number Start End Size Type File system Flags

    (parted)

    I know that the drive only had one partition before and that it took up the entire disk and it was ext2 (maybe ext3).

    Any suggestions on how I may be able to recover my files.

    Thank you!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Hello and welcome!

    The best tool that I know of for partition table and data recovery is TestDisk:

    TestDisk - CGSecurity

    You can find it on many different liveCD versions of Linux, including the Parted Magic LiveCD:

    Parted Magic News

    It might not work, but it's probably worth trying.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    May 2010
    Posts
    2

    It Worked!!!

    testdisk worked flawlessly within 5 minutes and a reboot all of my data was back .

    Thank you so much for the suggestion!!!

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Glad it worked for you. It is reported to work far more often than not, but you never know until you try.

    Don't hesitate to start new threads with any other issues.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...