Anonymous (not verified) - Mon, 2009-03-23 14:56
How to migrate a hard drive partition or lvm over a network. On the machine where you want the drive to be copied to (target)
- Create a lvm the correct size
lvcreate -L6G -n pbx-root VolGroup00?
nc -l 30000 |dd of=/dev/VolGroup00?/pbx-root
johnw - Tue, 2006-10-10 18:16
From the mailing list. Needs formatting.
Anonymous (not verified) - Sun, 2006-08-06 12:58
1. Get a rescue disk. The Dapper CD should be ok for this, so long as it boots on your laptop (presumably it does) and you can get to a useful shell or the desktop.
2. Backup the MBR:
dd if=/dev/hda bs=512 count=1 of=/tmp/mbr.img
Save /tmp/mbr.img somewhere safe, maybe a Flash drive?, and then you can restore it with: