Changeset 3417 in MondoRescue


Ignore:
Timestamp:
Aug 21, 2015, 2:32:54 AM (9 years ago)
Author:
Bruno Cornec
Message:
  • grub 0.97 doesn't seem to recognize its conf file on the ESP, trying on the iso9660 FS under /boot/grub
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/mindi

    r3416 r3417  
    19251925    if [ $BOOT_TYPE = "UEFI" ]; then
    19261926            # for grub 0.97 the conf file is not read with the grub.efi file :-(
    1927             cp $liloconf $mountpoint
     1927            cp $liloconf $MINDI_TMP
    19281928    fi
    19291929    if [ "$?" -ne "0" ] ; then
     
    20712071        mkdir -p $bigdir/dev
    20722072        cp -pRdf $j $bigdir/dev/boot_device 2>> $LOGFILE || Die "Unable to create /dev/boot_device on ramdisk"
     2073    fi
     2074
     2075    if [ $BOOT_TYPE = "UEFI" ]; then
     2076            # for grub 0.97 the conf file is not read with the grub.efi file :-(
     2077            # Not very nice, but needed
     2078            if [ -f $MINDI_TMP/grub.conf ]; then
     2079                mkdir -p $bigdir/boot/grub
     2080                cp $MINDI_TMP/grub.conf $bigdir/boot/grub
     2081            fi
    20732082    fi
    20742083
Note: See TracChangeset for help on using the changeset viewer.