Changeset 1691 in MondoRescue for branches/2.2.5/mindi
- Timestamp:
- Oct 21, 2007, 2:27:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mindi/mindi
r1690 r1691 28 28 # run this command. 29 29 30 MINDI_REV= RRR31 MINDI_VER= VVV30 MINDI_REV=PBREV 31 MINDI_VER=PBVER 32 32 33 33 MINDI_VERSION=${MINDI_VER}-r$MINDI_REV … … 1710 1710 fi 1711 1711 echo -en "." 1712 echo "Unmounting $USBDEVICE just in case" >> $LOGFILE 1713 umount $USBDEVICE 2>&1 >> $LOGFILE 1712 1714 echo "Erasing $USBDEVICE" >> $LOGFILE 1713 1715 $FDISK $USBDEVICE 2>&1 >> $LOGFILE << EOF … … 1752 1754 fi 1753 1755 echo -en "." 1754 mkdir -p $MINDI_TMP/usb/ {images,archives}1755 cp -f $1/*.img $1/*.gz $MINDI_TMP/usb/images 2>> $LOGFILE || LogIt "OfferToMakeBootableUSB: Cannot copy $i to $MINDI_TMP/ iso/images"1756 mkdir -p $MINDI_TMP/usb/images 1757 cp -f $1/*.img $1/*.gz $MINDI_TMP/usb/images 2>> $LOGFILE || LogIt "OfferToMakeBootableUSB: Cannot copy $i to $MINDI_TMP/usb/images" 1756 1758 echo -en "." 1757 1759 old_pwd=`pwd` … … 1777 1779 cp $MINDI_TMP/mindi.rdz $MINDI_TMP/usb/initrd.img 2>> $LOGFILE 1778 1780 echo -en "." 1779 if [ _"$MONDO_SHARE" != _"" ]; then1780 cp $kernelpath $MONDO_ROOT/vmlinuz 2> /dev/null || Die "Cannot copy vmlinuz ($kernelpath) to mondo root ($MONDO_ROOT/vmlinuz). Did you run out of disk space?"1781 cp $MINDI_TMP/mindi.rdz $MONDO_ROOT/initrd.img 2> /dev/null || Die "Cannot copy mindi.rdz ($MINDI_TMP) to mondo root ($MONDO_ROOT/initrd.img). Did you run out of disk space?"1782 1783 fi1784 echo -en "."1785 1781 [ -e "$iso_cfg_file" ] || Die "FIXME - unable to find $iso_cfg_file - this should never occur" 1786 1782 cat $sys_cfg_file | HackSyslinuxFile $ramdisk_size $MINDI_TMP/usb > syslinux.cfg || Die "Cannot copy syslinux.cfg from mindi_home to $MINDI_TMP/usb - did you run out of disk space?" … … 1793 1789 if [ "$ARCH" != "ia64" ] ; then 1794 1790 if [ _"$MONDO_SHARE" != _"" ]; then 1795 cp -f $MINDI_TMP/usb/{syslinux.cfg,initrd.img,vmlinuz,message.txt} $MONDO_ROOT 2>> $LOGFILE || Die "Cannot copy core files to ramdisk for boot disk (under $MONDO_ROOT). Did you run out of disk space?"1796 1791 cp -f $MONDO_SHARE/autorun $MONDO_ROOT 2>> $LOGFILE 1797 1792 fi
Note:
See TracChangeset
for help on using the changeset viewer.