Find the answer to your Linux question:
Results 1 to 5 of 5
Hi friends!! I'm in trouble!! Accidentally, I deleted a directory of Windows partition from Ubuntu. I did it using shift + del. Is there any way for recovering this data? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Nov 2009
    Posts
    104

    recovering deleted files


    Hi friends!! I'm in trouble!! Accidentally, I deleted a directory of Windows partition from Ubuntu. I did it using shift + del. Is there any way for recovering this data? It was a week ago!!

    thank you very much!!!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello

    Don't know if they can still be recovered, but you can try using TestDisk and/or PhotoRec for recovering partitions and files. One of the easiest ways to run them is by booting a liveCD, such as the Parted Magic LiveCD. You can find instructions for using the recovery apps at the TestDisk website:

    http://www.cgsecurity.org/wiki/TestDisk
    oz

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3
    You could try using the dd utility. I have never used it before, but it can copy raw data that you might use to recover some files (if they have not been overwritten by now).

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    Accidentally, I deleted a directory of Windows partition from Ubuntu
    This is why people emphasize taking extreme care when using root (sudo). I'd agree that testdisk is your best option. I'm sure you are aware that using the method you did means deleted not sent to a recycle or trash bin. Since you've been using the computer for a week, the chances of recovery are going to be less.

    Good luck!

  5. #5
    Linux User martinfromdublin's Avatar
    Join Date
    Dec 2004
    Location
    Dublin, Rep. of Ireland
    Posts
    445
    There is also the long route of using the Windows CD to repair that OS, then using your live Ubuntu CD to restore GrUB (Windows will over-write GrUB) giving you back your dual-boot.

    Which versions of Windows and Ubuntu are you using please?
    LINUX: Where do you want to go.......Tomorrow!

    Registered Linux user 396633

Posting Permissions

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