Differences

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

Link to this comparison view

Both sides previous revision Previous revision
troubleshooting [2023/11/13 02:23] – [x86/x86_64] remove insane advice about nvidia settings maximumentropytroubleshooting [2023/11/18 00:23] (current) – [x86/x86_64] Legacy boot "Boot error" recovery maximumentropy
Line 219: Line 219:
  
 <-- <--
 +
 +=== Legacy boot ===
 +
 +On x86_64 legacy boot systems, if the file ''/boot/boot/syslinux/ldlinux.sys'' is modified in **any** way, a situation may be created where future modifications of any kind to the ''BATOCERA'' /boot partition (including Batocera version upgrades/downgrades) may trigger a black screen at boot with the message "Boot error".
 +
 +To recover from this:
 +  - Boot from a Linux distribution on another drive (procedure was tested with the live installer''ubuntu-23.10.1-desktop-amd64.iso'')
 +  - Get to a root shell ("Try Ubuntu", start a terminal, ''sudo -i'')
 +  - Attach the Batocera drive, if not already attached
 +  - Ensure that the Batocera boot partition is **not** mounted: ''umount $(blkid -L BATOCERA)''
 +  - Ensure that the "syslinux" package is installed.  For a Debian or Ubuntu system: ''apt install syslinux''
 +  - Reinstall the bootloader (Note: It's OK if this produces warnings like "Hidden (2048) does not match sectors (63)"): ''syslinux -i $(blkid -L BATOCERA) -d /boot/syslinux''
 +
  
 ==== Single board computer (RPi, Odroid, etc.) ==== ==== Single board computer (RPi, Odroid, etc.) ====
  • troubleshooting.txt
  • Last modified: 4 months ago
  • by maximumentropy