注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

User:Coffnix/Raspberry Pi 4/Advanced

From Funtoo
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:

   /boot/cmdline.txt
dwc_otg.lpm_enable=0 root=/dev/sda3 rootfstype=ext4 fsck.repair=yes 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.

Wi-Fi

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