Author Topic: Pi3 can boot from USB... no more SD cards  (Read 1002 times)

Offline z0mbieSt0mp

  • Newbie
  • *
  • Join Date: Oct 2016
  • Location:
  • Posts: 22
  • Kudos: 0

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,854
  • Kudos: 139
Re: Pi3 can boot from USB... no more SD cards
« Reply #1 on: May 30, 2017, 10:16:31 AM »
It might work to manually copy a FPP image from a SD to a USB stick.  You would probably need to modify the /etc/fstab file, but I'm not sure since I haven't tried USB booting.   That page says you can't change it back, so does this force USB booting or does the Pi check the SD first then the USB stick for a  bootable OS?
-
Chris

Offline z0mbieSt0mp

  • Newbie
  • *
  • Join Date: Oct 2016
  • Location:
  • Posts: 22
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #2 on: May 30, 2017, 04:41:44 PM »
I have 3 of them, ane one just corrupted due to a power failure... I might sacrifice one for *experimental* purposes


Experimenting isn't considered bad, so long as you're wearing a lab coat and have a clipboard... at least that's what I keep telling my wife...


She ain't buying that line of BS either... lol

Offline rmp2917

  • Newbie
  • *
  • Join Date: Aug 2014
  • Location:
  • Posts: 16
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #3 on: May 31, 2017, 06:55:13 AM »
It might work to manually copy a FPP image from a SD to a USB stick.  You would probably need to modify the /etc/fstab file, but I'm not sure since I haven't tried USB booting.   That page says you can't change it back, so does this force USB booting or does the Pi check the SD first then the USB stick for a  bootable OS?

It says that once you enable USB boot, you can't undo it and disable it again. It will still boot to SD card first if a bootable SD card is present. So there is no harm in enabling it.

The boot order is:

1. SD
2. Secondary SD
3. NAND
4. SPI
5. USB
6. Ethernet

Offline CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 7,854
  • Kudos: 139
Re: Pi3 can boot from USB... no more SD cards
« Reply #4 on: May 31, 2017, 09:34:17 AM »
It says that once you enable USB boot, you can't undo it and disable it again. It will still boot to SD card first if a bootable SD card is present. So there is no harm in enabling it.

The boot order is:

1. SD
2. Secondary SD
3. NAND
4. SPI
5. USB
6. Ethernet

Do you know if the USB drive shows up as /dev/mmcblk0 or /dev/sda when you are booted off USB?  If it shows up as /dev/mmcblk0 then you wouldn't need to change anything about the FPP image.

Offline rmp2917

  • Newbie
  • *
  • Join Date: Aug 2014
  • Location:
  • Posts: 16
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #5 on: May 31, 2017, 06:05:36 PM »
It shows up as /dev/sda1

Offline jholmes

  • Full Member
  • ***
  • Join Date: Apr 2016
  • Location:
  • Posts: 122
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #6 on: May 31, 2017, 08:01:15 PM »
following

Offline bpos

  • Jr. Member
  • **
  • Join Date: Mar 2015
  • Location:
  • Posts: 55
  • Kudos: 2
Re: Pi3 can boot from USB... no more SD cards
« Reply #7 on: May 31, 2017, 11:51:17 PM »
 I think this would cut down on corruption if this works..  I still believe SD cards are fragile.

Offline danj

  • Full Member
  • ***
  • Join Date: Oct 2013
  • Location:
  • Posts: 243
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #8 on: June 01, 2017, 10:53:35 AM »
following

Offline vipersinu2

  • Jr. Member
  • **
  • Join Date: Nov 2016
  • Location: Central Florida
  • Posts: 60
  • Kudos: 0
Re: Pi
« Reply #9 on: June 04, 2017, 06:25:23 AM »
Following

Online Sawdust

  • Full Member
  • ***
  • Join Date: Nov 2015
  • Location:
  • Posts: 181
  • Kudos: -2
Re: Pi3 can boot from USB... no more SD cards
« Reply #10 on: June 05, 2017, 04:29:28 PM »
Following

Offline bowhunter3125

  • Full Member
  • ***
  • Join Date: Jan 2016
  • Location:
  • Posts: 233
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #11 on: June 05, 2017, 09:49:56 PM »
Sittin on the porch drinking sweet tea watching everyone follow.

Offline z0mbieSt0mp

  • Newbie
  • *
  • Join Date: Oct 2016
  • Location:
  • Posts: 22
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #12 on: June 08, 2017, 05:45:53 AM »
I'm having no luck thus far.


I have tried putting the FPP install files onto the usb AND even restored a back up image of one of my pi's to the USB... neither will boot


I'm going to try and redo the enable usb boot command again... maybe it didn't take?

Offline rmp2917

  • Newbie
  • *
  • Join Date: Aug 2014
  • Location:
  • Posts: 16
  • Kudos: 0
Re: Pi3 can boot from USB... no more SD cards
« Reply #13 on: June 09, 2017, 05:10:11 AM »
I have played with this a little.

I was able to install the latest version of Raspbian on a USB Flash Drive and get it to boot without any issues. I then manually installed FPP on the USB drive. It installed and I was able to open FPP. However, It was very slow and unresponsive. I don't know if this was because I did something wrong or simply because it was on Raspbian Jesse instead of Wheezy.

Copying a working SD card with FPP on it to a USB drive did not work. It would not boot at all.

Copying the FPP image to a blank USB drive did not work. It would not boot at all.

I also tried copying the latest bootcode.bin file to the above images and even tried putting the file on a blank SD card by itself as described in the documentation. However, it still would not fully boot. It would simply freeze up on the rainbow screen.

The documentation says to prepare the /boot directory with up to date boot files by running "sudo apt-get update && sudo apt-get upgrade" unless you are already using the latest version of Raspbian. I did not do this. So, maybe running the update on the SD card before copying it to the USB drive will allow it to work. I will try it when I get a chance.


Offline jnealand

  • Developer
  • ******
  • Join Date: Aug 2013
  • Location: Kennesaw, GA
  • Posts: 1,989
  • Kudos: 36
Re: Pi3 can boot from USB... no more SD cards
« Reply #14 on: June 09, 2017, 12:24:25 PM »
All this work for something that in my opinion has only been a problem for a small number of users.  If you take the time to shut down FPP or at least wait a couple of minutes after a display ends before pulling power very few folks have a problem.  I have multiple Pis and cannot remember corrupting an SD card and I have been using FPP and Pis for 4 years.  Then again YMMV, this is just my opinion.
Jim Nealand
Kennesaw, GA
Lynx, Falcon, XL, FPP

 

Back to top