On Sun, 06 Jul 2025 23:05:48 +0200 John Paul Adrian Glaubitz <[email protected]> wrote:
> On Sun, 2025-07-06 at 15:06 -0500, Cedar Maxwell wrote: > > Continue? [Y/n] y > > (Reading database ... 494570 files and directories currently > > installed.) > > Removing linux-image-6.12.17-powerpc64 (6.12.17-1) ... > > /etc/kernel/postrm.d/initramfs-tools: > > update-initramfs: Deleting /boot/initrd.img-6.12.17-powerpc64 > > /etc/kernel/postrm.d/zz-update-grub: > > /usr/sbin/grub-mkconfig: 274: cannot create /boot/grub/grub.cfg.new: > > Read-only file system > > Your HFS boot filesystem has errors and was mounted read-only. > > You need to install hfsprogs, umount /boot/grub and then run > "fsck.hfs /dev/sda2" where (sda2) is the partition of your HFS > filesystem. (All from memory, please verify the actual paths are > correct). > > There are some bugs in the HFS/HFS+ driver in the Linux kernel which > may have caused this. These bugs are now being worked on by new > maintainers [1]. > > Adrian > > > [1] https://github.com/hfs-linux-kernel/hfs-linux-kernel/issues I experienced this exact problem yesterday when updating my system. Adrian's instructions match with the commands I ran (as root) to get it fixed: umount /boot/grub apt install hfsprogs sudo fsck.hfs /dev/sda2 mount /dev/sda2 /boot/grub -o rw apt upgrade I used `dmesg | tail` to find why remounting with rw didn't work initially. James

