Changeset 1794 in MondoRescue
- Timestamp:
- Nov 14, 2007, 1:09:56 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1791 r1794 2067 2067 el=`find /boot/efi -name elilo.efi` 2068 2068 cp $el $mountpoint 2069 cp $liloconf $mountpoint /elilo.efi $mountpoint/efi/boot2069 cp $liloconf $mountpoint 2070 2070 if [ $mountefi -eq 1 ]; then 2071 2071 umount /boot/efi 2>&1 > /dev/null … … 2125 2125 echo "Free space left on floppy = $free_space KB" >> $LOGFILE 2126 2126 echo "Max kernel size on $disksize KB floppy (est'd) = $max_kernel_size K" >> $LOGFILE 2127 # make it bootable2127 # make it bootable 2128 2128 rm -f $mountpoint/zero 2129 2129 [ -e "$MINDI_LIB/memdisk" ] && cp -f $MINDI_LIB/memdisk $mountpoint 2>> $LOGFILE 2130 2130 if [ "$disksize" -gt "2880" ] && [ ! "$KERN_DISK_MADE" ] ; then 2131 2131 if [ "$ARCH" != "ia64" ] ; then 2132 $LILO_EXE $LILO_OPTIONS -r $mountpoint >> $LOGFILE 2>> $LOGFILE2132 $LILO_EXE $LILO_OPTIONS -r $mountpoint >> $LOGFILE 2>> $LOGFILE 2133 2133 else 2134 2134 /bin/true 2135 2135 fi 2136 2136 elif [ ! "$KERN_DISK_MADE" ] ; then 2137 # 12/28/2001 - if 1.72MB floppy then don't use LILO's optimizations at all2137 # 12/28/2001 - if 1.72MB floppy then don't use LILO's optimizations at all 2138 2138 $LILO_EXE -r $mountpoint >> $LOGFILE 2>> $LOGFILE 2139 2139 else … … 2978 2978 umount $mountpoint || Die "Cannot unmount $tempfile" 2979 2979 dd if=$tempfile bs=1k 2> /dev/null > ${rdz_fname}.tmp 2> /dev/null 2980 bs=`tune2fs -l ${rdz_fname}.tmp | grep -E '^Block size:' | cut -d: -f2 `2980 bs=`tune2fs -l ${rdz_fname}.tmp | grep -E '^Block size:' | cut -d: -f2 | sed 's/^ *//'` 2981 2981 ADDITIONAL_BOOT_PARAMS="$ADDITIONAL_BOOT_PARAMS ramdisk_blocksize=$bs" 2982 2982 gzip -v9 ${rdz_fname}.tmp > $rdz_fname 2> /dev/null
Note:
See TracChangeset
for help on using the changeset viewer.