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.
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.
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've never done this personally, but there's no reason why it shouldn't work if your system recognizes your SATA disk in the first place. dd doesn't really care what it's reading from or writing to. There's a slim chance your SATA drive won't be recognized if you're using an older kernel and a newer SATA controller.
Just make sure you sda and hda are identical in size, down to the last byte.
Cloning a smaller disk into a bigger one is OK in dd but not the the other way.
Lastly make sure you know which is the input file (if) and which is the output file (of). A mistake here can have dire consequence. I always shout at the top of my voice reading the dd command before I hit the enter key. May be you should try it too.
The command really work with different kinds of hard disks, but in my case it didn´t work cause my Linux (Red Hat 3) did not recognize SATA by default, so When I tried to boot using the new hd it failed (kernel panic) . Anyway, I'd like to thank you for your help on my issue.
Just make sure you sda and hda are identical in size, down to the last byte.
Cloning a smaller disk into a bigger one is OK in dd but not the the other way.
Lastly make sure you know which is the input file (if) and which is the output file (of). A mistake here can have dire consequence. I always shout at the top of my voice reading the dd command before I hit the enter key. May be you should try it too.
It´s really interesting your way to run dd command
dd is a Bash command and that means you can boot up any Linux Live CD and use it.
Just dd a 300Gb Sata I into a 400Gb Sata II with only XP inside. Works like a charm. The extra 100Gb ended up as unallocated space which could be absorbed into a NTFS partition by Partition magic in minutes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.