Knew that would get your attention.
As you no doubt know the Pi 3 can boot from a USB device with a software modification.
https://www.raspberrypi.org/blog/pi-3-b ... rage-boot/
I did this and then spent a few hours trying all my USB flash drives - none worked - unless you had a FAT 32 formatted SD card with bootcode.bin on it in the SD slot - but what's the point of that?
Read in the Pi forum that pink Silicon Power drives worked - the other ones said to work are the more expensive Samsung and Sandisk brands.
Got an 8 GB pink Silicon Power USB 2.0 and then followed this guide:
https://github.com/raspberrypi/document ... des/msd.md
I now have DietPi running from a USB drive and no SD card in the Pi.
An earlier effort with Raspian Lite also worked but apt-get update / upgrade broke it.
Not sure how useful this will be as I don't think the system is any faster running from USB.
John
Running DietPi on a USB HDD w/o SD
Re: A first for DietPi?
Hi John,
Just you wait lol
Thanks for sharing your results and info, much appreciated.
We have a request for adding SD > USBHDD feature into DietPi, so i'll make a note to check your post in detail when we start work on it: https://github.com/Fourdee/DietPi/issues/509
I'll get you back for thatKnew that would get your attention.

Thanks for sharing your results and info, much appreciated.
We have a request for adding SD > USBHDD feature into DietPi, so i'll make a note to check your post in detail when we start work on it: https://github.com/Fourdee/DietPi/issues/509
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Running DietPi on a USB HDD w/o SD
Hi Fourdee,
I'm not that impressed with this setup as it is very slow and if you try to edit config files with WinSCP it can time out. This may be a feature of the USB flash drive - a cheap brand that I know are slow - but I'll investigate further.
root@Pi3:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 10 MB in 38.38 seconds = 266.83 kB/sec
root@Pi3:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 4 MB in 38.42 seconds = 106.60 kB/sec
Yes very slow. No doubt a USB HD (or Sandisk/Samsung flash drive) would be better but I don't have a spare to try.
John
I'm not that impressed with this setup as it is very slow and if you try to edit config files with WinSCP it can time out. This may be a feature of the USB flash drive - a cheap brand that I know are slow - but I'll investigate further.
root@Pi3:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 10 MB in 38.38 seconds = 266.83 kB/sec
root@Pi3:~# hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 4 MB in 38.42 seconds = 106.60 kB/sec
Yes very slow. No doubt a USB HD (or Sandisk/Samsung flash drive) would be better but I don't have a spare to try.
John
Re: Running DietPi on a USB HDD w/o SD
Replaced with a better power supply - and this was the result - much better.
root@Pi3:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 48 MB in 3.02 seconds = 15.90 MB/sec
root@Pi3:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 66 MB in 3.00 seconds = 21.97 MB/sec
root@Pi3:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 48 MB in 3.02 seconds = 15.90 MB/sec
root@Pi3:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 66 MB in 3.00 seconds = 21.97 MB/sec
Re: Running DietPi on a USB HDD w/o SD
Hi John,johnvick wrote: /dev/sda1:
Timing buffered disk reads: 48 MB in 3.02 seconds = 15.90 MB/sec
root@Pi3:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 66 MB in 3.00 seconds = 21.97 MB/sec
30-35MB/s should be achievable with the RPi 3 USB.
I just tried my Sandisk Ultra fit 32GB with EXT4 format. Its taken a hammering, 1year + of DietPi testing and dietpi-backup and restores: dietpi-config > tools > benchmarks
Think its about time I got a new one lmao.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Running DietPi on a USB HDD w/o SD
I got 12.6 with your test well down on the above figures.
Re: Running DietPi on a USB HDD w/o SD
Got a couple of SanDisk Cruizer Edge 8 GB USB 2.0 drives today (about 1 UK pound each at a store opening) - the Pi3 can boot from these.
Write = 4.4 MB/s | Read = 25.4 MB/s
Write = 4.4 MB/s | Read = 25.4 MB/s
Re: Running DietPi on a USB HDD w/o SD
£1?!? I must be shopping in the wrong place or countryjohnvick wrote:Got a couple of SanDisk Cruizer Edge 8 GB USB 2.0 drives today (about 1 UK pound each at a store opening) - the Pi3 can boot from these.
Write = 4.4 MB/s | Read = 25.4 MB/s

If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Running DietPi on a USB HDD w/o SD
It was a store opening special offer - 100 only - and they weren't selling quickly either!
Incidentally given up running the Pi3 by booting off USB as apt-date update/upgrade broke it - and no real advantage over SD.
John
Incidentally given up running the Pi3 by booting off USB as apt-date update/upgrade broke it - and no real advantage over SD.
John
Re: Running DietPi on a USB HDD w/o SD
hi guys, i'm new to dietpi and try this guide. Everything looks ok, fresh dietpi image boot from external usb ssd drive but startup configuration just broke it. Do you have any sugestion how to resolve this problem?