Results 1 to 8 of 8

Thread: rm -rf FOUND* and everything else is deleted as well

Hybrid View

  1. #1
    Member registered user
    Join Date
    Oct 2005
    Location
    manchester, uk
    Posts
    35

    rm -rf FOUND* and everything else is deleted as well

    Hi,

    I am currently using Knoppix 5.0.1, HD install.

    I want to report something that has both amazed and defeated me.

    I was trying to remove some folders named FOUND001, FOUND002, and so on, up to FOUND032 or something. Those folders were in my vfat partition /dev/hda1, mounted on /media/hda1.

    So I ran this command, in hda1 folder

    Code:
    rm -rf FOUND*
    And I am sure I typed exactly that command, because I am aware of the dangers of the -rf flags.

    After some loading I found out that the whole content of /media/hda1 was deleted!

    I had some very important files (university docs), and this machine is also shared with another person (that now is extremely angry at me).

    I don't know if there is actually anything I can do to retrieve even part of those precious files.

    I was not thinking straight just after I realised what happened, so I rebooted with the Windows XP CD, to see if I could do anything, but I have no recovery disk. So while it was still loading for a new installation of Windows, I rebooted, and I hope I didn't alter anything in hda1.

    Could somebody please give me some suggestions?

  2. #2
    Junior Member registered user
    Join Date
    Nov 2005
    Posts
    10
    So is your Windows install wiped as well? Was it on your hda1 partition?

    There are quite a few undelete utilities for Windows that might help you out (e.g. http://officerecovery.com/freeundelete/) , I'm not sure about undelete utilities for Linux. I believe there is an NTFSundelete command, but that wont help you here.

    If your absolutely determined to get the data back then I'd consider either getting hold of a second hard drive that you can install windows on, then run the undelete software above. I think there are also some DOS utilities available for undeleting on FAT32 partitions, so you might want to look into that and consider just using a simple DOS boot disk to get you going...

  3. #3
    Senior Member registered user
    Join Date
    Jun 2005
    Posts
    348
    finferflu:

    I believe that the "Folders" you mentioned are not folders at all. They were probably a series of .chk files. They are lost/unrefrenced data left over from an error scan of your hard drive. Your data is likely still on the drive and it would need to be recovered. That is unless you have written over the data by doing something foolish like re-installing Windows or some other operation. I have no firm suggestion for a recovery program, since I have not had the opportunity to recover data lost by the method you described. I would believe that any decent data recovery/undelete program would do the trick. There is also the data recovery services, but they are rather expensive.

  4. #4
    Member registered user
    Join Date
    Oct 2005
    Location
    manchester, uk
    Posts
    35
    I am sorry for my late answer.

    Anyway, I have found a linux utility for recovering at least some data. It's called foremost, and I am now trying to think about how to retrieve my 20Gb of files, since I haven't got enough space on the linux partition, and I don't know how to connect an hard disk to my laptop (since I am using a laptop), and I don't know whether I can find a flash memory that big, but I guess so.

    And yes, Windows is gone as well...

    ckamin:
    The folders I have mentioned were folders storing temporary internet files, in fact I checked them before deleting them, and there were only buttons, icons, banners and stuff like that in them. I haven't re-installed anything now, I just left it untouched, and while trying to recover files I mount the unit as read-only.

    I am still wondering how that could happen, giving a command and having such an unexpected result...

  5. #5
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just buy an external USB or firewireHDD, and use that.
    there are such devises well above 500Gb
    here you have one such (40Gb), it is powered by the USB port and is aboutthe size of a pocketbook.

    http://www.dustin.se/dacsaportal/sys...dID=5010093553

    yes i know it is in Swedish, it was what i could dig up in a hurry. it is more to show you what i mean.

  6. #6
    Member registered user
    Join Date
    Oct 2005
    Location
    manchester, uk
    Posts
    35
    Ok, thanks for that.

    I was looking for usb hard drives, and I found one suitable to my needs (http://www.microdirect.co.uk/Product...5&GroupID=1427), now I just need to be sure it will be compatible with linux.

  7. #7
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    if it is FAT filesystem it is 99% that it will work, ntfs is not that good,
    oh, the max size of any single file in FAT is 4G-1bit so no DVD ISO's (okok, aslong as they are less than 4g)... otherwise it should be ok.
    if it is NOT fat filesystem you could always format it to that...

  8. #8
    Member registered user
    Join Date
    Oct 2005
    Location
    manchester, uk
    Posts
    35
    Thanks for that preciuos information, the description does not specify whether that hard drive is formatted as FAT or NTFS, but as you said, I can always format it.

    As for the files, I haven't got any file bigger than 4Gb, so I should have no problem ^__^

Similar Threads

  1. Windows DELETED!!!
    By aquamon in forum The Lounge
    Replies: 1
    Last Post: 05-16-2010, 11:12 PM
  2. Spammer account deleted
    By Clinton in forum The Lounge
    Replies: 0
    Last Post: 05-08-2009, 06:00 PM
  3. post deleted?
    By mig21 in forum The Lounge
    Replies: 3
    Last Post: 11-16-2006, 12:29 AM
  4. Recover deleted files
    By scrat in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 08-06-2004, 04:24 PM
  5. Deleted
    By Shinseinaryu in forum General Support
    Replies: 1
    Last Post: 06-13-2004, 05:12 AM

Posting Permissions

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


Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080 picture

Dell Precision 7820 Win 11 Gaming Computer Xeon Silver 4112 16GB GTX 1080

$320.00



Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W picture

Intel Xeon E5-2697 V2 LGA2011 Server CPU Processor 2.7GHz 12 Core SR19H 130W

$35.00



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km picture

Intel Xeon E5-2690v2 SR1A5 10-Core 3.00GHz 25MB 130W LGA2011 CPU *km

$11.99



Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor picture

Intel Xeon W-2255 SRGV8 3.7GHz 10-Core LGA2066 Server CPU Processor

$199.99



Intel Xeon E5-2698 V4 20CORE 2.2GHz 50M Processor SR2JW *km picture

Intel Xeon E5-2698 V4 20CORE 2.2GHz 50M Processor SR2JW *km

$38.99



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98