Changeset 256 in MondoRescue


Ignore:
Timestamp:
Dec 22, 2005, 11:59:02 AM (18 years ago)
Author:
bcornec
Message:
  • PXE doc improved
  • interactive mode now asks for image size in NFS mode
Location:
branches/2.05
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/mindi/README.pxe

    r234 r256  
    77
    88Add the following line to your default file:
    9 mondo
     9label mondo
    1010        kernel vmlinuz-mondo
    11         initrd initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix="machine"] [ipconf=(ipadr:netmask:broadcast:gateway|dhcp)] [ping=#] ...
     11        append initrd=initrd-mondo load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=36864 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe [prefix="machine"] [ipconf=(ipadr:netmask:broadcast:gateway|dhcp)] [ping=#] ...
    1212
    1313The initrd and kernel file come rom the first bootable media
  • branches/2.05/mondo/mondo/common/libmondo-devices.c

    r251 r256  
    21122112            strcpy(bkpinfo->isodir,
    21132113                   call_program_and_get_last_line_of_output(command));
     2114
     2115            sprintf(comment,
     2116                    "How much data (in Megabytes) will each media store?");
     2117            if (!popup_and_get_string("Size", comment, sz_size, 5)) {
     2118                log_to_screen("User has chosen not to backup the PC");
     2119                finish(1);
     2120            }
     2121            for (i = 0; i <= MAX_NOOF_MEDIA; i++) {
     2122                bkpinfo->media_size[i] = atoi(sz_size);
     2123            }
     2124            if (bkpinfo->media_size[0] <= 0) {
     2125                log_to_screen("User has chosen not to backup the PC");
     2126                finish(1);
     2127            }
    21142128        }
    21152129        if (bkpinfo->disaster_recovery) {
Note: See TracChangeset for help on using the changeset viewer.