OpenMediaVault (PINE A64(+)) 4.13.10 [Nov 21] | OpenMediaVault (A64-LTS / SOPINE) 4.13.10 [Nov 21] | Q4OS (PINE A64(+)) 2.4-r1 [Nov 10] | Volumio (ROCK64) 2.299 [Oct 30] | Q4OS (Pinebook) 2.4-r1 [Oct 30] | DietPi (ROCK64) v156 [Oct 24] | Armbian - Xenial Desktop (Pinebook) 5.34 [Oct 24] | motionEyeOS (PINE A64(+)) 20171003 [Oct 23] | Android Images (ROCK64) 20171012 [Oct 23]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


Will the Pine64 boot from a USB Flash drive?
#11
(05-23-2017, 11:57 AM)Luke Wrote:
(05-23-2017, 11:46 AM)alevecchio Wrote: I found this on Raspberry Pi 3. You can change the bootmode to boot directly from USB.
https://github.com/raspberrypi/documenta...des/msd.md
Is this possible on Pine64+?
Does the speed on the USB (maybe with a 3.0 drive on 2.0 interface) is faster than MicroSD cards?

You can move rootfs to a USB 2.0 drive and use that - if its a decent drive then it ought to be considerably faster than an average SD card. As for uboot, to my knowledge it needs to sit on a SD or eMMC. I belive that Lenny wrote up a tutorial long time ago, but couldnt find it ... if someone digs it up then please link it below.

edti: here is a tutorial on how to do it

How to be sure the procedure is working? With df -h it does not show /dev/sda1 as / . I remounted the /tmp/whatever and the files are there. But the system does not seems to be mounting the usb drive.

i made a fresh microsd with armbian to the test.

SOLVED: Armbian doesn't use uEnv.txt to set the root device. It uses armbianEnv.txt with the UUID of the root device. And you dont need to worry about the /boot folder. It will use the one on the USB too.
Reply
#12
(05-23-2017, 11:57 AM)Luke Wrote:
(05-23-2017, 11:46 AM)alevecchio Wrote: I found this on Raspberry Pi 3. You can change the bootmode to boot directly from USB.
https://github.com/raspberrypi/documenta...des/msd.md
Is this possible on Pine64+?
Does the speed on the USB (maybe with a 3.0 drive on 2.0 interface) is faster than MicroSD cards?

You can move rootfs to a USB 2.0 drive and use that - if its a decent drive then it ought to be considerably faster than an average SD card. As for uboot, to my knowledge it needs to sit on a SD or eMMC. I belive that Lenny wrote up a tutorial long time ago, but couldnt find it ... if someone digs it up then please link it below.

edti: here is a tutorial on how to do it

I followed exactly your tutorial but it doesn't boot, at least not to the point where I can use ssh to login as it's headless. I already put the sdcard in Card-Reader to check uEnv.txt and attached the usb sd card to gentoo linux box and mount the main directory. Everything seems to be ok. Parition can be mounted and is readable and seems to contain the rootfs

What else can go wrong?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  short boot time after power-up bongo 7 151 10-31-2017, 08:02 AM
Last Post: bongo
  pine64 failed after 6 months sjk 8 351 10-11-2017, 10:28 AM
Last Post: MarkHaysHarris777
  PINE64/ROCK64 infra receiver power on cserem 1 79 10-06-2017, 07:25 AM
Last Post: MarkHaysHarris777
  No boot-up . Initializing SDRAM fail . Siim 1 75 09-27-2017, 04:20 PM
Last Post: dkryder
  Won't power on/boot -- kickstarter A64 2GB fuzzycuffs 0 122 09-22-2017, 02:09 PM
Last Post: fuzzycuffs
  Pine64 Starter Kit marillionkb5 2 165 09-20-2017, 03:00 AM
Last Post: marillionkb5
  Pine64 1gb running so very slowly Greekislandlover 5 212 08-16-2017, 09:22 PM
Last Post: KNERD
  Pine64(+) will not boot pgarvey 2 164 08-06-2017, 12:38 AM
Last Post: pfeerick
  Pine64 Firewall abasel 3 449 07-03-2017, 02:05 PM
Last Post: zer0sig
  Best OS for Testing PINE64 Bootup? zer0sig 4 259 07-03-2017, 02:00 PM
Last Post: zer0sig

Forum Jump:


Users browsing this thread: 1 Guest(s)