The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Erasing USB flash drive thoroughly

    Discussion in 'Windows OS and Software' started by vaw, Mar 28, 2009.

  1. vaw

    vaw Notebook Deity

    Reputations:
    11
    Messages:
    783
    Likes Received:
    0
    Trophy Points:
    30
    I can't find a proper forum to ask this simple question :p

    I want to sell a USB flash drive, and of course don't want to leave any bit of my file/data on it. Is simply erasing the files or formatting the drive enough? On HDD an expert can recover erased files, what about on the USB drive?
     
  2. fred2028

    fred2028 Sexy member

    Reputations:
    196
    Messages:
    2,205
    Likes Received:
    1
    Trophy Points:
    56
    Reformat the USB drive as many times as you want to be safe. Don't do quick format if you have sensitive stuff on there. Format to NTFS if not already.
     
  3. Charr

    Charr Notebook Deity

    Reputations:
    415
    Messages:
    1,564
    Likes Received:
    0
    Trophy Points:
    55
    Don't format the drive, that isn't enough. With a format, the entire old partition can still be recovered.

    If you know the location of the drive, you can use dd to clean it off. Make you specifiy the entire drive (sda) versus a single partition (sda1). If you don't know the location of the drive, the the command fdisk -l as root to find out.

    Code:
    dd if=/dev/zero of=[b]/dev/sdX[/b]
    
    Make sure to adjust it for the right device, and triple check before you start. dd has no problems clearing anything you set it to without confirmation, so don't aim it at your hard drive.

    If you not a Linux guy and don't understand what I just said, you can still follow these directions. Download GParted, burn it to a disk, and boot from it. When it loads, use the GUI to find out the location of your thumbdrive. After that, open a terminal (its on the top left, move the GParted window if you have to) and use dd to clean it off.
     
  4. vaw

    vaw Notebook Deity

    Reputations:
    11
    Messages:
    783
    Likes Received:
    0
    Trophy Points:
    30
    I don't know why my post was moved to this forum. I had posted it on Windows OS/Software forum. I'm using windows xp... No clue about Linux :( Thank you both for your replies. It sounds more involving than I had thought--or is it because it was thought to be linux related?

    (Moderator: could you please move this question back to the Windows forums or a more suitable one? it has nothing to do with Linux. Thanks)
     
  5. vaw

    vaw Notebook Deity

    Reputations:
    11
    Messages:
    783
    Likes Received:
    0
    Trophy Points:
    30
    How about after I deleted all the files, I try to save a lot of huge junk files that use up all the storage (e.g. videos...). Will that make the previously saved file unrecoverable?
     
  6. Baserk

    Baserk Notebook user

    Reputations:
    2,503
    Messages:
    1,794
    Likes Received:
    1
    Trophy Points:
    56
    Check out Eraser.
    It's a powerful program that allows you to properly erase drives.
    Be carefull though and make sure you know how touse the program, you don't want to accidentally erase anything else but the intended USB drive.
    By the way, if you have completely filled the USB drive with video's, all previous stuff will have been overwritten.
    Cheers.
     
  7. vaw

    vaw Notebook Deity

    Reputations:
    11
    Messages:
    783
    Likes Received:
    0
    Trophy Points:
    30
    Thanks, that sounds like the easiest way, since my USB drive is 2~4GB only (perhaps not suitable for sale anyway ;))

    Edit: Moderator: thank you very much for moving this thread back to this forum! :)
     
  8. eversman

    eversman Notebook Consultant

    Reputations:
    73
    Messages:
    221
    Likes Received:
    0
    Trophy Points:
    30
    ok, there is a much simpler solution. i have a very good encryption program, named PGP. first. i pgp shred the files which is garunteed to securely delete files. next, i encrypt the whole drive with 4096 bit encryption. then, reformat it.

    after thats, its well and truly gone.


    ev