Changeset 3429 in MondoRescue
- Timestamp:
- Aug 27, 2015, 10:50:26 AM (10 years ago)
- Location:
- branches/3.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3428 r3429 77 77 # Force some modules to be included 78 78 FORCE_MODS="" 79 80 # Find MBR in case of bootable USB device to build81 MBRFILE=/usr/lib/syslinux/mbr.bin82 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/lib64/syslinux/mbr.bin83 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/syslinux/mbr.bin84 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/lib/syslinux/mbr.bin85 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/lib64/syslinux/mbr.bin86 79 87 80 LOGFILE=/var/log/mindi.log … … 119 112 BOOT_TYPE="UEFI" 120 113 ISO_OPT="$ISO_OPT -eltorito-alt-boot -e images/mindi-bootroot.img -no-emul-boot" 114 else 115 # Find MBR in case of bootable USB device to build 116 MBRFILE=/usr/lib/syslinux/mbr.bin 117 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/lib64/syslinux/mbr.bin 118 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/syslinux/mbr.bin 119 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/lib/syslinux/mbr.bin 120 [ ! -r "$MBRFILE" ] && MBRFILE=/usr/share/lib64/syslinux/mbr.bin 121 121 fi 122 122 … … 2150 2150 fi 2151 2151 2152 #if [ "$BOOT_TYPE" = "UEFI" ] && [ -f "$lilodir/grub.conf" ]; then2153 # for grub 0.97 the conf file is not read with the grub.efi file :-(2154 # Not very nice, but needed it seems2155 #LogFile "Copying grub.conf file as we use legacy grub on UEFI"2156 #mkdir -p $bootdir/boot/grub2157 #cp $lilodir/grub.conf $bootdir/boot/grub2158 #fi2159 2160 2152 echo -en "Tarring and zipping the data content..." 2161 2153 size_of_all_tools=`du -sk $bigdir | cut -f1` -
branches/3.2/mondo-doc/mondoarchive.8
r3371 r3429 359 359 .TP 360 360 .BI "\-l " "GRUB|LILO|ELILO|RAW" 361 Specify the boot loader. By default, your Master Boot Recordis examined and361 Specify the boot loader. By default, your environment is examined and 362 362 the boot loader can usually be discovered. If you specify RAW then the MBR will 363 363 be backed up and restored byte-for-byte without any analysis. It is likely that 364 364 you will also need to specify the boot device with \-f <dev>. ELILO is mandatory 365 for IA64 machines. 365 for IA64 machines. GRUB is mandatory for now for UEFI systems. 366 366 367 367 .TP -
branches/3.2/mondo/src/common/libmondo-devices.c
r3422 r3429 400 400 401 401 /** 402 * Determine whether given NULL-terminated @p str exists in the MBRof @p dev.402 * Determine whether given NULL-terminated @p str exists in the begining of @p dev. 403 403 * @param dev The device to look in. 404 404 * @param str The string to look for. -
branches/3.2/mondo/src/common/mondostructures.h
r3375 r3429 207 207 interactive, /// Interactive mode 208 208 compare, /// Compare mode 209 mbr, /// MBR mode209 mbr, /// MBR restore only 210 210 isoonly, /// ISO mode 211 211 isonuke, /// ISO+Nuke mode -
branches/3.2/mondo/src/restore-scripts/mondo/grub-MR
r3378 r3429 93 93 94 94 if [ "$#" -ne "2" ] ; then 95 Die "grub-MR < MBRdrive> <mountlist filename>; e.g. grub-MR /dev/hda /tmp/mountlist.txt"95 Die "grub-MR <boot drive> <mountlist filename>; e.g. grub-MR /dev/hda /tmp/mountlist.txt" 96 96 fi 97 97 [ ! -f "$2" ] && Die "mountlist file not found"
Note:
See TracChangeset
for help on using the changeset viewer.