3

I've had a look at these other questions that popped up but I don't think the first really answered any of my needs because it is for a media center. And the second one just has me scared to leave my Pi on all the time making it even more meaningful that I get faster boot times.

I have considered installing the system on a USB and using the SD only to boot. So I am open to any and all suggestions.

This is a demo model of a product we have developed and we know that after we get better hardware we may just have the faster boot time, but not only is this about getting our boot time to under 1 min or 30 sec but is also about learning about what is going on. Maybe many things are starting that should not be starting.

Is there anything I can do to improve boot speed?

Is the Raspberry Pi suitable for running continuously, 24/7?

Spencer
  • 187
  • 1
  • 2
  • 5

2 Answers2

4

First select an SD card with a good 4k random read/write speed, sandisk tend to be good for this.

The following will shave 2-3 seconds off the boot time

edit cmdline.txt to read:

dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootflags=commit=120,data=writeback elevator=deadline noatime nodiratime fastboot data=writeback rootwait quiet

and remove services on boot. I've managed under 20 seconds.

Or use Archlinux, which can easily be made to boot under 10 seconds.

Mike Redrobe
  • 961
  • 7
  • 13
2

You want faster? You have to make a custom kernel. Or you can just use one that somebody made.

Basically all the junk is ripped out, and you are left with basics. Then you add what you need.

myhd
  • 362
  • 1
  • 3
  • 14
Piotr Kula
  • 17,336
  • 6
  • 66
  • 105