Wednesday, 29 April 2020

How to get Batocera working on your Easy2Boot USB drive

Batocera is a linux-based games emulator + KODI.

Batocera-linux

It can be downloaded as a .img.gz file and it is an image file which is intended to be written to a flash drive or SD card.

Here is how to get it working on your E2B drive:

1. Download the Desktop/Laptop version (x86 or x64) - I downloaded the x64 64-bit one.
2. Use 7zip to extract the vfat.img file
3. Drag-and-drop the vfat.img file onto the MPI Desktop shortcut (NOT the MPI_FAT32 shortcut).
When prompted by MPI, use the default answers (FAT32) but specify a Volume Name of BATOCERA. Syslinux 5 can be used when prompted. It won't hurt to increase the size of the image when asked either.
4. Run Make_Ext.exe on your E2B drive to add a new file named BATOCERA and create a large ext3 file with a Volume Name of SHARE.
The size can be 300MB or more (depending on what extra games or videos, etc. for KODI that you might want).
5. Copy the vfat.imgPTN file to the \_ISO\LINUX folder of your E2B drive.
6. Rename it to BATOCERA.imgPTN.
7. Copy the BATOCERA file to the same folder
8. Now run Make_This_Drive_Contiguous.cmd
9. Run SWITCH_E2B.exe and switch in the new files - accept the default of 0x83 for the partition type. Ignore the Windows complaints about the ext3 partition which it cannot access!
10. Now edit the \batocera-boot.conf file in the root of the new partition and change the autoresize setting from true to false:
# resize the internal partition if needed (disabled automatically once done)
autoresize=false
11. Finally, double-check that the volume name is BATOCERA by right-clicking on the USB drive in Explorer (the 'vfat' one) and choosing Properties. If it says EASY2BOOT then change it to BATOCERA.

Now you can MBR\Legacy boot or UEFI-boot.

If you have E2B+agFM and it has three partitions, you can keep the second partition accessible, however you will need to rename the batocera.imgPTN file to give it a .imgPTN23 file extension and you will need to place the batocera file on the third partition.

Ptn1: \_ISO\LINUX\Batocera.imgPTN23
Ptn2: (agFM files)
Ptn3: \Batocera

Note: If you just use the .imgPTN23 file extension but do not move the Batocera file to the third partition, then it will not UEFI-boot.

Note: agFM v1.47 has a problem with .imgPTN files - use a newer version!




No comments:

Post a comment