Find the answer to your Linux question:
Results 1 to 6 of 6
Greetings. I am trying to clean data off a dead windows install using Damn Small Linux (Knoppix variant) off a thumb drive. Since all else has failed that I tried, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    8

    using tar


    Greetings. I am trying to clean data off a dead windows install using Damn Small Linux (Knoppix variant) off a thumb drive.
    Since all else has failed that I tried, I am trying to tar anything off the drive, but when I do the tar --create oldfiles.tar . it dumps ascii.
    It is mounted as rw, and is ntfs.


    Any ideas for another noob?


    Thanks


    Jason

  2. #2
    Linux Newbie reiko's Avatar
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    105
    What do you want to perform U want to clean your windows partition?

  3. #3
    Just Joined!
    Join Date
    Mar 2006
    Posts
    8
    I want to tar some files together so I can transfer them off the machine easily.


    Thank You


    Jason

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Newbie reiko's Avatar
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    105
    So You want tO wipe Off all the data in the USB that's it......

    Mount your USB under a mountpoint of your choice
    Code:
    mount /dev/sda /mnt/
    then execute the following command
    Code:
    rm -rf /mnt/

  6. #5
    Linux User
    Join Date
    Jan 2006
    Posts
    414
    I'm pretty sure DSL doesn't have write access to ntfs partitions, so that could be your problem. It might be easier to do this from an Ubuntu live CD or something else that has ntfs write enabled.

    Otherwise try something like:
    Code:
    tar -cf /home/dsl/oldfiles.tar .
    which will create a tarball of the contents of the current directory in /home/dsl/

  7. #6
    Just Joined!
    Join Date
    Mar 2006
    Posts
    8
    I think Darkrose might have hit it. I will try an Ubuntu flavor when I can.

    If I can specify the path of the new file, I will try writing it to the usb drive. I don't know why I didn't think of this before!


    Thanks

    Jason

Posting Permissions

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