Page 1 of 1

Boot from USB

Posted: 07 May 2020, 13:45
by Nick Renti
Hello,
Can I boot my revpi core 3+ from USB device?

Re: Boot from USB

Posted: 08 May 2020, 08:08
by lukas
You mean attach a USB stick and use it as root filesystem?

That might work, though we've never tested it. The /boot partition on the eMMC contains the kernel. And the drivers for the USB host controller, USB hub, USB mass storage devices and ext4/jbd/f2fs filesystems are all built-in (rather than compiled as modules). So simply adding something like "root=/dev/sda1" might already be sufficient if it contains a root filesystem.

Re: Boot from USB

Posted: 08 May 2020, 11:17
by Nick Renti
So, should I add that to config.txt file on the boot folder?

Re: Boot from USB

Posted: 08 May 2020, 11:19
by lukas
To /boot/cmdline.txt actually. Sorry, I forgot to mention that earlier.