The most common way of booting Batocera for PC is to use a USB pen drive. You can use it along a dedicated partition on your hard drive to host ROMs, while booting in USB.

However, some people prefer to have Batocera directly installed on the main hard drive, along with another OS. Here are some examples on how to host Batocera with popular Linux distributions like Ubuntu or Linux Mint.

Follow your favorite method for the initial Ubuntu install.

Once Ubuntu ins installed, make sure the command grub-customizer is available on your system (it is available from Ubuntu repositories).

Create 2 consecutive partitions on your hard drive

  • partition 1 : type = fat32, name = BATOCERA
  • partition 2 : type = ext4. It must be created right after the BATOCERA partition.
  • download boot.tar.xz and unzip it on the BATOCERA partition.

Use grub-customizer: create new and write BATOCERA as its name or anything you like, with type “other”.

Then, with gparted, find the UUID from your BATOCERA partition. In the example below, 3377-44C4 is my UUID, don't forget to adapt to yours.

Paste the following code:

insmod fat
search --no-floppy --fs-uuid --set=root 3377-44C4
linux /boot/linux label=BATOCERA console=tty3 quiet loglevel=0 vt.global_cursor_default=0
initrd /boot/initrd.gz

Save and reboot.

For other distributions like Linux Mint 19.03, you can use the following method.

Follow your favorite method for the initial Mint install.

Create 2 consecutive partitions on your hard drive

  • partition 1 : type = fat32, name = BATOCERA
  • partition 2 : type = ext4. It must be created right after the BATOCERA partition.
  • download boot.tar.xz and unzip it on the BATOCERA partition.
$ sudo wget https://​batocera.org/​upgrades/​grub/​15_batocera -O /​etc/​grub.d/​15_batocera
​$ sudo chmod a+x /​etc/​grub.d/​15_batocera
​$ sudo update-grub 	
  ... 
​Image batocera found on 3377-44C4
  ...	
  

Then, reboot.

  • dual_boot_ubuntu_batocera.linux.txt
  • Last modified: 6 months ago
  • by lbrpdx