Difference between revisions of "User:Coffnix/Raspberry Pi 4/Advanced"

From Funtoo
Jump to navigation Jump to search
(Created page with "=== Boot Raspberry Pi 4 / 400 from USB === Clone source disk (SD card) to a destination USB disk or disk which will be bootable. Ex: {{console|body= ###i## rsync --force -r...")
 
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
}}
}}


 
Change order of boot on EEPROM:
change order of boot on EEPROM:


{{file|body=
{{file|body=
Line 32: Line 31:


Poweroff, remove SD Card and boot only using USB device.
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:
{{console|body=
%raspi%##i## echo -e '#!/bin/sh\niwconfig wlan0 power off' > /etc/local.d/wifi-power.start
%raspi%##i## chmod +x /etc/local.d/wifi-power.start
}}

Latest revision as of 17:38, June 2, 2022

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