Mirroring my NextcloudPi from the Micro SD to a 2TB M.2 NVME SSD

Hi peoples, I got a new Challenge before me! I now got the Pironman Pi5 Case with M.2 BIP (Hat) to the PCIE of the Raspberry. I need to know how I can mirror all the Data and Boot of the Nextcloud on the 512GB Micro-SD to the 2TB M.2 SSD. The main problem I encountered with another try is, that whilst just 1/1 Mirroring the Data the Partition Sizes of the 512GB Micro-SD are still intact, and the additional 1500GB of the M.2 SSD cannot be used. I hope somebody knows the next steps so I can make it a success.

Thanks for any Ideas getting this Forward! ;D

First look if the HAT (with/without SSD) is installed right and the PasPi5 has detect is - the lspci command should show a line names “PCIE Controller” (or so).
If this is not shown, do ans Update to your EEPROM! This is, because the new Firmware has no config.txt anymore (where formerly the Boot-Order and PCIe was enabled).
There is an article at Armbian SD Karte klonen – www.dev-metal.ch where a way is descibed how to do.
I have done an other way:
First I have imaged a SD-Card (with desktop) and booted from it.
After that I have download the Raspi Imager from the RasPi-HP.
Also from Git download the NCP-Image for RasPi5 (i.e Version 1.55.3).
If you have already a working System with data do a complete Backup incl. NCP-Setup !
Then you can run the (unzipped) Raspi Imager from the other SD-Card (this is because Rasbian has not an Imager in the Repo and not a desktop).
In the Imager you select the RasPi5 and other for the OS.
Select the (unzipped) NCP-Image and the SSD as destination (the SD-Card ist mounted an does not appear!
After that shutdown the RasPi - move out the SD-Card and boot the RasPi.
After that the OS expand the filesystem to the SSD. With the df -h you can view this.
Because my System was new I setuped it.
You can Resore the data from your backup.
If all is working correctly you do not need the SD-Cards (the temporarly Rasbian Image and the ncp card) anymore.

I hope you can understand all of this, because english is not my mothher language (it is german)…

Best regards - Mike

Thank you very much for your Intel. Got my Nextcloud up and running again!! Thankss!! :grin:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.