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

[upgrade_path] Changing /boot mount point to /boot/firmware #355

Open
chadek opened this issue Nov 27, 2023 · 3 comments
Open

[upgrade_path] Changing /boot mount point to /boot/firmware #355

chadek opened this issue Nov 27, 2023 · 3 comments

Comments

@chadek
Copy link

chadek commented Nov 27, 2023

Hi, I experienced the reported bug on debian package tracker here which consist in a bad mount point for boot folder when trying to upgrade from bullseye to bookworm. In bullseye mount folder is /boot, trying to upgrade to bookworm, it fails at raspi-firmware package as it expect the boot folder in /boot/firmware instead of /boot. It would be nice to have working upgrade path.

I thought it was an issue in the debian package so I opened a PR in the debian gitlab instance here to fix this issue. But maintainer said it should be reported to raspbian folks. So here I am, hopefully in the right place.

@XECDesign
Copy link
Member

/boot/firmware is the right and expected mount point. This is a change from Bullseye, which is why we recommend starting with a clean install, rather than upgrading.

@chadek
Copy link
Author

chadek commented Nov 27, 2023

If something can be done, I recommend to fix this, I don't think it should be to difficult, you cannot ask users for reinstalling the system every time you need to upgrade... Part of the work is already done in the PR I point to

@MichaIng
Copy link

I started with a script to do this for our 3rd party distro: https://github.com/MichaIng/DietPi/blob/dev/.meta/dietpi-rpi-firmware-migration

It works on our distro only, but you should be able to extract the required steps. When this has been tested sufficiently, I'll create one from it which runs on RPi OS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants