Topic: Easy2Boot

Date 28/06/2017

By SteveSi

Subject Re: Hide a switched imgPTN

If the .imgPTN is a FAT32 partition, you can add the following lines just below the set VER=0.076 line
# Hide this FAT32 partition from Windows
cat --locate=\x00\x00 --skip=0x2a --length=2 --replace=\xaa\xaa (hd0,0)+1
hide (hd0,0)

This will cause the FAT32 ptn to be hidden from windows but not from linux.
You need to boot to the CSM menu once so the code is run.

See https://www.rmprepusb.com/tutorials/130 for more details

Back