Entire filesystem restore from rdiff-backup snapshot
- by atmosx
I'm trying to make a complete system restore from an rdiff-backup. The cli for backing was:
rdiff-backup --exclude-special-files --exclude /tmp --exclude /mnt --exclude /proc --exclude /sys / /mnt/backup/ebox/
I created a new partition mounted the partition at /mnt/gentoo and did:
rdiff-backup -r /mnt/vol2 /mnt/gentoo
However when I try to chroot to this system (following gentoo's manual, which means mounting /dev/ and /proc) I get the following error:
chroot: failed to run command/bin/bash': No such file or directory`
All this takes place on a Parallels (virtual machine) Debian installation. Any ideas on how to proceed in order to fully restore the system?
Best Regards
ps. /mnt/gentoo/bin/bash works fine if I execute it. All files and permissions are in place rdiff-backup seems to work just fine. However the system cannot neither boot (exits with kernel panic - cannot find init) or be chrooted.