Created
December 6, 2019 22:07
-
-
Save intlabs/fb9b2890e1b4344e9c66072461873eaf to your computer and use it in GitHub Desktop.
rp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rsync -avxHAX --progress /media/harbor/writable/ /media/harbor/root | |
| sed -i '/^LABEL=writable/d' /media/harbor/root/etc/fstab | |
| sed -i '1 i\LABEL=root\t/\txfs\tdefaults\t0\t0' /media/harbor/root/etc/fstab | |
| sed -i 's/root=LABEL=writable/root=LABEL=root/' /media/harbor/system-boot/nobtcmd.txt | |
| sed -i 's/rootfstype=ext4/rootfstype=xfs/' /media/harbor/system-boot/nobtcmd.txt | |
| #see https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931 | |
| echo " usb-storage.quirks=152d:1561:u" >> /media/harbor/system-boot/nobtcmd.txt | |
| #see https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1848790 | |
| echo "total_mem=3072" >> /media/harbor/system-boot/usercfg.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment