User:Coffnix/Raspberry Pi 4/Advanced

From Funtoo
< User:Coffnix‎ | Raspberry Pi 4
Revision as of 17:35, June 2, 2022 by Drobbins (talk | contribs) (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...")
(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:

   /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.