Disk images with dd
daniel.carrera at zmsl.com
Wed Apr 12 16:00:04 UTC 2006
Alright, I've made an OEM installation I'm happy with. The next step is
to make a disk image, and figure out how to apply it to other disks.
1) Make a disk image:
This is the easy part.
dd if=/dev/hda1 | gzip -c > ubuntu_oem.img.gz
2) Put the image into another hard disk.
This is the hard part.
gzip -c -d < ubuntu_oem.img.gz | dd of=/dev/hdb1
* What if the partition hdb1 is not identical to hda1?
* I still need to make the swap by hand with fdisk, right?
* What about the MBR in hdb? (remember, hdb is destined for another
/\/_/ A life? Sounds great!
\/_/ Do you know where I could download one?
More information about the ubuntu-users