Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > using tar

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 02-10-2008   #1 (permalink)
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
n1iic is offline  


Reply With Quote
Old 02-11-2008   #2 (permalink)
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?
reiko is offline   Reply With Quote
Old 02-13-2008   #3 (permalink)
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
n1iic is offline   Reply With Quote
Old 02-14-2008   #4 (permalink)
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/
reiko is offline   Reply With Quote
Old 02-16-2008   #5 (permalink)
Linux User
 
darkrose0510's Avatar
 
Join Date: Jan 2006
Location: Queensland, the cyclone/flood/drought capital of Australia
Posts: 364
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/
__________________
Inventor of '{' and '}' - patent pending

A computer without a Microsoft operating system is like a dog without bricks tied to its head.
darkrose0510 is offline   Reply With Quote
Old 02-16-2008   #6 (permalink)
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
n1iic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 03:12 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2