Changeset 3888 in MondoRescue for branches/3.3/mindi
- Timestamp:
- Mar 10, 2024, 8:16:15 PM (4 months ago)
- Location:
- branches/3.3/mindi
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi/README.uefi
r3886 r3888 43 43 Shell> bcfg boot dump -v -b 44 44 45 ------------------------------ 46 From https://unix.stackexchange.com/questions/753773/create-a-uefi-bootable-cd-with-isolinux 47 not specific to CD, but here is general guide how to make syslinux UEFI bootable medium: 48 49 parted /dev/sdf mklabel gpt 50 parted /dev/sdf mkpart boot fat32 0% 100% 51 parted /dev/sdf set 1 esp on 52 parted /dev/sdf set 1 boot on 53 54 mkfs.vfat -F 32 /dev/sdf1 55 56 mount /dev/sdf1 /mnt/tmp/ 57 58 mkdir -p /mnt/tmp/EFI/BOOT/ 59 60 cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi /mnt/tmp/EFI/BOOT/BOOTX64.EFI 61 cp /usr/lib/syslinux/modules/efi64/menu.c32 /mnt/tmp/EFI/BOOT/ 62 cp /usr/lib/syslinux/modules/efi64/ldlinux.e64 /mnt/tmp/EFI/BOOT/ 63 cp /usr/lib/syslinux/modules/efi64/libutil.c32 /mnt/tmp/EFI/BOOT/ 64 65 umount /mnt/tmp/ 66 67 efibootmgr --create --disk /dev/sdf --part 1 --loader /EFI/BOOT/BOOTX64.EFI --label "syslinux" --unicode 68 ------------------------------ 69 70 71 45 72 Please report any problem around that tool to bruno@mondorescue.org 46 73 Bruno. -
branches/3.3/mindi/mindi
r3887 r3888 2161 2161 # Needs a bigdir variable setup before calling it 2162 2162 2163 # copy (e)lilo/isolinux/grub/whatever stuff into it as well2163 # copy lilo/isolinux/grub/whatever stuff into it as well 2164 2164 # to get it on the media (in addition to the boot part 2165 2165 # and also to support UEFI boot mechanism … … 3537 3537 export MINDI_EXCLUDE_DEVS="${14}" 3538 3538 USE_COMP="${15}" 3539 USE_LILO="${16}" 3540 USE_STAR="${17}" 3541 INTERNAL_TAPE_BLOCK_SIZE="${18}" 3542 DIFFERENTIAL="${19}" 3543 USE_GZIP="${20}" 3544 USE_LZMA="${21}" 3545 NOT_BOOT="${22}" 3546 BOOT_TYPE="${23}" 3539 USE_STAR="${16}" 3540 INTERNAL_TAPE_BLOCK_SIZE="${17}" 3541 DIFFERENTIAL="${18}" 3542 USE_GZIP="${19}" 3543 USE_LZMA="${20}" 3544 BOOT_TYPE="${21}" 3547 3545 [ "$USE_COMP" = "" ] && USE_COMP=yes 3548 3546 [ "$USE_GZIP" = "" ] && USE_GZIP=no 3549 3547 [ "$USE_LZMA" = "" ] && USE_LZMA=no 3550 [ "$NOT_BOOT" = "" ] && NOT_BOOT=no3551 3548 [ "$TAPEDEV" ] && LogAll "INFO: This is a tape-based backup. Fine." 3552 3549 # MONDO_ROOT is the real scratchdir … … 3601 3598 LogFile "DIFFERENTIAL = $DIFFERENTIAL" 3602 3599 LogFile "INTERNAL TAPE BLOCK SIZE = $INTERNAL_TAPE_BLOCK_SIZE" 3603 LogFile "NOT_BOOT = '$NOT_BOOT'"3604 if [ "$NOT_BOOT" != "" ] && [ "$NOT_BOOT" != "0" ] && [ "$NOT_BOOT" != "no" ] ; then3605 LogAll "INFO: Just creating $MRCFG and a small all.tar.gz for Mondo. Nothing else."3606 MakeMondoConfigFile $MINDI_TMP/$MRCFG3607 MakeMountlist $MINDI_TMP/mountlist.txt3608 CheckMountlist $MINDI_TMP/mountlist.txt3609 mkdir -p $MINDI_TMP/small-all/tmp3610 cp -f $MINDI_TMP/{mountlist.txt,$MRCFG,filelist.full.gz,biggielist.txt} $MINDI_TMP/small-all/tmp 2>> $LOGFILE || Die "Cannot copy small all.tar.gz"3611 (cd $MINDI_TMP/small-all ; tar -cv ./tmp | gzip -9 > $MINDI_TMP/all.tar.gz 2>> $MINDI_TMP/$$.log || Die "Cannot make small all.tar.gz" $MINDI_TMP/$$.log)3612 sleep 23613 LogAll "Done. Exiting."3614 MindiExit 03615 fi3616 3600 3617 3601 if [ "$PROMPT_MAKE_USB_IMAGE" = "yes" ] && [ "$USBDEVICE" != "" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.