Author Topic: Boot Raspberry pi 3 from a usb drive  (Read 313 times)

Offline fox

  • Posting Member
  • Sr. Member
  • *
  • Posts: 494
    • View Profile
Boot Raspberry pi 3 from a usb drive
« on: March 03, 2017, 07:31:57 am »
This article in maketecheasier provides a nice set of instructions for how to boot up the Rpi 3 from an external drive. It assumes that you are using Pixel. It is very easy to follow, and is easily adaptable to other Rpi distros. It involves copying over your file to the usb drive you want to use and then making minor changes to two config files. The config changes are the same ones I made on Berryboot to get my pi to boot from a usb pendrive.
Ubuntu 17.10 on 2011 iMac
Linux Mint Cinnamon 18.3 on "late 2015" 5k iMac
Ubuntu 16.04 (Unity, Gnome) and Arch on Dell XPS 13 (4gb RAM, 250gb SSD)

Offline ssfc72

  • Posting Member
  • Sr. Member
  • *
  • Posts: 416
    • View Profile
Re: Boot Raspberry pi 3 from a usb drive
« Reply #1 on: March 04, 2017, 05:54:33 am »
Mike, does instatlling Raspberry to a usb drive (even a thumb drive) speed up the operation of the OS or just the boot process?

I wonder because once the OS gets loaded into the Raspberry memory, then maybe the usb drive is not used that much, to speed things up?
Mint 18.3 on an HP Pavilion X360, 11" k120ca notebook
Cellphone ZTE Axon 7 Mini, PCMobile pay as you go

Offline fox

  • Posting Member
  • Sr. Member
  • *
  • Posts: 494
    • View Profile
Re: Boot Raspberry pi 3 from a usb drive
« Reply #2 on: March 04, 2017, 08:20:33 am »
My experience is that putting the system on a usb drive markedly increases responsiveness. This probably wouldn't be as noticeable on a straight media server distro like LibreELEC, but definitely on Debian Pixel and Ubuntu Mate. First of all, applications are present wherever the OS is. So if you click on an application, even the one that opens files, it has to read the content and load it before it's even in RAM. And every usb device I tried read at 2-3x the speed of the SD card. Also, the pi has only 1 gb RAM and 1/4 to 1/3 of this is used by the OS. If you then open up a few applications, the content in RAM has to be exchanged with the drive where the information is stored, again affecting the responsiveness of the system. There are probably SD cards that can read and write at the same speed as a good usb pendrive or HD connected to a usb 2 port, but they would be expensive. Just wait until the pi contains usb 3 ports! One can already find them on a $30 (US) board, the just-announced nano pi m1 plus.
Ubuntu 17.10 on 2011 iMac
Linux Mint Cinnamon 18.3 on "late 2015" 5k iMac
Ubuntu 16.04 (Unity, Gnome) and Arch on Dell XPS 13 (4gb RAM, 250gb SSD)

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 683
    • View Profile
Re: Boot Raspberry pi 3 from a usb drive
« Reply #3 on: March 14, 2017, 01:19:24 pm »
Just wait until the pi contains usb 3 ports! One can already find them on a $30 (US) board, the just-announced nano pi m1 plus.

It has a USB 3 port? I didn't see that in the specs for the NanoPi M1 Plus.

In any case, the 8 GB eMMC storage is an interesting feature.
Primary: Desktop Tower with Linux Mint 18.2 Cinnamon on Intel Core i5-3470 3.2 Ghz with 12 GB RAM, 64 GB SSD for OSes, 4 TB RAID 10 array for programs and data and Geforce GT 640 video

Secondary: Toshiba Satellite Z830-00K Ultrabook w/ Intel i3-2367M processor– 1.4 GHz, 4GB DDR3, 128GB SSD

Offline fox

  • Posting Member
  • Sr. Member
  • *
  • Posts: 494
    • View Profile
Re: Boot Raspberry pi 3 from a usb drive
« Reply #4 on: March 14, 2017, 06:54:52 pm »
Hmmn. You are right, Jason. Not sure now whether it was another single board computer or I just didn't have my glasses on when I read the nano pi text.  :P
Ubuntu 17.10 on 2011 iMac
Linux Mint Cinnamon 18.3 on "late 2015" 5k iMac
Ubuntu 16.04 (Unity, Gnome) and Arch on Dell XPS 13 (4gb RAM, 250gb SSD)

 

SMF spam blocked by CleanTalk