User:Coffnix/Raspberry Pi 4/Advanced

From Funtoo
< User:Coffnix‎ | Raspberry Pi 4
Revision as of 17:38, June 2, 2022 by Drobbins (talk | contribs) (→‎Boot Raspberry Pi 4 / 400 from USB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Boot Raspberry Pi 4 / 400 from USB

Clone source disk (SD card) to a destination USB disk or disk which will be bootable. Ex:

root # rsync --force -rltWDEHXAgoptx /sdcard/ /pendrive/
root # sync

Configure kernel line to replace SD Card to new disk:

dwc_otg.lpm_enable=0 root=/dev/sda3 rootfstype=ext4 usbhid.mousepoll=0 rootwait consoleblank=0

Change order of boot on EEPROM:

1 = Check SD card
4 = Check USB drive
f = Start again

Replace 0x1 to 0x4 and save.

root # rpi-eeprom-config --edit

Poweroff, remove SD Card and boot only using USB device.


Power saving mode was an issue years ago on older versions of the Raspberry Pi. Some people report Wi-Fi stability issues if power saving mode is active, even in newer versions. To permanently disable power saving mode, if you experience problems:

raspi # echo -e '#!/bin/sh\niwconfig wlan0 power off' > /etc/local.d/wifi-power.start
raspi # chmod +x /etc/local.d/wifi-power.start