Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
dual_boot_ubuntu_batocera.linux [2020/05/25 00:43] – [Configure the Ubuntu grub] lbrpdxdual_boot_ubuntu_batocera.linux [2021/03/30 17:13] – [Batocera partitions] Fixed/added boot flags for boot partition rion
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 +===== Dual boot Batocera and other Linux distributions =====
  
-===== Install Ubuntu =====+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.  
 + 
 +===== Ubuntu Linux ===== 
 +==== Install Ubuntu ====
 Follow your favorite method for the initial Ubuntu install. 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). Once Ubuntu ins installed, make sure the command ''grub-customizer'' is available on your system (it is available from Ubuntu repositories).
  
-===== Batocera partitions =====+==== Batocera partitions ====
 Create 2 consecutive partitions on your hard drive Create 2 consecutive partitions on your hard drive
-  * partition 1 : type = fat32, name = BATOCERA+  * partition 1 : type = fat32, name = BATOCERA, flags = legacy_boot & msftdata
   * partition 2 : type = ext4. It must be created right after the BATOCERA partition.   * partition 2 : type = ext4. It must be created right after the BATOCERA partition.
   * download [[http://batocera.org/upgrades/x86_64/stable/last/boot.tar.xz | boot.tar.xz]] and unzip it on the BATOCERA partition.   * download [[http://batocera.org/upgrades/x86_64/stable/last/boot.tar.xz | boot.tar.xz]] and unzip it on the BATOCERA partition.
  
-===== Configure the Ubuntu grub =====+==== Configure the Ubuntu grub ====
  
 Use ''grub-customizer'': create **new** and write BATOCERA as its name or anything you like, with type "other". Use ''grub-customizer'': create **new** and write BATOCERA as its name or anything you like, with type "other".
Line 25: Line 31:
  
 Save and reboot. Save and reboot.
 +
 +===== Linux Mint =====
 +
 +For other distributions like Linux Mint 19.03, you can use the following method. 
 +
 +==== Install Linux Mint ====
 +Follow your favorite method for the initial Mint install.
 +==== Batocera partitions ====
 +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 [[http://batocera.org/upgrades/x86_64/stable/last/boot.tar.xz | boot.tar.xz]] and unzip it on the BATOCERA partition.
 +
 +==== Configure the grub boot loader ====
 +
 +  $ 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: 3 months ago
  • by lbrpdx