Steve's blog about RMPrepUSB, Easy2Boot and USB booting and sometimes other stuff too! Don't forget to Subscribe! PDF eBooks here
Visit www.rmprepusb.com for over 140 Tutorials on USB booting or www.easy2boot.xyz for a unique USB multiboot solution.
Saturday, 22 August 2015
Why you should always check for download file corruption!
It is not uncommon to download a large file only to find that it is corrupt. Sometimes the problem is immediately obvious, but sometimes it can leave you scratching your head for hours, before you finally realise that your source file was corrupt!
It is also not uncommon to find that when a large file is copied to a USB drive, the copy did not work correctly and leaves you with a corrupt file. 'Fake' USB drives can also cause this type of symptom.
Downloading a Zip/7Zip/Rar compressed file is usually safe because when you unzip it, you will be warned if it is corrupt, but if you download a .ISO file you should always double-check it!
For instance, I have found file corruption in a large \sources\install.wim caused a problem with Windows failing to boot after a fresh install, but Setup did not complain that the install.wim was corrupt!
It is also not uncommon to find that when a large file is copied to a USB drive, the copy did not work correctly and leaves you with a corrupt file. 'Fake' USB drives can also cause this type of symptom.
Downloading a Zip/7Zip/Rar compressed file is usually safe because when you unzip it, you will be warned if it is corrupt, but if you download a .ISO file you should always double-check it!
For instance, I have found file corruption in a large \sources\install.wim caused a problem with Windows failing to boot after a fresh install, but Setup did not complain that the install.wim was corrupt!
Friday, 21 August 2015
MPI Tool Kit v0.054 available (BitDefender/grub2 bugfix)
Due to a weird issue with one of the files on my system, whenever I used the MPI Tool Kit to convert the BitDefender Rescue CD ISO to a .imgPTN file, it always worked (for me!). However, as no one else would have this 'undeletable' file on their system, it turns out that converting a BitDefender ISO (and probably many other grub2 ISOs) to a .imgPTN file probably did not work for anyone else!
I compared a working .imgPTN file with a non-working one and the problem turned out to be due to the \boot\grub\i386-pc\command.lst file being a binary file (despite having a .lst file extension!), but it was getting corrupted by MPI because it was processed as a text file!
MPI changes some strings (e.g. UUID and volume label, etc.) in some text files, using ssed.exe (a version of sed) .
To fix the problem, I needed to find out if each *.lst file was a text file or a binary file and ignore any binary files.
This proved to be quite tricky as Windows does not seem to have a way to detect if a file is a binary file or not (that I could find).
In the end, I used ssed.exe to find and replace any 00 hex bytes in the file with the characters "ZZXXZZ" and then used the Windows find.exe utility to see if any substitution had taken place.
::check for binary file
ssed "s/\x0/ZZXXZZ/g" "%~1" > sed1.txt
find "ZZXXZZ" sed1.txt > nul
if not errorlevel 1 echo %~nx1 IS A BINARY FILE && goto :quit
Not elegant, but it works!
If you are having trouble getting BitDefender or other grub2 ISOs to work as .imgPTN files, please download the MPI Tool Kit v 0.054 and then run the CreateDesktopShortcuts.cmd script to update your shortcuts to point to the new version.
This version also has improved MBR recovery in case you accidentally trash your E2B drive (for example by accidentally installing grub2 to the MBR and the following sectors). A backup copy of the MBR is now made to the file \e2b\MBR.BIN as soon as you boot to the CSM menu. Once you restore the MBR from this file (by using BootIce or RMPrepUSB - File->Drive), you can re-install grub4dos to the MBR using RMPrepUSB and your E2B USB drive should be operational once again.
I compared a working .imgPTN file with a non-working one and the problem turned out to be due to the \boot\grub\i386-pc\command.lst file being a binary file (despite having a .lst file extension!), but it was getting corrupted by MPI because it was processed as a text file!
MPI changes some strings (e.g. UUID and volume label, etc.) in some text files, using ssed.exe (a version of sed) .
To fix the problem, I needed to find out if each *.lst file was a text file or a binary file and ignore any binary files.
This proved to be quite tricky as Windows does not seem to have a way to detect if a file is a binary file or not (that I could find).
In the end, I used ssed.exe to find and replace any 00 hex bytes in the file with the characters "ZZXXZZ" and then used the Windows find.exe utility to see if any substitution had taken place.
::check for binary file
ssed "s/\x0/ZZXXZZ/g" "%~1" > sed1.txt
find "ZZXXZZ" sed1.txt > nul
if not errorlevel 1 echo %~nx1 IS A BINARY FILE && goto :quit
Not elegant, but it works!
If you are having trouble getting BitDefender or other grub2 ISOs to work as .imgPTN files, please download the MPI Tool Kit v 0.054 and then run the CreateDesktopShortcuts.cmd script to update your shortcuts to point to the new version.
This version also has improved MBR recovery in case you accidentally trash your E2B drive (for example by accidentally installing grub2 to the MBR and the following sectors). A backup copy of the MBR is now made to the file \e2b\MBR.BIN as soon as you boot to the CSM menu. Once you restore the MBR from this file (by using BootIce or RMPrepUSB - File->Drive), you can re-install grub4dos to the MBR using RMPrepUSB and your E2B USB drive should be operational once again.
Thursday, 20 August 2015
Add a full Kali (or multiple linux) installations to your Easy2Boot USB drive using Virtual Box
It is possible to create multiple fully-installed linux installations on a single E2B USB drive by creating image partition files (.imgPTN files).
We can do this by making fake 'blank' partitions on our E2B USb drive (.imgPTNfile) and then using Virtual Box with DavidV's VMUB utility to install linux onto it.
Use the latest MPI Tool Pack (v.0.054 2015-08-21 or later). This includes CSM menu support for grub2/syslinux installations on the 3rd partition.
We can do this by making fake 'blank' partitions on our E2B USb drive (.imgPTNfile) and then using Virtual Box with DavidV's VMUB utility to install linux onto it.
Use the latest MPI Tool Pack (v.0.054 2015-08-21 or later). This includes CSM menu support for grub2/syslinux installations on the 3rd partition.
Wednesday, 19 August 2015
Is your E2B USB drive too slow?
Easy2Boot needs to enumerate all the files in and under the \_ISO\MAINMENU folder when it first boots and also needs to count the files in the \_ISO\WINDOWS folders. Some people find that, on some systems, the wait to display the E2B Main Menu is too long.
Possible causes:
Possible causes:
Monday, 17 August 2015
Hurry - EaseUS ToDo Home Backup free for 48 hours (normally $29)
There is a ToDo Backup Free version
Add BitDefender Rescue ISO to E2B
BitDefender provide a free bootable ISO for scanning and cleaning viruses from systems (details here). This is a very useful tool to add to your E2B USB drive.
Recent versions of the BitDefender AntiVirus rescue ISO use grub and support UEFI x64 booting.
Recent versions of the BitDefender AntiVirus rescue ISO use grub and support UEFI x64 booting.
Monday, 10 August 2015
E2B v1.72BetaK available
SteveL found some problems with 1.72BetaJ and the latest grub4dos
- If 1024x768 bmp used, pressing F8 to reload menu caused screen corruption.
- If use the code line
cat --locate=\x02 --replace=\x00 --skip=0x2073 --length=1 /grldr > nul
in \_ISO\MyE2B.cfg to suppress boot-up messages, it caused payload files to not be detected and thus not added to the Menus.
These issues have been fixed with a new version of \_ISO\e2b\grub\menu.lst.
Friday, 7 August 2015
E2B 1.72BetaJ now available
This version has the latest version of grub4dos 0.4.6a 2015-08-07.
Yaya appears to have fixed the .jpg display problem so that we can use standard 95% quality .jpg files (e.g. as created by MSPaint) as background images.
Please try it and let me know if you find any problems,
The latest version of E2B_Editor will allow you to load .jpg files as a wallpaper as well as .bmp files.
If you want to convert your \_ISO\MyBackground.bmp file to a smaller .jpg file, just load and save it using MSPaint (but keep the filename+extension the same - i.e. MyBackground.bmp or MyBackground.bmp.gz).
P.S. Progressive jpg's, as used by some websites, contain both low-res and hi-res images and are not supported. If you re-save them using MSPaint then they should work OK with E2B/grub4dos.
Yaya appears to have fixed the .jpg display problem so that we can use standard 95% quality .jpg files (e.g. as created by MSPaint) as background images.
Please try it and let me know if you find any problems,
The latest version of E2B_Editor will allow you to load .jpg files as a wallpaper as well as .bmp files.
If you want to convert your \_ISO\MyBackground.bmp file to a smaller .jpg file, just load and save it using MSPaint (but keep the filename+extension the same - i.e. MyBackground.bmp or MyBackground.bmp.gz).
P.S. Progressive jpg's, as used by some websites, contain both low-res and hi-res images and are not supported. If you re-save them using MSPaint then they should work OK with E2B/grub4dos.
Wednesday, 5 August 2015
How to check your CPU cooler using software
Is your heatsink correctly seated onto your CPU? Is the cooling system up to the job?
How would you check that it is correctly fitted and is working correctly?
Many people fall into the trap of measuring the CPU temperature to check that their heatsink and heatsink fan are working correctly. There are many software utilities that will check the internal CPU temperature, such as CPU-Z or RealTemp. For Intel CPUs there is also the Intel Extreme Tuning Utility but this needs to be installed (.Net and drivers) and the system must be restarted.
How would you check that it is correctly fitted and is working correctly?
Many people fall into the trap of measuring the CPU temperature to check that their heatsink and heatsink fan are working correctly. There are many software utilities that will check the internal CPU temperature, such as CPU-Z or RealTemp. For Intel CPUs there is also the Intel Extreme Tuning Utility but this needs to be installed (.Net and drivers) and the system must be restarted.
Intel Extreme Tuning will run a stress test and show you if thermal throttling is occurring (in my case this happened once 100 deg C was reached).
Subscribe to:
Posts (Atom)