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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-13-2006, 12:19 PM
|
#1
|
Member
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287
Rep:
|
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
|
|
|
03-13-2006, 01:41 PM
|
#2
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Rep:
|
Did you play with the dd's block size parameter (bs=) ?
|
|
|
03-13-2006, 03:03 PM
|
#3
|
Senior Member
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337
|
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.
|
|
|
03-13-2006, 04:42 PM
|
#4
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Rep:
|
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
|
|
|
03-13-2006, 05:36 PM
|
#5
|
Member
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287
Original Poster
Rep:
|
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
|
|
|
03-13-2006, 05:55 PM
|
#6
|
Member
Registered: Feb 2006
Location: Overland Park, KS
Distribution: RedHat EL, Fedora, Ubuntu
Posts: 32
Rep:
|
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
|
|
|
03-14-2006, 03:18 PM
|
#7
|
Member
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|