I've recently learnt that Arch ARM is not designed to work being booted from a USB, and can only work from an SD card following the installtion guide on their site (https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3). This is because USB's do not have the /dev/mmcblk0p2
partition that SD cards do, but Arch ARM tries to mount it on boot. When it fails to do so, it drops you into an emergency shell.
So my question is, is it possible to install Arch ARM to a USB such that it can boot? How can I go about doing that?
I've been told to include the contents of cmdline.txt
, /etc/fstab
, fstab -l /dev/mmcblk0'
and the PARTUUID of the USB drive, however I only know how to find /etc/fstab
so some guidance on how to attain the other information would be appreciated.
/ect/fstab
:
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk0p1 /boot vfat defaults 0
Edit - Adding new information:
PARTUUID's
:
sda1: 24da48ba-01
sda2: 24da48ba-02
cmdline.txt
:
root=/dev/mmcblk0p2 rw rootwait console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop
fstab -l /dev/mmcblk0
should have beenfdisk -l /dev/mmcblk0
. If you performed step 2 of the tutorial you should have the information -fdisk -l /dev/sdX
will show this.blkid
command will show PARTUUID's -cmdline.txt
is in the first (FAT32) partition