Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
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 dell pc with an old maxtor hard drive that I want to image to another drive. I was thinking of installing a blank drive and running a live linux cd to copy the old drive contents to the new drive. Is there imaging software that would make the job easier than using the command line copy method? Would there be problems if the new drive was larger than the original source drive? And can the image created be used in virtual box?
Is there imaging software that would make the job easier than using the command line copy method?
The dd utility is the best as far as I know for cloning, unless you want to implement a software solution like ghost: http://linux.softpedia.com/get/Syste...Linux-53.shtml
Would there be problems if the new drive was larger than the original source drive?
Your partitions would be equal to what they are currently set to. So you would miss out on that free space.
And can the image created be used in virtual box?
I would not recommend attempting to clone to a virtual box image, I have never attempted it and am not 100% on this so maybe someone else can post a follow up with some more details.
On a side not, cloning your entire drive is usually not the best solution for cut-over as it keeps you on the old OS etc..
I usually recommend refreshing your OS to the most recent version and then copy your content over. But this is just an opinion and not a fact.
Personally I generally just use cp/rsync from a liveCD (avoids issues with pseudo filesystem like /proc). Requires (at least) that the bootloader be re-installed, but that is usually trivial.
Gives the opportunity to resize/change filesystem and partition. Also provides some comfort that the source filesystem is usable - which "dd" doesn't. Clonezilla is a much better option than "dd" if you decide on that route.
Thanks for the replies. I have booted clonezilla and read the docs. However, I have a question in regard to a menu selection. The menu item 'device-image' I am assuming is backing up from a physical hard drive to an image file. The menu item 'device-device' is backing up from a physical hard drive to another physical hard drive. Is that a correct assumption? If I plan to copy from hard drive to usb thumb drive, would I select 'device-device'? Also, I plan to use clonezilla to back up windows drives. Does clonezilla leave the source drive intact (i.e. no change to master boot record) ?
Yes, d-i is image d-d is drive to drive. There ought to be many web pages on clonezilla and examples.
If you have windows vista or 7 then use it's backup program. Faster and safer and can be restored by a windows dvd. Clonezilla if used correctly can backup the boot files and partitions.
I would not use the d-d option for the flash drive. A flash drive is a poor choice but it may not or almost will not create a clone that is bootable so it is useless.
All backup and clone operations may have some issues. Some distro's need to have some things checked before you clone them. Opensuse tends to use grub with device by id I believe and that would not work on new drive.
Also, I plan to use clonezilla to back up windows drives. Does clonezilla leave the source drive intact (i.e. no change to master boot record) ?
Clonezilla should use ntfsclone, which is fine for backups of the non-system NTFS partitions. Messing with Windoze C:\ drive is just asking for trouble.
The source is never modified - my comment re recreating the boot-loader was for the target. And only because of the way I choose to do things.
Originally Posted by jefro
Opensuse tends to use grub with device by id I believe and that would not work on new drive.