Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Advanced users • Re: Running Raspbian from USB Devices : Made Easy

$
0
0
I'm struggling to get this working on my 3B+ - I am able to get to the stage of replicating BOOT/ROOT over to the USB device, but it fails to mount ROOT

Code:

Replicating BOOT/ROOT contents from /dev/mmcblk0 to /dev/sda (this will take a while)BOOT/ROOT contents replicated from /dev/mmcblk0 to /dev/sdamount: /tmp/usb-boot-mnt: mount(2) system call failed: Cannot allocate memory.Unable to mount ROOT partition
this also happens if I choose not to copy over (I did download a copy of raspbian onto the SSD using the raspberry PI imager)

When I rebooted I was still booted from the SD card.

I just loaded a fresh copy of Raspberry Pi OS Bookworm onto an SD card and booted it on a Raspberry Pi 3B+. I then ran usb-boot to copy the running SD card to a 1TB USB SSD, answering 'Yes' to 'Use SD card to boot the USB device (recommended)?':

Code:

Replicating BOOT/ROOT contents from /dev/mmcblk0 to /dev/sda (this will take a while)BOOT/ROOT contents replicated from /dev/mmcblk0 to /dev/sdaSD card must remain in place to boot the USB device
Upon reboot, the Raspberry Pi 3B+ booted the SSD using the SD card and all was normal:

Code:

NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTSsda           8:0    0 931.5G  0 disk├─sda1        8:1    0   512M  0 part└─sda2        8:2    0   931G  0 part /mmcblk0     179:0    0  14.4G  0 disk├─mmcblk0p1 179:1    0   512M  0 part /boot/firmware└─mmcblk0p2 179:2    0  13.9G  0 part

I would need complete details of what you have and what you're doing to investigate your problem further.

Statistics: Posted by RonR — Fri Apr 25, 2025 9:13 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles