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/09/22 11:17] – resized new image 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 ''/ | + | Batocera is like a firmware. It's a huge filesystem image at '' |
| {{batocera_drive_layout.png? | {{batocera_drive_layout.png? | ||
| - | That said, you can utilize overlays to " | + | Under normal circumstances, |
| - | <WRAP center round info 60%> | + | ===== Creating a Batocera filesystem overlay ===== |
| - | The boot partition remounting information has been moved to [[edit_boot_partition|its own page]]. | + | |
| + | For modifications to the regular Batocera filesystem, you can directly edit the files in their directory using [[: | ||
| + | |||
| + | <WRAP center round tip> | ||
| + | Refer to [[: | ||
| </ | </ | ||
| - | ===== Editing system | + | By default, Batocera overlay |
| - | If you need to edit files to assist in making Batocera | + | |
| - | For modifications to the regular Batocera virtual | + | <WRAP center round important> |
| + | This overlay | ||
| + | </WRAP> | ||
| + | |||
| + | <WRAP center round tip> | ||
| + | To view the contents of the overlay independently from the underlying filesystem, it can be mounted in a separate location: | ||
| < | < | ||
| - | batocera-save-overlay | + | mount /boot/boot/overlay |
| + | find /mnt | ||
| + | umount /mnt | ||
| </ | </ | ||
| - | This script creates a patch file at '' | + | </WRAP> |
| - | <WRAP center round important 50%> | + | ===== Removing |
| - | If you don't use the '' | + | Even if you don't use the '' |
| - | If you want to remove all your customizations, | + | ===== Cases when you don't need to modify |
| - | By default, Batocera overlay files are limited | + | Some best practices here: |
| + | * You don't need to edit ''/ | ||
| + | * You should not modify ''/ | ||
| - | <WRAP center round alert 60%> | + | ===== I want to modify something in the boot folder though ===== |
| - | This cannot | + | |
| - | </WRAP> | + | The boot partition is mounted with read-only permissions at ''/ |
| - | ===== Cases when you don't need to modify the system ===== | ||
| - | Some best practices here: | ||
| - | * You generally don't need to edit ''/ | ||
| - | * You should not modify ''/ | ||
modify_the_system_while_it_s_running.1632309456.txt.gz · Last modified: by atari