Pi 4 + Running ROMS from USB stick
@Chapster5 Did you modify the
/etc/fstabfile to mount the stick ? It's not needed if you use the
@mitu I have the usbromservice installed an ld enabled. Unless I have to modify that file aswell?
@Chapster5 No, you shouldn't, but for some reason the boot process stops because of the USB stick.
Can you remove the stick, see if your system boot, then run the following commands on the command line and post the output:
sudo lsblk -zf cat /etc/fstab cat /boot/cmdline.txt
fstabseems fine. To get access to the system when the error occurs, you should set the
sudo su passwd # enter the new password for user "root"
Then insert the USB stick and - when you get the boot error - you should be able to access the console and run
journalctl -xbto view the logs.
@mitu I apologise in advance for app the links I don't know how to copy and paste to a paste bin dump site so there's a lot of mention of not being able to find a clock then it mentioned the file system a but further down failing to mount it.
Ha, that was interesting, no need to apologize. The error is in the following picture:
Seems like the 1st USB disk partition is mistakenly mounted as
/boot/(well at least tried to mount), instead of the actual
/bootpartition on the SDcard. I wonder if the card and the
/bootpartition have the same
As a workaround, modify
/etc/fstaband, instead of
PARTUUID=9b2d5bc6-01 /boot vfat defaults 0 2
LABEL=boot /boot vfat defaults 0 2
You'll have to use
sudo nano /etc/fstaband edit the file. Make sure you're not adding any extra chars or erasing something else, it's a sensitive file.
After saving the file, reboot with your USB stick inserted.
If everything works ok, then run the following command and post the output (the USB stick must be present):
does this look correct:
It does, but it's missing a partition. Your USB partition is at
/dev/sda5, which is the 1st logical partition, but you also have another primary partition (
/dev/sda1) which might be un-formatted and I assume it was that partition that was causing issues with the boot.
Anyway, all is well when it ends well. Out of curiosity, how did you format the USB drive - did you use Windows or other OS ?
@mitu perfect thank you
I formatted using the USB formatting guide here:
Using FAT32 Format
Plugged the stick in, clicked format and waited haha.