Make cloning hdd with dd command

Cloning a partition

From physical disk /dev/sda, partition 1, to physical disk /dev/sdb, partition 1.

dd if=/dev/sda1 of=/dev/sdb1 bs=4096 conv=notrunc,noerror,sync

If output file of (sdb1 in the example) does not exist, dd will start at the beginning of the disk and create it.
Cloning an entire hard disk

From physical disk /dev/sda to physical disk /dev/sdb

dd if=/dev/sda of=/dev/sdb bs=4096 conv=notrunc,noerror,sync

This will clone the entire drive, including MBR (and therefore bootloader), all partitions, UUIDs, and data.

-notrunc or ‘do not truncate’ maintains data integrity by instructing dd not to truncate any data.
-noerror instructs dd to continue operation, ignoring all read errors. Default behavior for dd is to halt at any error.
-sync writes zeroes for read errors, so data offsets stay in sync.
-bs=4096 sets the block size to 4k, an optimal size for hard disk read/write efficiency and therefore, cloning speed.

Backing up the MBR

The MBR is stored in the the first 512 bytes of the disk. It consist of 3 parts:

The first 446 bytes contain the boot loader.
The next 64 bytes contain the partition table (4 entries of 16 bytes each, one entry for each primary partition).
The last 2 bytes contain an identifier

To save the MBR into the file “mbr.img”:

# dd if=/dev/hda of=/mnt/sda1/mbr.img bs=512 count=1

To restore (be careful : this could destroy your existing partition table and with it access to all data on the disk):

# dd if=/mnt/sda1/mbr.img of=/dev/hda

If you only want to restore the boot loader, but not the primary partition table entries, just restore the first 446 bytes of the MBR:

# dd if=/mnt/sda1/mbr.img of=/dev/hda bs=446 count=1

To restore only the partition table, one must use

# dd if=/mnt/sda1/mbr.img of=/dev/hda bs=1 skip=446 count=64

You can also get the MBR from a full dd disk image.

#dd if=/path/to/disk.img of=/mnt/sda1/mbr.img bs=512 count=1

Source : https://wiki.archlinux.org/index.php/Disk_Cloning

Google Bersolek Sambut Piala Dunia

Jakarta – Google juga tak mau ketinggalan menyambut pesta akbar Piala Dunia 2014 di Brasil. Halaman mesin pencarian nomor satu ini ikut menampilkan logo unik Google Doodle yang tentunya bertemakan sepak bola.

Dikunjungi detikINET Kamis (12/6/2014), halaman pencarian Google menampilkan animasi sepak bola menggelinding dari arah kiri. Bola tersebut tampak mengeluarkan warna-warni cerah yang didominasi hijau kuning seperti bendera Brasil.

Huruf-huruf yang membentuk kata Google tampak seperti melompat-lompat kegirangan. Warna-warni yang muncul dari bola tampak menyelimuti alam tropis Brasil. Tampak pula patung Kristus Penebus Dosa di Rio de Janeiro yang menjadi ikon negeri Samba tersebut.

Seperti biasanya, saat diklik akan tampil hasil pencarian yang berhubungan dengan tema Doodle. Kali ini, Google menyajikan beragam informasi dari mulai artikel berita, foto hingga video terkait dengan Piala Dunia.

Tampaknya Google juga begitu bersemangat menyambut ajang sepak bola terbesar di dunia ini. Hasil pencarian Google tampak menampilkan jadwal pertandingan dari grup A antara Brasil vs Kroasia yang akan digelar pada Kamis sore waktu Brasil di urutan teratas.

sumber : http://inet.detik.com/read/2014/06/12/165457/2606574/398/google-bersolek-sambut-piala-dunia?i992202105