Friday, 12 May 2017

Add DLC Boot 2016, 2017, 2019 and 2022 to E2B

'DLC Boot 2016 v3.2' .rar file (Build 160727) can be downloaded from the official dlcboot.com site.
As it contains copies of Windows and other licensed utilities, you should ensure you have the appropriate licences (or morals) before you use it however!

DLC2019 video with download links.

See end of page for DLCBoot 2022 .imgPTN instructions.

After unpacking the .rar file, you can run DLCBoot.exe from Windows as Administrator to either create a new bootable USB flash drive (use FAT32 for UEFI x64 booting) or a bootable ISO file or run any of the tools directly.

Run as Admin and click the CD icon to make an .ISO file


If you make a bootable ISO file, be sure to test it before you add it to your E2B drive (e.g. by using RMPrepUSB - Ctrl+F11 to boot it using QEMU or Virtual Box). I had some problems with making a DLC ISO file which turned out to be corrupt and did not boot!

For E2B, to boot from a DLC2016/2017/2019 .iso file, you must keep the original ISO file's file extension as .ISO.

Ensure the filename ends in .q.iso or use DLC2017q.iso or DLC2017_.isoHW.iso (E2B v1.B0+).

The filename can contain spaces.

This works even from a fixed-disk type of USB drive.

You can make a matching .txt file which will also suppress the auto-suggest text automatically.

Mini XP, Win10 32 and Win10 64 + other utils

Hard Disk Tools menu

Note that when you click on the DLC Menu Desktop icon, it seems to search for and mount each ISO file on the E2B drive in turn as Z: using ImDisk, in order to find the DLC ISO file!

This means that if you have several DLC ISO files on the E2B USB drive with \DLCBoot.exe inside them, the first .ISO file that it finds with that file, will be used for the DLC Menu. This means you cannot have more than one DLC .ISO file on your E2B USB drive (or else it may mount and use the wrong ISO!).

Note: You can use the .isowin file extension override if you just want to always boot to the DLC WinPE desktop - e.g. DLCBoot 2017_.isowin.iso. This works for E2B and agFM (Legacy and UEFI) and will load the correct DLC ISO if you have more than one on the E2B drive. If you want to repair a Windows installation, use .isowin01 so that the boot code will be repaired on the internal hard disk and not the USB drive!

DLC can also be run under Windows, however if you simply plug in your E2B USB drive to a Windows system and use Explorer, you cannot run DLCBoot directly from Windows unless you first mount the ISO in Windows.

These issues can be overcome if we create a 'flat-file' .imgPTN file. We can 'switch-in' the .imgPTN file using SWITCH_E2B.exe and then get full access to all the contents and it also allows us to MBR (32&64-bit) and UEFI-boot (64-bit only). We can also switch in the .imgPTN file from the legacy E2B menu or from the legacy\UEFI agFM menu. Use the file extension imgPTN23 so that the UEFI agFM partition is not removed. Then to restore the original E2B Partition 1, you can use the legacy menu or UEFI-boot to agFM on Partition 2 and restore the E2B Partition from the agFM menu (or use SWITCH_E2B.exe on any Windows system).

Making a .imgPTN file (2017-2019)

Use MakePartImage v0.095 or later (May 2019).

Use the DLC Boot GUI to make a new bootable USB Flash drive and test that it works. Now simply drag-and-drop the USB drive icon/letter onto the MPI_FAT32 Desktop shortcut to make a .imgPTN file from the whole USB drive (do not allow to AUTO-CONVERT when prompted).

If you don't have a spare USB flash drive...

After extracting files from the .rar download, drag-and-drop the DLC Boot 2016 v3.2 folder (which will contain just 4 files and 3 folders: EFI, DLC and boot) onto the MPI_FAT32 Desktop shortcut. This will make a 2GB .imgPTN23 file.

You can use the ISO instead to make a .imgPTN file:
1. Drag-and-drop the DLC 2016 ISO file onto the MPI_FAT32 Desktop shortcut
2. Choose a size of at least 2050MB (increase this, if there is insufficient space when it extracts the files from the ISO)
3. Delete the \DLC1\Boot\cd.c32 file (if the file is present, some of the utilities - e.g. change wallpaper, will assume it has booted from a non-writable CD!)

Tip. Use a file extension of .imgPTNauto so that it does not prompt you to switch partitions when you select it, but just loads the CSM menu immediately.

DLC2017/2019 - make a new DLCBoot USB flash drive using the DLCBoot.exe program and then drag-and-drop the USB flash drive Explorer icon onto the MPI_FAT32 Desktop folder shortcut to make a .imgPTN file for E2B.

DLCBoot 2019 ISO to .imgPTN (use MakePartImage v0.095 or later) - if you make the ISO file, you can drag-and-drop this onto the MPI_FAT32 Desktop icon (use Syslinux 603 when prompted, no AUTO-CONVERT, add 1GB+ for extra file space). After switching to new .imgPTN file, you will need to modify \syslinux.cfg file.
Change line:
kernel /DLC1/Boot/menu.c32 append /DLC1/Programs/Dos/Menu/en/CD/isolinux.cfg
to
kernel /DLC1/Boot/menu.c32 append /DLC1/Programs/Dos/Menu/en/USB/syslinux.cfg

DLC2019 has a non-standard menu system. The \dlc1 file is actually grldr and the main grub4dos menu is at /DLC1/Boot/gru4.lst. The English grub4dos menu is at /DLC1/Programs/Dos/Menu/en/USB/menu.lst and the syslinux menu at \DLC1\boot\syslinux.cfg.

If the CSM menu does not load the DLC menu, copy \DLC1\Programs\Dos\Menu\en\USB\menu.lst to \DLC1\menu\menu.lst.

DLC2019 uses syslinux v6.04pre1 which is a Beta version and has bugs (6.04 is not released yet). If the Syslinux menu highlight bar does not work, comment out the menu color unsel line in \DLC1\boot\syslinux.cfg with a # character:

#Mau dong chu khi chua duoc chon
#menu color unsel 1 #ffffff #00000000 none

Use an extension of .imgPTN23 so that the agFM partition is not lost.

DLC Boot 2022 v4

Give the ISO file a _.isowin.iso file extension if you just want to boot to MiniWinPE from Easy2Boot or agFM. Then you will get the Desktop shortcuts and extra Programs.

Some legacy utilities may work if the file has the plain .iso extension and you choose the e2b/partnew boot option, but MiniWinPE will not fully work.

For best compatibility, use a .imgPTN file:

1. Make a .imgPTN23 file by dropping the ISO onto the MPI_FAT32 desktop link (choose syslinux 604 and do not AUTO FIX when prompted) - increase the image size if you will want to add more utilities to the image later. Use latest MPI Tool Kit v0.105 or later.
2. Rename the file to .imgPTN - do not use .imgPTN23 as grub may fail to load (it finds the grub files in Ptn 2 by mistake!).
3. Switch in the new .imgPTN file - the following actions are optional after switching in the image...
4. Edit the background wallpaper jpg at "\boot\grub\themes\dlcboot\background.png" for grub menu and \DLC1\Boot\BackgroundGru4.jpg and BackgroundEN.jpg for syslinux menu if you don't like the horrible yellow background in the legacy menu.

To switch back to the E2B partition 1, run \e2b\Switch_E2B.exe from DLC MiniWinPE OR you can legacy-boot and choose option 0 from the grub4dos CSM menu.

P.S. Ventoy v1.0.75 has problems UEFI-booting from this ISO (legacy boot seems OK).

No comments:

Post a Comment