Changeset 1072 in MondoRescue


Ignore:
Timestamp:
Jan 23, 2007, 5:36:01 PM (17 years ago)
Author:
Bruno Cornec
Message:

Attempt to fix bug #129

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/mindi

    r1063 r1072  
    18621862            rootpart=""
    18631863        fi
    1864         outstr="image=vmlinuz\n\tlabel=$i\n\tinitrd=/mindi.rdz\n\t${rootpart}append=\" rw ramdisk=$ramdisksize ramdisk_size=$ramdisksize maxcpus=1 $ooo_mode $ADDITIONAL_BOOT_PARAMS"
     1864        outstr="image=/vmlinuz\n\tlabel=$i\n\tinitrd=/mindi.rdz\n\t${rootpart}append=\" rw ramdisk=$ramdisksize ramdisk_size=$ramdisksize maxcpus=1 $ooo_mode $ADDITIONAL_BOOT_PARAMS"
    18651865   
    18661866        outstr=$outstr" $ooo_mode"
     
    19201920
    19211921    MakeLiloConfFile $disksize > $liloconf
     1922
     1923    # Copy it so that CD-ROM menu entry is satisfied
     1924    if [ "$ARCH" = "ia64" ] ; then
     1925        mountefi=0
     1926        df -T | grep /boot/efi | grep -q vfat
     1927        if [ $? -ne 0 ]; then
     1928            mount /boot/efi
     1929            if [ $? -ne 0 ]; then
     1930                echo "You have to mount your EFI partition when using mindi"
     1931                MindiExit -1
     1932            fi
     1933            mountefi=1
     1934        fi
     1935        cp /boot/efi/elilo.efi $mountpoint
     1936        cp $liloconf $mountpoint/elilo.efi $mountpoint/efi/boot
     1937        if [ $mountefi -eq 1 ]; then
     1938            umount /boot/efi 2>&1 > /dev/null
     1939        fi
     1940    fi
    19221941
    19231942    echo "Copying $MINDI_TMP/mindi.rdz to $mountpoint..." >> $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.