Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
upgrade_manually [2024/07/26 12:14] – nothing is not recommended anymore atariupgrade_manually [2026/06/17 20:19] (current) – "Remove the old version first" doesn't work because the disk space is not actually freed up when you delete /boot/boot/batocera on a running system jolting_jolter
Line 20: Line 20:
  
 <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>
  
Line 26: Line 26:
  
 <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>
  
Line 41: Line 41:
 <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/   eta 19m 42s /userdata/system/upgrade/boot.tar.xz     0%[                              ]   9.55M  1.82MB/   eta 19m 42s
Line 49: Line 49:
  
 <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>
  
Line 126: Line 126:
 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.
 </WRAP> </WRAP>
  
-=== Remove the old version first === 
- 
-Remove the old version of Batocera //before// overwriting it with the update. Be aware that by doing this you would have to do this manual workaround every time you need to update. 
-    - Boot into Batocera, [[:access_the_batocera_via_ssh|SSH into it]] or use the file manager's xterm and run the following: <code>mount -o remount,rw /boot</code> 
-    - Backup your ''/boot/boot/batocera'' file to another device or the userdata partition if you have enough space there (''cp /boot/boot/batocera /userdata/system/batocera-backup'', or you can exit the xterm with ''[Alt]''+''[F4]'' and then use the file manager to copy the file to your ''/userdata/system/'' folder) 
-    - 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... 
-url: https://updates.batocera.org/x86_64/beta/last/boot.tar.xz 
-need to download 1876mb 
-m/upgrade/boot.tar.xz     0%[                              ]   9.55M  1.82MB/   eta 19m 42s</code> 
-</WRAP> 
-    - Wait for the upgrade to completely finish, then reboot to apply the changes. <WRAP center round tip> 
-If Batocera fails to boot, you can restore the backup you made in step 2 and then remove it with (replacing the first path if you used a different location for your backup): <code>cp /userdata/system/batocera-backup /boot/boot/batocera && rm /userdata/system/batocera-backup</code> 
-</WRAP> 
  
  • upgrade_manually.1721996049.txt.gz
  • Last modified: 2 years ago
  • by atari