Changeset 473 in MondoRescue


Ignore:
Timestamp:
Apr 12, 2006, 11:41:07 AM (18 years ago)
Author:
bcornec
Message:

More mindi configuration added

Location:
branches/stable/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/distributions/conf/mindi.conf

    r449 r473  
    66# Changing some values may render mindi instable
    77# or cause failures. Use with care.
    8 
    9 #
    10 # Default log level
    11 #
    12 mindi_log_level=4
    138
    149#
     
    4035# Write mindi CD (yes|no) ?
    4136#
    42 mindi_write_mindi_cd="no"
    43 
    44 #
    45 # Kernel to use (NATIVE|FAILSAFE|PATH TO THE KERNEL)
    46 #
    47 mindi_kernel="NATIVE"
    48 #mondorescue_kernel="/boot/vmlinuz.special"
    49 
    50 #
    51 # Additinal modules to support
    52 # (white space separated list of modules)
    53 #
    54 mindi_additional_modules=""
    55 
    56 #
    57 # Boot loader to use
    58 # (GRUB|ELILO|LILO|RAW|NATIVE)
    59 #
    60 mindi_boot_loader="NATIVE"
     37mindi_write_cd="no"
    6138
    6239#
     
    7451#
    7552mindi_fd_device="/dev/fd0"
     53
     54#
     55# Additional Boot Parameters
     56#
     57mindi_boot_params="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"
     58
     59# TBC
     60
     61# Kernel to use (NATIVE|FAILSAFE|PATH TO THE KERNEL)
     62#
     63mindi_kernel="NATIVE"
     64#mindi_kernel="/boot/vmlinuz.special"
     65
     66#
     67# Additinal modules to support
     68# (white space separated list of modules)
     69#
     70mindi_additional_modules=""
     71
     72#
     73# Boot loader to use
     74# (GRUB|ELILO|LILO|RAW|NATIVE)
     75#
     76mindi_boot_loader="NATIVE"
     77
     78
  • branches/stable/mindi/mindi

    r462 r473  
    1515### Which arch are we on (useful for ia64 port)
    1616export ARCH=`/bin/arch`
    17 
    18 ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"
    1917
    2018RUN_AFTER_INITIAL_BOOT_PHASE="echo \"Who lives in a pineapple under the sea?\" > /tmp/spongebob.squarepants.txt"
     
    6260    IA64_BOOT_SIZE=$mindi_ia64_boot_size
    6361fi
    64 
    6562if [ "$mindi_deplist_dir" == "" ]; then
    6663    DEPLIST_DIR="$MINDI_CONF/deplist.d"
     
    6865    DEPLIST_DIR="$mindi_deplist_dir"
    6966fi
     67# TBC
    7068if [ "$mindi_write_boot_floppy" == "" ]; then
    7169    WRITE_BOOT_FLOPPIES="yes"
     
    7371    WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy"
    7472fi
    75 if [ "$mindi_write_mindi_cd" == "" ]; then
    76     WRITE_BOOT_FLOPPIES="yes"
     73# TBC
     74if [ "$mindi_write_cd" == "" ]; then
     75    WRITE_MINDI_CD="yes"
    7776else
    78     WRITE_BOOT_FLOPPIES="$mindi_write_boot_floppy"
     77    WRITE_MINDI_CD="$mindi_write_cd"
    7978fi
     79# TBC
    8080if [ "$mindi_images_dir" == "" ]; then
    8181    CACHE_LOC="/var/cache/mindi"
     
    9898    FDDEVICE="$mindi_fd_device"
    9999fi
     100if [ "mindi_boot_params" == "" ]; then
     101    ADDITIONAL_BOOT_PARAMS="acpi=off apm=off devfs=nomount exec-shield=0 noresume selinux=0 barrier=off"
     102else
     103    ADDITIONAL_BOOT_PARAMS="$mindi_boot_params"
     104fi
     105
    100106
    101107# Other parameters
     
    17841790    return $res
    17851791
    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 2004
    1790 #   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.old
    1793 #   dd if=$2.old bs=1k count=$3 of=$2 &> /dev/null || Die "Cannot dd blank file"
    1794 #   rm -f $2.old
    1795 #   if [ "$3" = "1440" ] ; then
    1796 #       rdev $2 "/dev/fd0H"$3
    1797 #   else
    1798 #       rdev $2 "/dev/fd0u"$3
    1799 #   fi
    1800 #   rdev -R $2 0
    1801 #   rdev -r $2 49152
    18021792}
    18031793
     
    22572247    noof_disks=$?
    22582248    [ "$noof_disks" -eq "0" ] && Die "Too much stuff!"
    2259 #    if [ "$noof_disks" -ge "8" ] ; then
    2260 #        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 #    fi
    22642249    MakeMountlist $TMP_ROOT/mountlist.txt
    22652250    mkdir -p $minidir_root/$noof_disks/tmp
Note: See TracChangeset for help on using the changeset viewer.