Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a TAR file backup of a NTFS partition. The TAR file was created over a network to another NTFS partition using Knoppix LiveCD 5.1.
Since the creation of this backup file, the hdd has been formatted, partitioned and otherwise used for many operating systems and data, so any original data or partition table information of this original installation is no more.
Now I have again booted Knoppix LiveCD and erased all partitions on the disk, created a single, empty, NTFS partition that spans the entire hdd. Using knoppix I have mounted the network directory where the backup file is located and tried decompressing it over the network directly to the new NTFS partition... but all I get is errors.
TAR reports that it canŽt write the file because the file isnŽt already on the drive???
Anyway, IŽm lost. Tried several command options for TAR but canŽt get it to work. In a nutshell what I need is:
TAR command to extract a .tar.gz file located in a NTFS network directory directly to a local NTFS partition, using Knoppix LiveCD 5.1, with both partition and network directory already being mounted.
I think in a year to two you may be able to use tar to write on a NTFS partition but current Linux reads but does not write on a NTFS partition.
Your problem is when you tar the NTFS partition you did so probably in a Linux Ext2/3 partition. Thus the files have been converted from NTFS format to Ext2/3 format. tar can convert it back to any format it supports in writing but NTFS isn't one of them.
Thus you can ask Linux to tar back to a Fat32 partition to get all the files back less the protection feature available in NTFS but not Fat32.
I think newer Knoppix has a captive write feature on NTFS partitions but I have no idea how good it is, as the ntfs-3g seems to be in in-thing for writing NTFS partitions.
The latest slax 6.0.0 can write on NTFS partition without any special arrangement. May be it is the one to try to see if tar works there. Slax gives you root privilege to the desktop plus it mounts every partition automatically.
anothe option if you have an install of windows allready is to download and install cygwin on the windows side which gives you a bash command lien in windows with most standard *nix tools avalable, like tar, gzip, grep, etc...