-
-
Notifications
You must be signed in to change notification settings - Fork 28
Raspi5 - Cloning from PCI NVMe to SD card slot. Raspi do not boot (B1) from SD card. #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please see #44 and try the workaround. |
I'm just working on this nasty issue and I was able to fix the issue when I ran rpi-clone a second time. Unfortunately I can't reproduce the issue reliable which is quite disappointing 😞 Please try again but don't use |
Without -f2, it is not able to clone. ~# rpi-clone -v mmcblk0 Booted disk: nvme0n1 500.1GB Destination disk: mmcblk0 63.6GBPart Size FS Label Part Size FS Label
|
: Larger destination disk.. |
---|
Good catch 👍 Looks like I should also try a clone to a smaller device to reproduce the issue. I'm unfortunately no longer able to reproduce this issue. It's a really ugly issue ... |
=> rsync // /mnt/clone with-root-excludes... is it good? in other hand, should i edit some file? fstab, etc... i read that in previous versions some files (cmdline.txt, config.txt) were saved in /boot folder and at the current version these files are saved in /boot/firmware. could be it the root of this issue? |
No.
Yes unfortunately 😢 It seems to be an issue with the target device speed and/or other Kernel used and the fact RPi5 is faster than a RPi4. |
@Manu-65 Do you remember what you did in order to get it to succeed? Just tried multiple times or what else? |
@framps just tried multiple times, in the last try the only difference was introducing -v in the command... rpi-clone -v -f2 mmcblk0 and two reboots. |
@framps Thanks for your feedback |
Hello,
i have a raspi5 with nvme pci hat.
At the current the raspi5 is booting from nvme (no SD card inserted in raspi slot)
I would like to clone the nvme to SD card, then i inserted a SD card.
I launched rpi-clone but after that raspi5 is not booting from the SD card (boot order is B1, Boot from SD Card before trying NVMe...)
I am not familiar with rpi-clone command (i'm beginner...)
I tried the next commands:
~# rpi-clone -f2 mmcblk0
and
~# rpi-clone -f2 -l mmcblk0
i'm not sure what i'm doing...
which command options should i use?
Any idea?
Thanks
Manuel
~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mmcblk0 179:0 0 59.2G 0 disk
├─mmcblk0p1 179:1 0 512M 0 part
└─mmcblk0p2 179:2 0 58.7G 0 part
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/firmware
├─nvme0n1p2 259:2 0 58.7G 0 part /
├─nvme0n1p3 259:3 0 58.7G 0 part /mnt/pve/backup
└─nvme0n1p4 259:4 0 347.8G 0 part /mnt/pve/datastore
~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
The text was updated successfully, but these errors were encountered: