The best method to move/clone LibreElec to a new (larger) drive

  • Hi,

    What's the best method to move/clone LibreElec to a new/different (potentially bigger) hard drive?

    I tried to copy/clone the main partition using Paragon hard disk manager Mac, it seems I need to re-create the syslinux on the new drive, but not sure how to this.

    I really appreciate if someone can supply a step-by-step method to do this clone to retain LibreElec main partition

    Thanks

  • Use Clonezilla live cd to clone the new drive, then use gparted to expand the main partition.

    Thank you, will give this a try

    I am curious, what would be the advantage in cloning vs. just doing a backup, then a fresh install on the new drive and then restoring backup?

    I was under impression that backup will copy the settings but not the add on? (note: I currently have couple of Dockers applications (e.g. sabnzbd, sonarr), it would be nice if these app can be carried over to the new drive too)

    Another question, if I need to move the movies folder around, should I just:

    1) move the files manually (using ssh or similar method) & re-attach the new folder on kodi gui & run the kodi update process

    OR

    2) there is a simple setting file that I can manually edit the movies location?

  • Another question, if I need to move the movies folder around, should I just:

    1) move the files manually (using ssh or similar method) & re-attach the new folder on kodi gui & run the kodi update process

    OR

    2) there is a simple setting file that I can manually edit the movies location?

    Found the answer myself from Userdata - Official Kodi Wiki , it's located inside ~/.kodi/userdata/sources.xml

  • FYI, editing the sources.xml file will not automatically update the path values in the video and/or music databases.

    Thanks Klojum, in this case, which file should I update to accommodate the changes then (if there is any)?

  • Remove old drive. Clean install LE to the new drive. Connect old drive to USB cable and plug into HTPC, wait for the drives to mount. Stop Kodi, copy over all the stuff you want from the old drive, restart Kodi and all your old config is there. Disconnect old drive, then in a few weeks when nothing went wrong with the new drive you can reformat the old one and use it for backups or something.

    It's usually faster to copy data in a filesystem than make a block-by-block copy of the entire filesystem.