I know the distro is intended to be boot and run from a USB/SDCard but I was wanting to setup
a dual boot system running alongside a Windows XP installation.
I've been experimenting with HDD installs and dual booting from Windows XP using the boot.ini.
As I don't much about the boot stages involved when booting the batocera image from a USB drive.
I'm struggling to find a 100% working solution in booting the /boot/batocera (squashed image?)
directly from HDD using a custom grub boot menu.
I have Windows XP installed on a 8GB FAT32 disk and copied the contents of the batocera.xxx.img
to the root drive C:\ along with recalbox-boot.conf at the root.
Next I booted a linux box and obtained the mbr from the batocera.xxx.img using the command:
dd if=/dev/sdx/batocera.xxx.img of=/dev/sdx/mbr.bin count=1 bs=512
I copied the 512 byte mbr.img to the Windows XP drive C:\ and added this to boot.ini
[operating systems]
multi(0)disk(0)rdisk(0)partition(5)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=OPTIN /FASTDETECT
C:\mbr.bin="Batocera RecalBox"
The above steps result in a black screen with just GRUB _
A 1st failed attempt!
My next step involved using a Super Grub2 disk (https://www.supergrubdisk.org/)
This time the Grub 2 Menu found the Batocera boot folder and associated grub.cfg and
sucessfully booted the /boot/batocera
Not so far into the boot process the Batocera splash screen shown for a few seconds the
went to a black screen. I accessed the console on tty3 to find the following messages:
xauth: file /recalbox/share/system/.Xauthority does not exist
done
/usr/bin/recallog: line 8: echo: write error: No space left on device
/usr/bin/recallog: line 8: echo: write error: No space left on device
INIT: Entering runlevel: 3
PLAY AGAIN
BATOCERA login:
I was able to login using root:linux
Seems that the next stage after booting where the share drive is mounted, this has failed
somewhere along the boot process and not been created. There is enough free space 10GB
and I even created an empty 2GB partition.
I'm puzzled why the batocera image can be written to an empty USB drive and it will successful
mount and partition itself. Also does the boot image use Grub or Grub2 ? and how is the
share partition setup when the image is first booted ?