I am trying to get Arch on a USB thumb drive and have gotten pretty close.
I have managed to get it booting to USB by LABEL, I get dumped out into the rdinit environment with the message:
ERROR: Failed to mount real root device
Bailing out, you're on your own. Good luck.
/bin/sh: can't access tty; job control turned off
mount: mounting /dev/disk/by-label/USB-SYSTEM on new_root failed: no such device
But If I list /.../by-label the device is there.
[RAMFS /]# ls /dev/disk/by-label/
BOOT HOME SWAP SYSTEM USB-BOOT USB-SWAP USB-SYSTEM
Also while in initrd environment:
[RAMFS /]# blkid
/dev/sda1: LABEL="BOOT" UUID="d71a5da8-fbdd-4ab9-ba5a-fa2adcda137b" TYPE="ext2"
/dev/sda2: LABEL="SWAP" UUID="3a437fef-b143-4626-a74c-2332d3a83470" TYPE="swap"
/dev/sda3: LABEL="SYSTEM" UUID="702e29ad-3f8a-4590-9c97-36a4f0b0262b" TYPE="ext4"
/dev/sda4: LABEL="HOME" UUID="2ef17520-7602-4855-acee-331535fdb0c7" TYPE="ext4"
/dev/sdb1: LABEL="USB-BOOT" UUID="3a563c48-850d-410a-afb9-bcd01ed567a5" TYPE="ext2"
/dev/sdb2: LABEL="USB-SWAP" UUID="980f4f7e-24a2-4347-8595-c61d8f72accf" TYPE="swap"
/dev/sdb3: LABEL="USB-SYSTEM" UUID="b6d09c53-aed8-494e-b017-df4c3c66b64b" TYPE="ext2"
lists all partitions, that is USB and hard drive, but attempting to manually mount sdbn
(USB partitions) failed.
[RAMFS /]# mount /dev/sdb3 /new_root
mount: mounting /dev/sdb3 on /new_root failed: no such device
I'm not sure what to do to continue. Suggestions are appreciated.