-
-
Notifications
You must be signed in to change notification settings - Fork 268
Closed
Labels
Description
I'm trying to restore a CentOS 5.8 system using this config:
RESCUE birch:~ # less /etc/rear/local.conf
# sample local configuration
# Create Rear rescue media as ISO image
OUTPUT=ISO
# optionally define (non-default) backup software, e.g. TSM, NBU, DP, BACULA
BACKUP=REQUEST_RESTORE
# the following is required on older VMware VMs
MODULES_LOAD=( vmxnet )
# to see boot messages on the serial console (uncomment next line)
# KERNEL_CMDLINE="console=tty0 console=ttyS1"
The ISO boots fine and the partitions are set up. But at the very end when it looks likes it's going to chroot /mnt/local to install the initrd it crashes like this:
2012-09-13 08:35:25 Including finalize/Fedora/i386/17_rebuild_initramfs.sh
2012-09-13 08:35:25 Original OLD_INITRD_MODULES='scsi_mod dm-message dm-log ata_piix dm-zero ehci-hcd dm-raid45 shpchp dm-mem-cache dm-region_hash sd_mod dm-mirror ext3 uhci-hcd dm-mod ohci-hcd libata megaraid_sas dm-snapshot jbd'
2012-09-13 08:35:25 New INITRD_MODULES='scsi_mod dm-message dm-log ata_piix dm-zero ehci-hcd dm-raid45 shpchp dm-mem-cache dm-region_hash sd_mod dm-mirror ext3 uhci-hcd dm-mod ohci-hcd libata megaraid_sas dm-snapshot jbd sg sr_mod'
chroot: cannot run command `/bin/bash': No such file or directory
2012-09-13 08:35:25 WARNING !!!
initramfs creation failed, please check '/var/log/rear/rear-birch.log' to see the error
messages in detail and decide yourself, wether the system will boot or not.
2012-09-13 08:35:25 Including finalize/Linux-i386/21_install_grub.sh
2012-09-13 08:35:25 Installing GRUB boot loader
2012-09-13 08:35:25 ERROR: Could not find directory /boot/grub
=== Stack trace ===
Trace 0: /bin/rear:245 main
Trace 1: /usr/share/rear/lib/recover-workflow.sh:34 WORKFLOW_recover
Trace 2: /usr/share/rear/lib/framework-functions.sh:79 SourceStage
Trace 3: /usr/share/rear/lib/framework-functions.sh:40 Source
Trace 4: /usr/share/rear/finalize/Linux-i386/21_install_grub.sh:30 source
Trace 5: /usr/share/rear/lib/_input-output-functions.sh:131 StopIfError
Message: Could not find directory /boot/grub
===================
2012-09-13 08:35:25 Running exit tasks.
2012-09-13 08:35:25 Finished in 77 seconds
2012-09-13 08:35:25 Removing build area /tmp/rear.HjthDkoNLxN1921
rmdir: removing directory, /tmp/rear.HjthDkoNLxN1921
If I do a complete backup using rsync to a NAS it's fine.