Make and burn an E2B CD\DVD
You cannot easily make a CD\DVD or ISO from an E2B USB Drive.
These instructions are for experts who know their way around grub4dos menus!
YOU HAVE BEEN WARNED!
Easy2Boot is designed to work when booting from a writeable drive such as a USB Flash drive, SD card or USB Hard Disk. Unless the E2B boot media is writeable under grub4dos, then some (most!) E2B functions won’t work correctly.
You can make an ISO from a working E2B drive which you can then burn as a bootable E2B CD or DVD – but don’t get too excited though because many things won’t work properly and there is a danger you could destroy disk partitions on the system you are booting it on!
- Windows installs – XP via WinPE installs won’t work (XP step1/2 may work but I have not tested them!).
- Many linux ISOs won’t work unless you use a .mnu file which has special cheat codes in it or the ISOBOOT feature – this is because E2B can’t use the partnew command (which it nearly always uses to boot most ISOs) on a CD! Use a .mnu file which does not use the partnew command or rename the file extension to .isoboot so that E2B ‘ISOBOOT’ is used to boot the linux iSO.
- Note that some pre-boot kernels only support a limited number of filesystems (typically FAT32, ext and ISO9660) – using a cheat code may not work if the ISO file is located on an NTFS partition (but it may work when the E2B USB drive is converted to a bootable ISO image as the small ISOs will then be on an ISO9660 CD filesystem).
- Do NOT use any .mnu file which uses the grub4dos partnew command – hd0 will be your internal hard disk and you could erase partitions on your hard disk!
- .imgPTN files won’t work.
- UEFI booting (using .imgPTN image files) is not supported.
- Simple ISOs like KonBoot, dban, plpbt and some WinPE ISOs will work. Hirens Mini XP will work if you use an extension of .isomem (.isoWinvH does not fully work with Mini XP).
The CD\DVD that you make will also support FASTLOAD so it does not have to enumerate all the ISOs each time it boots.
If you are booting linux ISOs, you will need to make a .mnu file for each one if they do not work with ISOBOOT (using a .isoboot file extension).
The grub4dos commands should not use the ‘partnew’ command – instead you need to use ‘cheat codes’ to point linux at the .iso file or the squashfs file.
- Use a ‘small’ distro of linux that does not use a squashfs (.sfs) file such as the FatDog64 ISOs
- Use ‘cheat codes’ to direct linux to your ISO file (e.g. fromiso= or iso-scan/filename= or bootfrom=) in a .mnu file (use the sample .mnu files examples for persistence as a template but remove the persistence code)
- Extract the files from the ISO and direct linux to the folder where they are stored (e.g. using psubdir=) and use a .mnu file
- Use the ISOBOOT feature for supported linux ISOs (or hold down the SHIFT key before selecting the ISO file in the menu)
- See here for examples
Here is how to turn your E2B Flash memory stick into a bootable CD/DVD:
- Make a USB Flash drive (or USB HDD) with E2B
- Add your payload files and test as normal
- (optional) If you want FASTLOAD enabled on your final CD/DVD then copy FASTLOAD.YES to the root of the USB drive
- (optional) If you have FASTLOAD enabled, boot the USB drive on a real system.
Then reboot it to test that it loads the menu from cache correctly. Tip: If possible, write-protect the USB drive to emulate a read-only CD/DVD.
- Run RMPrepUSB and select the USB drive – then select File – Make grub4dos ISO from drive. Choose ‘No’ if asked to make a WinPE ISO. This will make a bootable E2B ISO file.
- (optional) Test the ISO using RMPrepUSB Ctrl+F11 (File – Boot from ISO using QEMU Emulator)
- Burn your ISO (or copy it to a Zalman ZM VE-200/300/400 or IsoStick for testing).
I strongly suggest that you search all the .mnu files that you are using and check that they don’t use the partnew command – otherwise you could accidentally delete a partition on a hard drive when you boot the CD/DVD!
Check there is no references to (hd0) or (hd0,0) or (hd0,1) anywhere.
Test by booting from the ISO file that you make, as a virtual DVD using Virtual Box and check that Virtual Hard disk 0 is not corrupted, before you use the CD\DVD on a real system.
Tip: In the _ISO\MyE2B.cfg file, add set CD=1 – this will force E2B into CD write-protect mode and when booting from USB, E2B will use ISOBOOT to boot linux ISO files (ISOBOOT will also work when booting from a CD).