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 03-13-2006, 12:19 PM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
making images of hd with tar


Hi

I'm trying to backup a lot of computers when they are new (never used) with knoppix. I've tried it with dd and bzip2 but it takes 4houres to backup 1pc.

I was thinking to use tar since it does not copy every single bit on the HD. But ... does tar also copy the MBR. And what about NTFS, i'm not wanting to use captive or some program like that 'cause I have to be sure it will always work without any problem (that was why I was using dd first).

Wannes
 
Old 03-13-2006, 01:41 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
Did you play with the dd's block size parameter (bs=) ?
 
Old 03-13-2006, 03:03 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Quote:
Originally Posted by wannessmet
But ... does tar also copy the MBR.
No. tar is file-based. It cannot access anything that plain old cp cannot access. You will need dd to get at the MBR.
Quote:
And what about NTFS, i'm not wanting to use captive or some program like that 'cause I have to be sure it will always work without any problem
tar is file-based. If it can't read the files (i.e., the kernel doesn't understand the filesystem) then tar can't copy the files. The only reason you would need captive NTFS is if you intend to write to NTFS. Reading NTFS is standard on some distros, an easy addition for others.
 
Old 03-13-2006, 04:42 PM   #4
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Rep: Reputation: 15
Have you looked at the dump command?


usage: dump [-level#] [-acmMnqSuv] [-A file] [-B records] [-b blocksize]
[-d density] [-D file] [-e inode#,inode#,...] [-E file]
[-f file] [-h level] [-I nr errors] [-j zlevel] [-Q file]
[-s feet] [-T date] [-y] [-z zlevel] filesystem
dump [-W | -w]


Brian
 
Old 03-13-2006, 05:36 PM   #5
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
dump command

Never tried that one? What does it do? I'm not a die hard linux user so your explanation does't really clear things up. How would you use it for this?

wannes
 
Old 03-13-2006, 05:55 PM   #6
brian_lad
Member
 
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32

Rep: Reputation: 15
Here is description from the Linux Command Directory for the dump command:
http://www.linuxdevcenter.com/linux/...sp?path=d/dump

Here is another link with information:
http://linux.about.com/od/commands/l/blcmdl8_dump.htm

When your using dd via knoppix what is your backup destination...ie another hard drive?

You might also look into disk cloning software....I believe Symantecs Ghost would allow you to clone the drive.

Brian
 
Old 03-14-2006, 03:18 PM   #7
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Well, we tried ghost but it crashed when trying to load usb 2.0 drivers and with 1.1 it didn't recognize the hd, so we are trying to make an image of a full hd to an external hd on usb 2.0. It has to be fast, relyable and compatible with almost everything to be able to restore it quickly when a client asks us.
 
  


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
Making ISO Images dudeman41465 Linux - Software 8 11-30-2005 02:42 AM
Making ISO CD Images dudeman41465 Linux - Software 2 11-11-2005 10:42 PM
making BIN/CUE images under linux??? mlu Linux - Software 2 07-12-2005 05:05 AM
Making images paler with ImageMagick TrashCanMan Linux - Software 2 10-17-2004 11:50 AM
making an iso out of floppy images missinghelix Linux - General 0 07-07-2004 05:38 PM

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

All times are GMT -5. The time now is 05:38 PM.

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
Open Source Consulting | Domain Registration