power backup & restore with dd and losetup
Backup:
- boot with knoppix
- mkdir /storage && mount storage:/backup
- dd if=/dev/hda of=/storage/laptop.img
- wait....
- done
Restore:
- ssh root@storage
- fdisk -lu /backup/laptop.img ### write down the first sector of the desired partition, say 1959930
- mkdir /samba/laptop && mount -o loop,offset=$[1959930*512],ro,user /backup/laptop.img /samba/laptop
- grab a beer and see it at \\storage\samba\laptop
Linux rulez!