Hash: SHA1

This is good info for backing up the MBR (which includes the partition

However, if you are going to image a partition use either ddrescue
(does the same thing but has a status screen, can resume, and works
around read errors) or partimage (has a status screen and it
understands (most) filesystems so it can leave the empty space sparse).

On 07/17/2015 02:48 PM, Larry Irwin (gmail) wrote:
> Hi TG, You can keep an up-to-date copy of the
> files/folders/pipes/etc. in the 100GB space using rsync, but not a
> true clone of the partition. To get a true clone of the boot
> partition, you'd need to boot from a rescue CD, mount the other
> machine's 100GB space and dd the boot 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/17/2015 01:40 PM, Thierry Granier wrote:
>> 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

- -- 
- -*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
- -*~
Version: GnuPG v2


Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to