search for: jessie_mbr_sda

Displaying 2 results from an estimated 2 matches for "jessie_mbr_sda".

2015 Jul 17
4
clone a disk
Hello i have a machine A with 2 disks 1 et 2 running Debian Jessie on 1 is the system and the boot and the swap on 2 different partitions like /home /opt ETC..... i have a machine B with 1 disk running kali-linux and *100G free* Can i clone the disk 1 of machine A on the 100G free on machine B with rsync? If it is possible, how to do that? Many thanks TG -------------- next part --------------
2015 Jul 17
0
clone a disk
...partition device to a file on the 100GB space. You'd also probably want to get the Master Boot Record by grabbing the first 2K of the raw boot device into a separate file... i.e. something like: dd bs=512 if=/dev/sda1 of=/mnt/u/backup/jessie_sda1 dd bs=512 count=4 if=/dev/sda of=/mnt/u/backup/jessie_mbr_sda The device names might be different - the mount folder may be different - etc... But the idea works. - With a new, blank drive, you could recreate the partitions using fdisk, reverse the dd commands, boot and then work on getting the second partition back up and running. -- Larry Irwin On 07/...