| Both sides previous revision Previous revision Next revision | Previous revision |
| upgrade_manually [2024/07/26 12:12] – improve the manual upgrade instructions to remove ambiguity atari | upgrade_manually [2025/04/11 16:58] (current) – Removes old URLs lbrpdx |
|---|
| |
| <code> | <code> |
| batocera-upgrade https://batocera.org/upgrades/x86_64/stable/last | batocera-upgrade https://mirrors.o2switch.fr/batocera/x86_64/stable/last |
| </code> | </code> |
| |
| |
| <code> | <code> |
| batocera-upgrade https://mirrors.o2switch.fr/batocera/x86_64/stable/last/archives/36/ | batocera-upgrade https://mirrors.o2switch.fr/batocera/x86_64/stable/36/ |
| </code> | </code> |
| |
| In Batocera **39** and higher, you can manually download the boot.tar.xz file to /userdata/system/upgrades. | In Batocera **39** and higher, you can manually download the boot.tar.xz file to /userdata/system/upgrade. |
| Then type <code>batocera-upgrade manual</code> | Then type <code>batocera-upgrade manual</code> |
| |
| <code> | <code> |
| Starting the upgrade... | Starting the upgrade... |
| url: https://updates.batocera.org/x86_64/stable/last/boot.tar.xz | url: https://mirrors.o2switch.fr/batocera/x86_64/stable/last/boot.tar.xz |
| need to download 1876mb | need to download 1876mb |
| /userdata/system/upgrade/boot.tar.xz 0%[ ] 9.55M 1.82MB/s eta 19m 42s | /userdata/system/upgrade/boot.tar.xz 0%[ ] 9.55M 1.82MB/s eta 19m 42s |
| |
| <code> | <code> |
| /recalbox/scripts/recalbox-upgrade.sh https://batocera.org/upgrades/x86_64/stable/last | /recalbox/scripts/recalbox-upgrade.sh https://mirrors.o2switch.fr/batocera/x86_64/stable/last |
| </code> | </code> |
| |
| === Manually extend the boot partition === | === Manually extend the boot partition === |
| |
| Extend the boot partition of your drive using an advanced tool like [[https://gparted.org/|gparted]] or [[wp>GNOME_Disks|GNOME Disks (a.k.a. gnome-disk-utility)]]. <wrap em>This will likely destroy your userdata partition</wrap>, so back up all your ROMs, saves, configs, etc. first. This is not the recommended method, as it may cause irreversible damage to your drive and it may damage the MBR/GPT table, causing the drive to become unbootable. Consider the other options first or just staying on your current version of Batocera. Batocera **v30** requires at least 6 GB total assigned to the boot partition and 2 GB free space in the userdata partition to be able to use the built-in updater. | Extend the boot partition of your drive using an advanced tool like [[https://gparted.org/|gparted]] or [[wp>GNOME_Disks|GNOME Disks (a.k.a. gnome-disk-utility)]]. <wrap em>This will likely destroy your userdata partition</wrap>, so back up all your ROMs, saves, configs, etc. first. This may cause irreversible damage to your drive and it may damage the MBR/GPT table, causing the drive to become unbootable. Consider the other options or just staying on your current version of Batocera. Batocera **v30** requires at least 6 GB total assigned to the boot partition and 2 GB free space in the userdata partition to be able to use the built-in updater. |
| |
| === Use another computer === | === Use another computer === |
| You can confirm the transfer completed successfully by the presence of the ''batocera.update'' file in the ''boot'' folder of the drive.\\ {{:screenshot_20240726_215100.png?direct&400|}} | You can confirm the transfer completed successfully by the presence of the ''batocera.update'' file in the ''boot'' folder of the drive.\\ {{:screenshot_20240726_215100.png?direct&400|}} |
| </WRAP> | </WRAP> |
| |
| - Replug the Batocera back into your Batocera machine and boot Batocera. <WRAP center round tip> | - Replug the Batocera back into your Batocera machine and boot Batocera. <WRAP center round tip> |
| If Batocera fails to boot, you can restore the data you backed up in step 2. | If Batocera fails to boot, you can restore the data you backed up in step 2. |
| - Run the following command to delete the ''batocera'' file and immediately upgrade: <code>rm -i /boot/boot/batocera && batocera-upgrade</code> Confirm the file you want to delete. <WRAP center round info> | - Run the following command to delete the ''batocera'' file and immediately upgrade: <code>rm -i /boot/boot/batocera && batocera-upgrade</code> Confirm the file you want to delete. <WRAP center round info> |
| You should then get an output that looks like this: <code>Starting the upgrade... | You should then get an output that looks like this: <code>Starting the upgrade... |
| url: https://updates.batocera.org/x86_64/beta/last/boot.tar.xz | url: https://mirrors.o2switch.fr/batocera/x86_64/beta/last/boot.tar.xz |
| need to download 1876mb | need to download 1876mb |
| m/upgrade/boot.tar.xz 0%[ ] 9.55M 1.82MB/s eta 19m 42s</code> | m/upgrade/boot.tar.xz 0%[ ] 9.55M 1.82MB/s eta 19m 42s</code> |