Here are the instructions for replacing LibreELEC.
This should be straight forward, but we'll backup some files just in case.
You will need to plug your USB stick in again, then mount it after getting to the command shell as before:LibreELEC is stored on partitions 17 & 18 (0x11 and 0x12 from installed_os.json). We will copy cmdline.txt to the USB stick as a precautionary measure. (I'm assuming here that your SSD is called /dev/nvme0n1. If it's not, identify its name from the list of installed devices by `ls /dev/*`)You can now remove the USB stick.
You need to delete the fresh libreELEC from your SSD before we replace it.Now take your original SD card with LibreELEC on it and plug it into the RPi's SD card slot and mount itCopy the original contents onto your SSDYou can now remove your original SD card.
LibreELEC uses label names to reference its partitions, so you should be good to go at this point. If not, let me know either way.
This should be straight forward, but we'll backup some files just in case.
You will need to plug your USB stick in again, then mount it after getting to the command shell as before:
Code:
cd /tmpmkdir usbmount /dev/sda1 usbCode:
mkdir 17 18mount /dev/nvme0n1p17 17mount /dev/nvme0n1p18 18mkdir -p /tmp/usb/libreeleccp 17/cmdline.txt usb/libreelecumount usbYou need to delete the fresh libreELEC from your SSD before we replace it.
Code:
cd /tmp/17rm -rf *cd /tmp/18rm -rf *Code:
cd /tmpmkdir System Storagemount /dev/mmcblk0p1 Systemmount /dev/mmcblk0p2 StorageCode:
rsync -avr System/* 17rsync -avr Storage/* 18syncumount 17 18 System StorageLibreELEC uses label names to reference its partitions, so you should be good to go at this point. If not, let me know either way.
Statistics: Posted by procount — Mon Mar 03, 2025 6:20 pm