Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
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.
I have a embedded development box which has a CF ( compact flash)card and it contains linux fedora 11 OS followed by complete development code , scripts etc .
Objective -> I need to take the image from CF present in the development box and upload this image into new CF cards so that when they are connected into new development machine they are ready to use without any need to load OS , development scripts etc.
What I have done so far ->
1) I Have attached Card reader into my Ubuntu machine and took the image from the old CF card and save it for future use.
example -> sudo dd if=/dev/sdg1 of=./backup_image.img bs=4096 , conv=sync, noerror
The image is saved under the name backup_image.img
2) I have taken new CF card and attached it to reader and then umount it
sudo umount /dev/sdg1
3) write zero in all blocks into new CF
ex-> sudo dd if=/dev/zero of=/dev/sdg1
4) once step 3 is completed , I have copied saved image into new CF card.
ex-> sudo dd if=backup_image.img of=/dev/sdg1
Result -> Successful.
But when I actually connected the new CF card into development machine , it failed to boot up .
I have compared lode CF and new CF and both has identical filesystems i.e ext3 and both has used exactly same bytes .
I am completely clueless like what I am missing here?
Thnaks for reply. Well there is no error display. It just didnt boot up . when I connected my embedded system with serial port . I have noticed it display manufacturer informationa nd then stops .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.