Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Migrating from 6.1.1 to 7.1.1 on Rpi3

    Your recalbox
    6.1.1 7.1.1 migrating rpi3
    1
    1
    546
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jose1711
      jose1711 last edited by jose1711

      Hello,

      I know that migration from 6.1.1 to 7.x is not officially supported, yet I did not want to reinstall + reconfigure other systems on my SD card (NOOBS - shared with Raspbian and OSMC) hence this is how I did it. Only for advanced users. Warning: make sure you know what the commands are doing, partition device names are only listed as examples - you need to adapt them based on what you see on your system.

      Maybe someone finds this useful and/or will improve it further.

      1. Turn off Raspi, remove SD card and put it into a reader on your (Linux) PC
      2. Unmount all automatically mounted partitions
      3. Make a backup of the card using dd (just in case)
        sudo dd if=/dev/mmcblkXYZ of=~/backup_raspi_sdcard.iso bs=1M
      4. Run gparted, identify the current partitions used by Recalbox (6.1.1)
      5. Delete them (could be that you want to copy SHARE partition contents somewhere but as I am using SHARE on external drive, I skipped this step)
      6. Recreate partitions in now-free space. Important: the partition name index sequence must be continuous (e. g. mmclbk0p10, p11, p12) and the order must match exactly: first RECALBOX (containing kernel, boot files and squash image), then SHARE (roms, games) and then OVERLAY. I used the following layout:
        1G label: RECALBOX fstype: vfat (fat32)
      1.4G label: SHARE fstype: exfat
      257M label: OVERLAY fstype: ext4
      
      1. Format filesystems, use labels
      2. Get recalbox for NOOBS, mount into /mnt
      wget https://upgrade.recalbox.com/latest/noobs/rpi3/recalbox-rpi3.img.xz
      xz -d recalbox-rpi3.img.xz
      sudo mount -o loop,offset=$((512*2048)) recalbox-rpi3.img /mnt
      
      1. Save recalbox data to first created partition
      mkdir /tmp/RECALBOX
      mount /dev/RECALBOX_PARTITION_NAME /tmp/RECALBOX
      rsync -av /mnt/ /tmp/RECALBOX
      
      1. Mount NOOBS SETTINGS partition and edit installed_os.json making sure recalbox partitions are properly pointing to your newly created partitions.
      2. Umount everything, replace SD card from reader and put it back to Raspi
      3. Boot up Raspi, select Recalbox in Noobs menu and wait
      4. After some minutes (once SHARE partition is populated) Recalbox 7.1.x should start
      5. Optionally copy (selectively) data back to SHARE partition from your backup.
      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Want to support us ?

      59
      Online

      98.7k
      Users

      28.1k
      Topics

      187.0k
      Posts

      Copyright © 2021 recalbox.com