bablokb / pi-boot-switch

Boot-Switcher for Raspberry Pi multiboot systems
GNU General Public License v3.0
23 stars 6 forks source link

#6 Fix getting current boot device on Debian bookworm #7

Closed wolkenarchitekt closed 1 year ago

wolkenarchitekt commented 1 year ago

This is a naive and quick fix for https://github.com/bablokb/pi-boot-switch/issues/6 If there is no /boot mount found, try /boot/firmware

bablokb commented 1 year ago

There will be more work to do, e.g. currently a boot-switch copies everything below /boot, and that has to change as well. The challenge will be to support both old partitions and new (Bookworm) partitions.

But as a quick-fix, this is highly welcome :-)