[arch-general] restore hdd image to a bigger disk

Mauro Santos registo.mailling at gmail.com
Tue Aug 24 17:03:23 EDT 2010


On 08/24/2010 08:14 PM, Marek Otahal wrote:
> Hi all, 
> 
> I use dd command to make an image of entire /dev/sda (160GB) and back up it as 
> netobook.hdd to an external storage. The disk contains both 
> encrypted(dmcrypt/luks) and normal linux/win partitions. 
> 
> My question is, if my netbook died and I needed to recover from backup, can I 
> just dd-copy the image to a new larger disk? Does it matter? 
> 
> 1/ it will do, but the size will remain 160gb ..is ok.
> 2/ will do & possibility to resize partitions later ..even better! :) 
> 
> I've searched the net, but I'd like someone to confirm it 100% works (just dd 
> and reboot). 
> 
> Thanks in advance, Marek
> 

Most probably you don't even need to copy the image back to a disk to
get the files you need. I don't know about the encrypted(dmcrypt/luks)
partitions but the "normal" linux/win partitions can be accessed
directly from the image.

-- 
Mauro Santos


More information about the arch-general mailing list