Computer & Technology Guides Guides

How-To Improve Your Raspberry Pi Boot Time On Raspbian Lite

Spread the love

The Raspberry Pi boot time can be pretty bad on a default install of Raspbian Lite. This article will give you some quick tips on how to improve the boot up time without sacrificing performance or convenience and some optional tips if you do not use features such as Bluetooth or Wi-Fi.

Improve Raspberry Pi Boot Time: Non Feature Blocking

Editing the /boot/config.txt with the following changes:

# Disable the splash screen
# Overclock the SD Card from 50 to 100MHz
# This can only be done with at least a UHS Class 1 card
# Set the bootloader delay to 0 seconds. The default is 1s if not specified. 
# Overclock the raspberry pi. This voids its warranty. Make sure you have a good power supply.

Make the kernel output less verbose by adding the “quiet” flag to the kernel command line in file /boot/cmdline.txt

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=32e07f87-02 rootfstype=ext4 elevator=deadline quiet rootwait

Improve Raspberry Pi Boot Time: Feature Blocking

Editing the /boot/config.txt with the following changes:

# Disable bluetooth 
#Disable Wifi 

Disable Services

You can also disable services you do not need. This will completely depend on your desired usage of your Raspberry Pi. For example, if you are running a Pi-hole (Install Pi-hole on Raspbian Lite From Scratch) on your Raspberry Pi you probably do not want to disable the networking or dhcpcd services but disabling keyboard-setup and wifi-country probably will not have any impact. Some examples are below.

sudo systemctl disable dhcpcd.service
sudo systemctl disable networking.service
sudo systemctl disable ssh.service
sudo systemctl disable ntp.service
sudo systemctl disable dphys-swapfile.service
sudo systemctl disable keyboard-setup.service
sudo systemctl disable apt-daily.service
sudo systemctl disable wifi-country.service
sudo systemctl disable hciuart.service
sudo systemctl disable raspi-config.service
sudo systemctl disable avahi-daemon.service
sudo systemctl disable triggerhappy.service

These tips should get your Raspberry Pi boot time down to a much more reasonable level while still providing you the features you need.

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *