#232 Issue closed
: Grub doesn't get installed¶
bleyers opened issue at 2013-05-29 14:34:¶
Hi,
We are using Oracle Linux 6.4 and when we are using rear for
recovering
the bootloader does not get installed.
The problem is I think that the grub code doesn't get called.
Oracle Linux is an Red Hat clone btw.
Any help is welcome.
Below part of the restore log en the rear dump.
DUMP¶
Relax and Recover 1.13.0 / $Date$
Dumping out configuration and system information
This is a 'Linux-x86_64' system, compatible with 'Linux-i386'.
System definition:
ARCH = Linux-i386
OS = GNU/Linux
OS_MASTER_VENDOR =
OS_MASTER_VERSION =
OS_MASTER_VENDOR_ARCH =
OS_MASTER_VENDOR_VERSION =
OS_MASTER_VENDOR_VERSION_ARCH =
OS_VENDOR = OracleServer
OS_VERSION = 6.4
OS_VENDOR_ARCH = OracleServer/i386
OS_VENDOR_VERSION = OracleServer/6.4
OS_VENDOR_VERSION_ARCH = OracleServer/6.4/i386
Configuration tree:
Linux-i386.conf : OK
GNU/Linux.conf : OK
OracleServer.conf : missing/empty
OracleServer/i386.conf : missing/empty
OracleServer/6.4.conf : missing/empty
OracleServer/6.4/i386.conf : missing/empty
site.conf : missing/empty
local.conf : OK
Backup with REQUESTRESTORE
REQUESTRESTORE_COMMAND =
REQUESTRESTORE_TEXT = Please start the restore process on y our backup host.
Make sure that you restore the data into '/mnt/local' instead of '/' because the
hard disks of the recovered system are mounted there.
BACKUP_MOUNTCMD =
BACKUP_OPTIONS =
BACKUP_RSYNC_OPTIONS = --sparse --archive --hard-links --ver bose --numeric-ids --stats
BACKUP_SELINUX_DISABLE = 1
BACKUP_UMOUNTCMD =
BACKUP_URL =
Output to ISO
ISO_DIR = /tmp
ISO_FILES =
ISO_IMAGES =
ISO_ISOLINUX_BIN =
ISO_MKISOFS_BIN = /usr/bin/mkisofs
ISO_PREFIX = webdev01.cepa.be_29_05_2013
ISO_VOLID = RELAXRECOVER
RESULT_MAILTO =
Logfile¶
+++ set +x
2013-05-29 13:15:01 Disk layout created.
2013-05-29 13:15:01 Including
layout/recreate/default/25_verify_mount.sh
2013-05-29 13:15:01 Finished running 'layout/recreate' stage in 12
seconds
2013-05-29 13:15:01 Running 'restore' stage
2013-05-29 13:15:01 Including
restore/DP/default/30_create_dp_restore_fs_list.sh
2013-05-29 13:15:02 Including
restore/DP/default/40_restore_with_dp.sh
2013-05-29 13:15:02 Including
restore/DP/default/45_restore_via_gui.sh
2013-05-29 13:15:02 Request for a manual restore via the GUI
2013-05-29 13:44:14 Including
restore/default/90_create_missing_directories.sh
2013-05-29 13:44:15 Finished running 'restore' stage in 1754 seconds
2013-05-29 13:44:15 Running 'finalize' stage
2013-05-29 13:44:15 Including finalize/default/01_prepare_checks.sh
2013-05-29 13:44:15 Including finalize/default/10_populate_dev.sh
2013-05-29 13:44:15 Including
finalize/GNU/Linux/15_migrate_disk_devices.sh
2013-05-29 13:44:15 Including
finalize/GNU/Linux/15_migrate_disk_devices_layout.sh
2013-05-29 13:44:15 Including
finalize/GNU/Linux/15_migrate_uuid_tags.sh
2013-05-29 13:44:15 Including
finalize/GNU/Linux/30_create_mac_mapping.sh
2013-05-29 13:44:15 Including
finalize/GNU/Linux/41_migrate_udev_rules.sh
2013-05-29 13:44:15 Updating udev configuration
(70-persistent-net.rules)
2013-05-29 13:44:15 Including
finalize/GNU/Linux/42_migrate_network_configuration_files.sh
2013-05-29 13:44:15 SED_SCRIPT:
';s/00:50:56:a7:50:d5/00:50:56:a7:92:67/g;s/00:50:56:A7:50:D5/00:50:56:A7:92:67/g'
2013-05-29 13:44:15 Including
finalize/GNU/Linux/70_create_swapfiles.sh
2013-05-29 13:44:15 Including
finalize/default/88_check_for_mount_by_id.sh
2013-05-29 13:44:15 Including finalize/default/89_finish_checks.sh
2013-05-29 13:44:15
WARNING ! For this system
OracleServer/6.4 on Linux-i386 (based on )
there is no code to install a boot loader on the recovered system or the
code
that we have failed to install the boot loader correctly.
Please contribute this code to the Relax and Recover project. To do so
please take a look at the scripts in /usr/share/rear/finalize,
for an example you can use the script for Fedora (and RHEL/CentOS/SL)
in
/usr/share/rear/finalize/Fedora/i386/20_install_grub.sh
-------------------- ATTENTION ATTENTION ATTENTION -------------------
| |
| IF YOU DO NOT INSTALL A BOOT LOADER MANUALLY, |
| |
| THEN YOUR SYSTEM WILL N O T BE ABLE TO BOOT ! |
| |¶
You can use 'chroot /mnt/local bash --login' to access the recovered
system.
Please remember to mount /proc before trying to install a boot loader.
2013-05-29 13:44:15 Including finalize/default/90_remount_sync.sh
2013-05-29 13:44:15 Finished running 'finalize' stage in 0 seconds
2013-05-29 13:44:15 Running 'wrapup' stage
2013-05-29 13:44:15 Including
wrapup/default/50_post_recovery_script.sh
2013-05-29 13:44:15 Including wrapup/default/98_good_bye.sh
2013-05-29 13:44:15 Including wrapup/default/99_copy_logfile.sh
2013-05-29 13:44:15 Finished running 'wrapup' stage in 0 seconds
2013-05-29 13:44:15 Finished running recover workflow
2013-05-29 13:44:15 Running exit tasks.
2013-05-29 13:44:15 Finished in 1787 seconds
2013-05-29 13:44:15 Removing build area /tmp/rear.vxdSv1rq0ebsNVf
rmdir: removing directory, `/tmp/rear.vxdSv1rq0ebsNVf'
2013-05-29 13:44:15 End of program reached¶
schlomo commented at 2013-05-29 15:12:¶
I tried to add support for Oracle in 8c27d34aaa0c8ca2b7aff6a09e7ba2e26bdf9a6d. Please test and close the issue or provide a new dump. Seems like you are the first to try Oracle Linux, at least I could not find any reference to it in our code.
bleyers commented at 2013-05-29 16:14:¶
It works !
The bootloader got installed and the system was restored successfully.
I will do some tests with other servers this week but i have good hope.
thank you very much..
[Export of Github issue for rear/rear.]