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.216.158
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_grub_mkconfig.sh # 950_grub_mkconfig is a finalisation script (see restore/readme) # that runs grubby in the target system # after the files have been restored into the target system # (i.e. so that GRUB is installed in the target system). # # If /sbin/grub-install does not exist on the target system, we don't have grub (legacy) test -e $TARGET_FS_ROOT/sbin/grub-install || 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 cp -a $TARGET_FS_ROOT/boot/grub/grub.conf $TARGET_FS_ROOT/boot/grub/grub.conf.bak # Generate new grub menu entries based on initial entry, which may no longer be valid. # From: https://rewoo.wordpress.com/2013/02/08/repairing-a-broken-grub-conf-in-centos-2/ for kernel in $TARGET_FS_ROOT/boot/vmlinuz-* do version=$(echo $kernel | awk -F'vmlinuz-' '{print $NF}') chroot $TARGET_FS_ROOT /sbin/grubby \ --add-kernel="/boot/vmlinuz-${version}" \ --initrd="/boot/initramfs-${version}.img" \ --title="CentOS (${version})" \ --copy-default \ --make-default \ --bad-image-okay # bad-image-okay allows grubby to reuse entries with missing # files, which is very possible on our restored target system done # Restore the ReaR default bash flags and options (see usr/sbin/rear): apply_bash_flags_and_options_commands "$DEFAULT_BASH_FLAGS_AND_OPTIONS_COMMANDS"