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/10 11:15] – added reference picture 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|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}} | + | {{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}} |
| - | 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]]. | + | |
| - | </ | + | |
| - | ===== Editing system files ===== | + | For modifications |
| - | If you need to edit files to assist | + | |
| - | For modifications | + | <WRAP center round tip> |
| + | Refer to [[: | ||
| + | </WRAP> | ||
| - | batocera-save-overlay | + | By default, Batocera |
| - | + | ||
| - | This script creates a patch file at ''/ | + | |
| - | <WRAP center round important | + | <WRAP center round important> |
| + | This overlay file is automatically removed at the next upgrade. | ||
| + | </ | ||
| - | If you don't use the '' | + | <WRAP center round tip> |
| + | To view the contents of the overlay | ||
| - | If you want to remove all your customizations, | + | < |
| + | mount / | ||
| + | find /mnt | ||
| + | umount /mnt | ||
| + | </ | ||
| - | By default, Batocera overlay files are limited to 50MB. If your modifications are over 50MB, you can specify the size of the overlay with the command. Keep always a bit of margin, the overlay will embed a few more files than those you were expecting (some system files created on-the-fly at boot time). For example, if you need to save 120MB of data on the system, you can type '' | ||
| - | |||
| - | <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.1631272557.txt.gz · Last modified: by atari