Hey Community,
i'm using a raspberry pi 3 b+ with arch for arm linux. The installation is several years old but is still running without problems. The system is running entirely from sd card.
What i want to do is to move my data and files to an external usb ssd.
I have two partitions on the sd card:
- /dev/mmcblk0b1 -> /boot
- /dev/mmcblk0b2 -> /
(i'm not sure about the exact device names)
Here is what i have done so far:
- i created the two partitions on the usb ssd
- i copied all data using rsync
- i added program_usb_boot_mode=1 to /boot/config.xml
- i changed /etc/fstab for /boot mounting ( i don't have an entry for rootfs in /etc/fstab)
What is have _not_ done:
- i didn't change any uboot config like boot.txt (because in the boot.txt there is a comment saying there is a autorecognition for the rootfs)
When i remove my sd card -> the pi doesn't boot (it doesn't nothing except that the red led is on. nothing to see on screen)
When i insert my sd card -> pi boots but from old sd, not from usb ssd
When i insert my sd card + interrupt the uboot boot sequence with the any-key ("Hit any key to stop autoboot") and then i enter "run usb_boot" the pi successfully boots from usb ssd.
So why doesn't uboot boot from usb ssd when there is no sd card inserted? To me it seems like the "data movement" was correct, because the pi is bootable from usb ssd.
Do i have to set a env variable for this? And why does the pi nothing without sd card? Without sd card i cannot enter "run usb_boot" because there is no uboot prompt, there is nothing on screen ;(
Can someone help me?
thanks in advance
(and sry for my bad englisch )
EDIT:
I added a screenshot showing the boot process with inserted sd and succeesfully loaded kernel from usb ssd (you can see my run usb_boot command)