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

[RPi] Bookworm and partition_setup.sh #793

Open
fthiebolt opened this issue Mar 10, 2024 · 1 comment
Open

[RPi] Bookworm and partition_setup.sh #793

fthiebolt opened this issue Mar 10, 2024 · 1 comment

Comments

@fthiebolt
Copy link

Dear ProCount,

I just started upgrading my whole RPi installation in our campus and switching to Bookworm.
Probably a bad idea, i setup an auto installation of our customized Raspbian distribution and i've been hit the 'override.json' telling that if your distrib name is Raspbian, then our custom partition_setup script is not taken into account ...

Ok now, the issue:
Your script https://raw.githubusercontent.com/procount/pinn-os/master/partitions/Raspbian/partition_setup.sh ought to have one additional line:

sed /tmp/2/etc/fstab -i -e "s|^[^#].* /boot/firmware |${part1} /boot/firmware |"

As a workaround, i just renamed our custom Raspbian hence PINN calling our custom partition_setup.sh ... it works
... and generally speaking, your solution is a must have for us when it's about fully automated reinstallation of OS :D

@procount
Copy link
Owner

procount commented Mar 10, 2024

Bookworm is no longer referred to as Raspbian. It was renamed to Raspberry Pi OS quite a while ago.
As a consequence, the PINN installations are now called Raspios_armXXX.
The partition_setup.sh script in there has already been modified to account for both.
Please see for example: https://sourceforge.net/projects/pinn/files/os_next/raspios_arm64/partition_setup.sh/download
This is the way I solved it there:
sed /tmp/2/etc/fstab -i -e "s|^[^#].* /boot|${part1} /boot|" i.e. removal of a couple of spaces, so it caters for both types.

Raspbian is left for the older versions in case people still use them, but you should refer to raspios going forward.

Sorry for the confusion. This caught me out as well when it all changed to follow Debian's way of doing things.

EDIT: Glad to hear you're still making full use of PINN's features! 😄

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

2 participants