hey guys in previous video we explored how we can fix the LibreELEC boot problem with
GParted partition manager and a jump start usb drive in this video i'm going to show you how we can fix
the similar problem for Batocera distro so before we start we need to download a few files
one is the rufus file and the other are the gparted partition manager which will use
rufus to burn it to an external usb drive the third file is the Batocera image itself
once you downloaded all that you can right click and uncompress that to an image file
so i'm using 7zip so i can just right click and say extract here once you've done that you will
have this image file extracted so once you've done that you file rufus and then you select
the gparted partition manager as shown on the screen just click select
and select that iso image and then you can click start to burn that image onto a usb drive
once you finished that you copy that image file is extracted earlier onto this usb drive and then
once you've done that you unplug the usb drive and plug that into your legacy machine
just like what i'm showing you there and then you power that on and start the boot sequence
and then when you see that screen just hit enter all the way and you you should take you to the gparted
manager so we just bring up some uh information of the internal drive it is a gpt petition at the
moment so we want to actually replace that with mbr so what we do is actually go to menu and say
create partition table and then from there you can select a lot of options but we want
msdos for this time so once you've done that as you can see the partition already
changed from gpt to msdos now we fire up the a command prompt so we need to type some commands
the first command we need to type is to escalate our permission to a super user so let's type sudo
su, the second one is to to mount the image on the usb drive to a loop device so just follow
the commands if you missed any of that doesn't matter i'm actually will include that in the video
so as you can see there they already mount the image file to a loop
device is actually this device so we want to see what's the partition size on those
the loop device by issuing the fdisk command as you can see there the the this is actually a
gpt partition and the first partition is a 3 gig msdos partition so we want to create same
partition on the internal drive so we just go over to the gparted partition manager again
just type the 3 gig i normally give it a little bit more and then select the fat32
partition from it and in the second drive we want to give the rest of the space
to the default partition so we just click apply and then just review the commands
on the screen and then we can close it and then once we do that we go over to the command prompt
again and then we use the dd command to copy the partitions data from the usb drive onto the
internal drive just follow that command again doesn't matter if you miss any of that i will
include that in the video description so that will take some time i will skip that to the end
that command very quickly and now you issue another command second command
which will copy the second partition from the usb drive onto the internal drive
so that one is rather quick once you've done that we we need to go back to the
partition manager and then just do a refresh as you can see there's some errors
the error is just meaning there's some unallocated space um which you can double click those
areas and it will show you the error message but we can fix those areas by right click
on this drive partitions and then select check so once you do that as you can see there's a pending
operation so we just click the tick and then we'll start the
check and repair process so as you can see it's actually just running that command so
that command will take some time as well so we just fast forward a little bit to the end
and then
once that done just have a quick look and then just close that as you can see this error has
been fixed so the last command we need to type is the install-mbr so that's we install the master
boot record on the disk so we need that to boot um the drive after we copying all everything
then the last thing we need to do is to take some boxes um there's a boot and lba flags we need to tick
once we've done that then we just need to restart the machine so before we restart
the machine just remember you unplug the usb drive and then just type reboot command and then
let's go through the normal process and we'll pull off from the internal drive so as you can see the
first screen and the second one is the mbr prompt which means you are already booting from mbr disk
and then we're going through the normal installing process so once that done here we go we are in
so we have the Batocera installed successfully and this is pretty easy and straightforward so
thanks for watching and hopefully i'll create more videos in the future right thanks bye