Changeset 3888 in MondoRescue for branches/3.3/mindi


Ignore:
Timestamp:
Mar 10, 2024, 8:16:15 PM (4 months ago)
Author:
Bruno Cornec
Message:

Remove lilo bootable iso images feature obsolete - Change mondo/mindi interface as a consequence + nonbootable

Location:
branches/3.3/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi/README.uefi

    r3886 r3888  
    4343Shell> bcfg boot dump -v -b
    4444
     45------------------------------
     46From https://unix.stackexchange.com/questions/753773/create-a-uefi-bootable-cd-with-isolinux
     47not specific to CD, but here is general guide how to make syslinux UEFI bootable medium:
     48
     49parted /dev/sdf mklabel gpt
     50parted /dev/sdf mkpart boot fat32 0% 100%
     51parted /dev/sdf set 1 esp on
     52parted /dev/sdf set 1 boot on
     53
     54mkfs.vfat -F 32 /dev/sdf1
     55
     56mount /dev/sdf1 /mnt/tmp/
     57
     58mkdir -p /mnt/tmp/EFI/BOOT/
     59
     60cp /usr/lib/SYSLINUX.EFI/efi64/syslinux.efi /mnt/tmp/EFI/BOOT/BOOTX64.EFI
     61cp /usr/lib/syslinux/modules/efi64/menu.c32 /mnt/tmp/EFI/BOOT/
     62cp /usr/lib/syslinux/modules/efi64/ldlinux.e64  /mnt/tmp/EFI/BOOT/
     63cp /usr/lib/syslinux/modules/efi64/libutil.c32  /mnt/tmp/EFI/BOOT/
     64
     65umount /mnt/tmp/
     66
     67efibootmgr --create --disk /dev/sdf --part 1 --loader /EFI/BOOT/BOOTX64.EFI --label "syslinux" --unicode
     68------------------------------
     69
     70
     71
    4572Please report any problem around that tool to bruno@mondorescue.org
    4673Bruno.
  • branches/3.3/mindi/mindi

    r3887 r3888  
    21612161    # Needs a bigdir variable setup before calling it
    21622162
    2163     # copy (e)lilo/isolinux/grub/whatever stuff into it as well
     2163    # copy lilo/isolinux/grub/whatever stuff into it as well
    21642164    # to get it on the media (in addition to the boot part
    21652165    # and also to support UEFI boot mechanism
     
    35373537        export MINDI_EXCLUDE_DEVS="${14}"
    35383538        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}"
    35473545        [ "$USE_COMP" = "" ] && USE_COMP=yes
    35483546        [ "$USE_GZIP" = "" ] && USE_GZIP=no
    35493547        [ "$USE_LZMA" = "" ] && USE_LZMA=no
    3550         [ "$NOT_BOOT" = "" ] && NOT_BOOT=no
    35513548        [ "$TAPEDEV" ] && LogAll "INFO: This is a tape-based backup. Fine."
    35523549        # MONDO_ROOT is the real scratchdir
     
    36013598LogFile "DIFFERENTIAL = $DIFFERENTIAL"
    36023599LogFile "INTERNAL TAPE BLOCK SIZE = $INTERNAL_TAPE_BLOCK_SIZE"
    3603 LogFile "NOT_BOOT = '$NOT_BOOT'"
    3604 if [ "$NOT_BOOT" != "" ] && [ "$NOT_BOOT" != "0" ] && [ "$NOT_BOOT" != "no" ] ; then
    3605     LogAll "INFO: Just creating $MRCFG and a small all.tar.gz for Mondo. Nothing else."
    3606     MakeMondoConfigFile $MINDI_TMP/$MRCFG
    3607     MakeMountlist $MINDI_TMP/mountlist.txt
    3608     CheckMountlist $MINDI_TMP/mountlist.txt
    3609     mkdir -p $MINDI_TMP/small-all/tmp
    3610     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 2
    3613     LogAll "Done. Exiting."
    3614     MindiExit 0
    3615 fi
    36163600
    36173601if [ "$PROMPT_MAKE_USB_IMAGE" = "yes" ] && [ "$USBDEVICE" != "" ]; then
Note: See TracChangeset for help on using the changeset viewer.