Changeset 3536 in MondoRescue for branches


Ignore:
Timestamp:
Mar 21, 2016, 5:45:25 PM (8 years ago)
Author:
Bruno Cornec
Message:
  • The restore media made by mindi needs to have an archives subdir to be detected correctly
  • For RHEL 7 grub conf file is grub.cfg (not .conf). Using set at grub prompt helps finding the valuie of prefix and fw_path which are used for that.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3535 r3536  
    17841784    if [ "$ARCH" = "ia64" ] || [ "$BOOT_TYPE" = "UEFI" ]; then
    17851785        # We just need the EFI dir and the boot image for this case
    1786         mkdir -p $MINDI_TMP/mpt2 $MINDI_TMP/mpt/images
     1786        mkdir -p $MINDI_TMP/mpt2 $MINDI_TMP/mpt/images $MINDI_TMP/mpt/archives
    17871787        mount -o loop $MINDI_CACHE/mindi-bootroot.img $MINDI_TMP/mpt2 2>> $LOGFILE
    17881788        # We need again the kernel+initrd at the root for UEFI boot at least
     
    22092209            elif [ $dname = "rhel" ] && [ $dver = "7" ]; then
    22102210                bootbin=`find /boot/efi -iname "grub*.efi" | head -1`
    2211                 bootconf="$efidir/grub.conf"
     2211                bootconf="$efidir/grub.cfg"
    22122212                boottype=grub2
    22132213            elif [ $dname = "debian" ] && [ $dver = "8" ]; then
Note: See TracChangeset for help on using the changeset viewer.