Changeset 3425 in MondoRescue


Ignore:
Timestamp:
Aug 27, 2015, 12:56:13 AM (4 years ago)
Author:
Bruno Cornec
Message:
  • Fixes needed by RHEL7 after a first run on a DL380/UEFI mode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3424 r3425  
    118118if [ -d "/sys/firmware/efi" ]; then
    119119    BOOT_TYPE="UEFI"
     120    ISO_OPT="$ISO_OPT -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot"
    120121fi
    121122
     
    655656            LogIt "ERROR: Cannot find mondo*restore in mondo's tempdir, $MINDI_TMP"
    656657            LogIt "       I bet you've got a spare copy of Mondo or Mindi floating around on your system."
    657                 LogIt "       If Mindi was called by Mondo then send me a bug report."
     658            LogIt "       If Mindi was called by Mondo then send a bug report."
    658659            LogIt "       It not, type 'ps ax' to see which Mondo-related process is still running then kill it. :-)"
    659660            LogIt "       Finally, run Mindi again."
     
    14941495
    14951496    # copy boot stuff now generated in PrepareDataDiskImage
    1496     if [ $BIOS_TYPE = "UEFI" ]; then
     1497    if [ "$BOOT_TYPE" = "UEFI" ]; then
    14971498        (cd $MINDI_TMP/iso ; tar xfz $MINDI_CACHE/all.tar.gz ./EFI)
    14981499        tbc="EFI"
     
    16551656        k=$MINDI_TMP/usb
    16561657        if [ -e "$j" ] ; then
    1657             LogIt "INFO: Copying $j to $k"
     1658            LogFile "INFO: Copying $j to $k"
    16581659            cp -f $j $k 2>> $LOGFILE || Die "Failed to copy $j to $k"
    16591660            cp -f $j $MINDI_TMP 2>> $LOGFILE || Die "Failed to copy $j to $MINDI_TMP"
     
    30523053fi
    30533054if [ -d /boot/efi ]; then
    3054     gcf=`find /boot/efi -name grub.conf`
     3055    gcf=`find /boot/efi -name 'grub.c*'`
    30553056    if [ _"$gcf" = _"" ]; then
    3056         LogFile "Found a /boot/efi directory without a grub.conf file in it"
     3057        LogFile "Found a /boot/efi directory without a grub config file in it"
    30573058    else
    30583059        LogFile "-------------"
     
    33613362
    33623363if [ -f $MINDI_TMP/$MRCFG ]; then
    3363     LogIt "INFO: Your $MRCFG file is:"
    3364     LogIt "--------------------------"
    3365     cat $MINDI_TMP/$MRCFG | tee -a $LOGFILE
    3366     LogIt "--------------------------"
     3364    LogFile "INFO: Your $MRCFG file is:"
     3365    LogFile "--------------------------"
     3366    cat $MINDI_TMP/$MRCFG >> $LOGFILE
     3367    LogFile "--------------------------"
    33673368else
    33683369    if [ _"$MONDO_SHARE" != _"" ] ; then
Note: See TracChangeset for help on using the changeset viewer.