Changeset 473 in MondoRescue for branches/stable/mindi/mindi
- Timestamp:
- Apr 12, 2006, 11:41:07 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi/mindi
r462 r473 15 15 ### Which arch are we on (useful for ia64 port) 16 16 export ARCH=`/bin/arch` 17 18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"19 17 20 18 RUN_AFTER_INITIAL_BOOT_PHASE="echo \"Who lives in a pineapple under the sea?\" > /tmp/spongebob.squarepants.txt" … … 62 60 IA64_BOOT_SIZE=$mindi_ia64_boot_size 63 61 fi 64 65 62 if [ "$mindi_deplist_dir" == "" ]; then 66 63 DEPLIST_DIR="$MINDI_CONF/deplist.d" … … 68 65 DEPLIST_DIR="$mindi_deplist_dir" 69 66 fi 67 # TBC 70 68 if [ "$mindi_write_boot_floppy" == "" ]; then 71 69 WRITE_BOOT_FLOPPIES="yes" … … 73 71 WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy" 74 72 fi 75 if [ "$mindi_write_mindi_cd" == "" ]; then 76 WRITE_BOOT_FLOPPIES="yes" 73 # TBC 74 if [ "$mindi_write_cd" == "" ]; then 75 WRITE_MINDI_CD="yes" 77 76 else 78 WRITE_ BOOT_FLOPPIES="$mindi_write_boot_floppy"77 WRITE_MINDI_CD="$mindi_write_cd" 79 78 fi 79 # TBC 80 80 if [ "$mindi_images_dir" == "" ]; then 81 81 CACHE_LOC="/var/cache/mindi" … … 98 98 FDDEVICE="$mindi_fd_device" 99 99 fi 100 if [ "mindi_boot_params" == "" ]; then 101 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off" 102 else 103 ADDITIONAL_BOOT_PARAMS="$mindi_boot_params" 104 fi 105 100 106 101 107 # Other parameters … … 1784 1790 return $res 1785 1791 1786 # --- the kernel-only method NO LONGER WORKS. Not since Apr 2002.1787 # It should work, according to the Boot Disk HOWTO, but it doesn't.1788 # It works for my failsafe kernel & for RH7.2 but not RH7.3, 8.0, etc.1789 # -Hugo, Apr 19th 20041790 # dd if=$1 of=$2 bs=1k &> /dev/null || Die "Cannot dd blank file"1791 # dd if=/dev/zero bs=1k count=$3 >> $2 2> /dev/null || Die "Cannot dd blank file"1792 # mv -f $2 $2.old1793 # dd if=$2.old bs=1k count=$3 of=$2 &> /dev/null || Die "Cannot dd blank file"1794 # rm -f $2.old1795 # if [ "$3" = "1440" ] ; then1796 # rdev $2 "/dev/fd0H"$31797 # else1798 # rdev $2 "/dev/fd0u"$31799 # fi1800 # rdev -R $2 01801 # rdev -r $2 491521802 1792 } 1803 1793 … … 2257 2247 noof_disks=$? 2258 2248 [ "$noof_disks" -eq "0" ] && Die "Too much stuff!" 2259 # if [ "$noof_disks" -ge "8" ] ; then2260 # LogIt "You are putting a ludicrously large amount of data on these disks."2261 # LogIt "I shall therefore double EXTRA_SPACE, just in case your ramdisk is too small."2262 # EXTRA_SPACE=$(($EXTRA_SPACE*2))2263 # fi2264 2249 MakeMountlist $TMP_ROOT/mountlist.txt 2265 2250 mkdir -p $minidir_root/$noof_disks/tmp
Note:
See TracChangeset
for help on using the changeset viewer.