Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RaspberryPi OS 32bit desktop install (2nd Nov 2022) PROCESS UPDATE #145

Open
TrystanLea opened this issue Nov 2, 2022 · 0 comments
Open

Comments

@TrystanLea
Copy link
Member

TrystanLea commented Nov 2, 2022

Following https://github.com/openenergymonitor/EmonScripts/blob/master/install/rpi-install.md.

5. cmdline.txt does not contain the line init=/usr/lib/raspi-config/init_resize.sh it instead contains init=/usr/lib/raspberrypi-sys-mods/firstboot. I removed that line instead.

9. A slightly different procedure is required here, rather than copying cmdline2.txt back in place of cmdline.txt we need to add the lineinit=/usr/lib/raspi-config/init_resize.sh just after the quiet entry.

wget https://raw.githubusercontent.com/openenergymonitor/EmonScripts/stable/install/init_resize.sh
chmod +x init_resize.sh
sudo mv init_resize.sh /usr/lib/raspi-config/init_resize.sh

then:

sudo nano /boot/cmdline.txt

the content should look like this after adding the init line:

console=serial0,115200 console=tty1 root=PARTUUID=8e747a6b-02 rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh splash plymouth.ignore-serial-consoles

Save and exit nano, then reboot:

sudo reboot

By not running the new firstboot script we may well be missing some important steps here.. NEEDS INVESTIGATION

Continue with installation process as normal from this point.

I choose to reboot after the system update, that may not be needed but it's probably safer to do so.

Continue install after update with:

cd /opt/openenergymonitor/EmonScripts/install
./main.sh

Enter 'n' for review config and 'n' for reboot the 2nd time around.

Otherwise this completes OK! (Though may need a second reboot if emonhub is not running)

@TrystanLea TrystanLea changed the title RaspberryPi OS 32bit desktop install (2nd Nov 2022) RaspberryPi OS 32bit desktop install (2nd Nov 2022) PROCESS UPDATE Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant