This procedure (typo-corrected version) worked for me, to restore my SSD-file-system from eMMC within 15 minutes.
I use nano to edit conf-files in terminal
(doing backup-copies before modifying is always a good idea)
-
df -hconfirm that SSD is mounted at/(root) -
sudo nano /boot/extlinux/extlinux.conf- change:
root=/dev/nvme0n1p1→root=/dev/mmcblk0p1
- change:
- find path for internal storage (e.g. via filemanager):
<path-to-emmc>-
sudo nano <path-to-emmc>/boot/extlinux/extlinux.conf- change:
root=/dev/nvme0n1p1→root=/dev/mmcblk0p1
- change:
-
- sudo reboot
-
df -hconfirm, that eMMC is now mounted at/
-
- format SSD ext4 (e.g. via gnome-disks - quick-format)
- volue name
rootFS, internal disk for use with linux systems only (ext4)
- volue name
- download and extract this zipped script
- the script uses
rsyncto copy and then undoes the manual modifications in the conf-files-
sudo ./change_rootfs_storage_direct-emmc_to_ssd.sh /dev/nvme0n1p1… some minutes
-
- the script uses
sudo reboot-
df -hto check if ssd is correctly mounted as/again