How to create disk image (with dd) for Windows migration
Posted: 13. Jul 2011, 20:43
According to howto:
http://www.virtualbox.org/wiki/Migrate_Windows
I need to create some special image of existing Windows when migrating into Virtualbox.
Could someone explain "DO NOT image just the partition" to me, please? I wanted to use:
dd if=/dev/sda1 of=/mnt/usb/xp.dd
but AFAIU this would be image of partition. Howto says to don't do that.
What am I expected to do? Something like:
dd if=/dev/sda of=/mnt/usb/xp.dd
does not make much sense to me.
Moreover trying this command resulted in:
# dd if=/dev/sda of=/mnt/usb/xp.dd
dd: reading `/dev/sda`: Input/output error
53521584+0 records in
53521584+0 records out
27403051008 bytes (27 GB) copied, 5137.74 s., 5.3 MB/s
[18631.401296] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[18631.401305] ata1.00: BMDMA stat 0x65
[18631.401313] ata1.00: failed command: READ DMA
[18631.401330] ata1.00: cmd c8/00:00:a0:ac:30/00:00:00:00:00/e3 tag 0 dma 131072 in
[18631.401334] res 51/40:e9:b7:ac:30/00:00:00:00:00/e3 Emask 0x9 (media error)
[18631.401342] ata1.00: status: { DRDY ERR }
[18631.401347] ata1.00: error: { UNC }
[18631.464318] ata1.00: configured for UDMA/100
[18631.480463] ata1.01: configured for MWDMA2
[18631.480483] ata1: EH complete
(...)
http://www.virtualbox.org/wiki/Migrate_Windows
I need to create some special image of existing Windows when migrating into Virtualbox.
Could someone explain "DO NOT image just the partition" to me, please? I wanted to use:
dd if=/dev/sda1 of=/mnt/usb/xp.dd
but AFAIU this would be image of partition. Howto says to don't do that.
What am I expected to do? Something like:
dd if=/dev/sda of=/mnt/usb/xp.dd
does not make much sense to me.
Moreover trying this command resulted in:
# dd if=/dev/sda of=/mnt/usb/xp.dd
dd: reading `/dev/sda`: Input/output error
53521584+0 records in
53521584+0 records out
27403051008 bytes (27 GB) copied, 5137.74 s., 5.3 MB/s
[18631.401296] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[18631.401305] ata1.00: BMDMA stat 0x65
[18631.401313] ata1.00: failed command: READ DMA
[18631.401330] ata1.00: cmd c8/00:00:a0:ac:30/00:00:00:00:00/e3 tag 0 dma 131072 in
[18631.401334] res 51/40:e9:b7:ac:30/00:00:00:00:00/e3 Emask 0x9 (media error)
[18631.401342] ata1.00: status: { DRDY ERR }
[18631.401347] ata1.00: error: { UNC }
[18631.464318] ata1.00: configured for UDMA/100
[18631.480463] ata1.01: configured for MWDMA2
[18631.480483] ata1: EH complete
(...)