Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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 tried to back up my home directory to a new SATA HD using dd command:
dd if=/dev/hda2 of=/mnt/aSATAdrive/home_back
the image size is roughly the same as my home partition. however, when i tried to restore the image file by dd if=/mnt/aSTAdrive/home_back of=/dev/sda5
if worked. when I browsed the files, for most files i got a error: input/output error.
any ideas ?
thank you in advance.
When you use dd to copy data to a hard drive which has a different geometry than the original you often end up with problems. I recommend that you forget dd and use the tar command to backup and restore your home directory.
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
You should be able to mount the image. Try
mount -t ext2/ext3/reiserfs /mnt/aSATAdrive/home_back /mnt/somewhere -o loop
Choose the right partition type and fill directories. You'd also need to be root to do this.
If you have created the full image, the data should be accessible. If it's not it means something got wrong. What do you mean by 'i missed most data in the mounted image'? There are no such files or there are files by empty etc?