update for NOOBS users
copied from lavolp3's solution if statement checks if NOOBS OS is present by checking for mmcblk0p7 block. Then another cmdline.txt is needed, otherwise system would crash with a kernel panic
This commit is contained in:
parent
3bc8e597bf
commit
4dbba1e363
@ -1,5 +1,9 @@
|
||||
sudo cp -rf ./boot/config-7C-1024x600.txt /boot/config.txt
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
if [ -b /dev/mmcblk0p7 ]; then
|
||||
sudo cp ./usr/cmdline.txt-noobs /boot/cmdline.txt
|
||||
else
|
||||
sudo cp ./usr/cmdline.txt /boot/
|
||||
fi
|
||||
sudo cp ./usr/inittab /etc/
|
||||
sudo cp -rf ./usr/99-fbturbo.conf-HDMI /usr/share/X11/xorg.conf.d/99-fbturbo.conf
|
||||
sudo reboot
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user