Entire filesystem restore from rdiff-backup snapshot

Posted by atmosx on Super User See other posts from Super User or by atmosx
Published on 2012-06-28T08:17:15Z Indexed on 2012/11/06 5:06 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

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.

© Super User or respective owner

Related posts about linux

Related posts about restore