Full system backup with rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



hi everyone

i am trying to replace my laptop drive with another,

to clone the laptop drive to a second drive i followed 'Full system
backup with rsync' from the wiki

1 create a partition table and filesystem on the second drive

2 mount the drive to /mnt

3 rsync -aAXv
--exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"}
/ /mnt

before i swap the drive in the laptop with the second drive 

do i chroot and run the following commands to configure the bootloader
and do i need to do this from installation cd ?

# grub-install --target=i386-pc /dev/sdx
# grub-mkconfig -o /boot/grub/grub.cfg

shadrock




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux