LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2008, 01:14 AM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,280

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Question tar WinVista partition and restore later?


Has anyone tried this and report on success/failure:

/dev/sda3 contains a Windows Vista installation (yeuch, but the computer came with it pre-installed and someday I might want to play with it).

Code:
mkdir /mnt/tmp
mount /dev/sda3 /mnt/tmp
cd  /mnt/tmp
tar zcvf /path/to/external/drive/vista.tar.gz .
And then later restoring the above to /dev/sda3 (the same partition) on the same computer - except the /dev/sda3 partition has been resized smaller prior to the restore? The above tar command appeared to work without error (of course I couldn't catch everything that scrolled by!) and it's exit value was zero - indicating success.

I want to try tar because I don't have any imaging software (Ghost, TrueImage, etc.) that is a recent enough version for me to trust it imagining whatever slightly new flavor of NTFS Vista uses. I don't see why tar wouldn't work, but I've never tried tar'ing/restoring an entire Windows OS installation before. Does it work? I'll have to format the resized partition before the restore, and all's I have with Vista on it is the Dell "recovery disk". So if that doesn't let me do a simple format in Vista's flavor of NTFS I might have some problems. Also, does Linux NTFS write support handle the Vista flavor of NTFS without problem? I am assuming that Vista has it's own "new" flavor of NTFS, but maybe it doesn't and Linux can format the partition for me just as well.

Thanks!
 
Old 12-17-2008, 01:34 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
If you follow the links provided in this thread you'll see how to make a compressed image of only allocated data using dd and gzip. Not sure how it will work restoring to a smaller partition.
I know the software I use will only restore to the same size partition as what the image was made in, can be anywhere on the drive though.
Quote:
Also, does Linux NTFS write support handle the Vista flavor of NTFS without problem?
I'm thinking...NO.
But that's just "thinking", I say so because I'm sure Microsoft has patents on many features of the newest NTFS file system that others can't touch, that Vista uses.
 
Old 12-17-2008, 02:10 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,227

Rep: Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964Reputation: 2964
No, no, no, no ...
Read this recent similar thread.

ntfsclone will give you an effective backup. Use it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Restore with tar activeq Linux - Software 2 01-09-2007 07:39 AM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 03:53 AM
restore a tar file. David@330 Linux - Newbie 1 06-01-2006 10:26 AM
Backup and Restore with TAR jay2809 Linux - Newbie 7 08-25-2004 05:47 PM
backup and restore using tar AZDAVE Linux - General 6 11-28-2003 09:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration