Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| modify_the_system_while_it_s_running [2021/08/27 01:22] – removed boot partition mentions and moved to its own page, not related to overlays atari | modify_the_system_while_it_s_running [2023/04/09 14:10] (current) – [Creating a Batocera filesystem overlay] maximumentropy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Overlays ====== | + | ====== Overlays |
| - | Batocera is like a firmware. It's a huge file named ''/ | + | |
| - | That said, you can utilize overlays | + | Batocera is like a firmware. It's a huge filesystem image at ''/ |
| - | <WRAP center round info 60%> | + | {{batocera_drive_layout.png?1000|An illustration showing how the batocera system is laid out on a USB stick: the BATOCERA partition first, containing all the programs, and then the SHARE, containing all the userdata}} |
| - | The boot partition remounting information has been moved to [[edit_boot_partition|its own page]]. | + | |
| - | </ | + | |
| - | ===== Editing system files ===== | + | Under normal circumstances, |
| - | If you need to edit files to assist | + | |
| - | For modifications to the regular | + | ===== Creating a Batocera |
| - | | + | For modifications to the regular Batocera filesystem, you can directly edit the files in their directory using [[: |
| - | + | ||
| - | This script creates a patch file at ''/ | + | |
| - | <WRAP center round important 50%>**WARNING**: This overlay file is automatically removed at the next upgrade.</ | + | <WRAP center round tip> |
| + | Refer to [[:notable_files|the notable files/ | ||
| + | </ | ||
| - | If you don't use the '' | + | By default, Batocera overlay files are limited to 100 MB. If your modifications are over 100 MB, you can specify |
| - | If you want to remove all your customizations, | + | <WRAP center round important> |
| + | This overlay file is automatically removed at the next upgrade. | ||
| + | </ | ||
| - | By default, Batocera overlay files are limited to 50MB. If your modifications are over 50MB, you can specify | + | <WRAP center round tip> |
| + | To view the contents | ||
| + | |||
| + | < | ||
| + | mount /boot/boot/overlay | ||
| + | find /mnt | ||
| + | umount /mnt | ||
| + | </ | ||
| - | <WRAP center round alert 60%> | ||
| - | This cannot be done for the current (v31) Odroid XU4 version. | ||
| </ | </ | ||
| + | |||
| + | ===== Removing the overlay ===== | ||
| + | |||
| + | Even if you don't use the '' | ||
| ===== Cases when you don't need to modify the system ===== | ===== Cases when you don't need to modify the system ===== | ||
| + | |||
| Some best practices here: | Some best practices here: | ||
| - | * You generally | + | * You don't need to edit ''/ |
| - | * You should not modify ''/ | + | * You should not modify ''/ |
| + | |||
| + | ===== I want to modify something in the boot folder though ===== | ||
| + | |||
| + | The boot partition is mounted with read-only permissions at ''/ | ||
modify_the_system_while_it_s_running.1630027372.txt.gz · Last modified: by atari