[arch-general] Full system backup with rsync

niya levi niyalevi at gmail.com
Mon Oct 17 18:29:13 UTC 2016


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


More information about the arch-general mailing list