Results 1 to 3 of 3

Thread: Corrupted Files

  1. #1
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default Corrupted Files

    I have an External Hard Drive, but somehow a bunch of files got corrupted , and it won't let me delete them...

    I've tried opening root terminal and using the rm /media/ExternalHD/My_Folder command, but to no avail.

    And using fdisk won't work either, I get this:
    last_lba(): I don't know how to handle files with mode 40777
    You will not be able to write the partition table.

    Unable to read /media/ExternalHD
    Can anyone help? Do I have to hook it up to Windows and reformat it?

    Thanks,
    X96
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    rm won't work with a folder; it's for files. You probably want rm -rf.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends franšais | entiendo espa˝ol | t˘i Ýt hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    I put in this: rm -rf /media/ExternalHD/my_folder, Then I get a whole bunch of these:
    rm: cannot remove `/media/ExternalHD/my_folder/my_file': Input/output error
    Thanks anyway, though...

    // X96 WD \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

Bookmarks

Posting Permissions

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