Hello all,
I tried and apt upgrade and it tried to upgrade grub-ieee1275 on a G5
iMac (ppc64) which failed.
Setting up grub-ieee1275 (2.12~rc1-12) ...
Installing for powerpc-ieee1275 platform.
grub-install: error: cannot backup
`/boot/grub/powerpc-ieee1275/adler32.mod': Read-only file system.
Failed: grub-install --target=powerpc-ieee1275
WARNING: Bootloader is not properly installed, system may not be
bootable
/usr/sbin/grub-mkconfig: 274: cannot create /boot/grub/grub.cfg.new:
Read-only file system
dpkg: error processing package grub-ieee1275 (--configure):
installed grub-ieee1275 package post-installation script subprocess
returned error exit status 2
I also have an error message during boot:
Nov 14 12:09:17 debian systemd[1]: Starting grub-common.service - Record
successful boot for GRUB...
Nov 14 12:09:18 debian grub-editenv[503]: grub-editenv: error: cannot
open `/boot/grub/grubenv': Read-only file system.
Nov 14 12:09:18 debian systemd[1]: grub-common.service: Main process
exited, code=exited, status=1/FAILURE
Nov 14 12:09:18 debian systemd[1]: grub-common.service: Failed with
result 'exit-code'.
Nov 14 12:09:18 debian systemd[1]: Failed to start grub-common.service -
Record successful boot for GRUB.
Nov 14 12:33:22 debian systemd[1]: Unmounting boot-grub.mount -
/boot/grub...
Nov 14 12:33:22 debian systemd[1]: boot-grub.mount: Deactivated
successfully.
Nov 14 12:33:22 debian systemd[1]: Unmounted boot-grub.mount -
/boot/grub.
Nov 14 12:34:33 debian systemd[1]: Mounting boot-grub.mount -
/boot/grub...
Nov 14 12:34:34 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 14 12:34:38 debian systemd[1]: Starting grub-common.service - Record
successful boot for GRUB...
Nov 14 12:34:39 debian grub-editenv[503]: grub-editenv: error: cannot
open `/boot/grub/grubenv': Read-only file system.
Nov 14 12:34:39 debian systemd[1]: grub-common.service: Main process
exited, code=exited, status=1/FAILURE
Nov 14 12:34:39 debian systemd[1]: grub-common.service: Failed with
result 'exit-code'.
Nov 14 12:34:39 debian systemd[1]: Failed to start grub-common.service -
Record successful boot for GRUB.
Nov 14 12:46:20 debian systemd[1]: Starting grub-common.service - Record
successful boot for GRUB...
Nov 14 12:46:20 debian grub-editenv[4805]: grub-editenv: error: cannot
open `/boot/grub/grubenv': Read-only file system.
Nov 14 12:46:20 debian systemd[1]: grub-common.service: Main process
exited, code=exited, status=1/FAILURE
Nov 14 12:46:20 debian systemd[1]: grub-common.service: Failed with
result 'exit-code'.
Nov 14 12:46:20 debian systemd[1]: Failed to start grub-common.service -
Record successful boot for GRUB.
Nov 14 12:56:24 debian systemd[1]: Unmounting boot-grub.mount -
/boot/grub...
Nov 14 12:56:24 debian systemd[1]: boot-grub.mount: Deactivated
successfully.
Nov 14 12:56:24 debian systemd[1]: Unmounted boot-grub.mount -
/boot/grub.
Nov 14 12:57:38 debian systemd[1]: Mounting boot-grub.mount -
/boot/grub...
Nov 14 12:57:38 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 14 12:57:42 debian systemd[1]: Starting grub-common.service - Record
successful boot for GRUB...
Nov 14 12:57:44 debian grub-editenv[498]: grub-editenv: error: cannot
open `/boot/grub/grubenv': Read-only file system.
Nov 14 12:57:44 debian systemd[1]: grub-common.service: Main process
exited, code=exited, status=1/FAILURE
Nov 14 12:57:44 debian systemd[1]: grub-common.service: Failed with
result 'exit-code'.
Nov 14 12:57:44 debian systemd[1]: Failed to start grub-common.service -
Record successful boot for GRUB.
dpkg.log
2023-10-31 17:54:52 install grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-10-31 17:54:52 status half-installed grub-ieee1275-bin:ppc64
2.12~rc1-11
2023-10-31 17:54:53 status unpacked grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-10-31 17:54:54 install grub-ieee1275:ppc64 2.12~rc1-11
2023-10-31 17:54:54 status half-installed grub-ieee1275:ppc64
2.12~rc1-11
2023-10-31 17:54:54 status unpacked grub-ieee1275:ppc64 2.12~rc1-11
2023-10-31 17:54:54 configure grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-10-31 17:54:54 status unpacked grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-10-31 17:54:54 status half-configured grub-ieee1275-bin:ppc64
2.12~rc1-11
2023-10-31 17:54:54 status installed grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-10-31 17:54:55 configure grub-ieee1275:ppc64 2.12~rc1-11
2023-10-31 17:54:55 status unpacked grub-ieee1275:ppc64 2.12~rc1-11
2023-10-31 17:54:55 status half-configured grub-ieee1275:ppc64
2.12~rc1-11
2023-10-31 17:55:04 status installed grub-ieee1275:ppc64 2.12~rc1-11
2023-11-14 12:45:08 upgrade grub-ieee1275:ppc64 2.12~rc1-11 2.12~rc1-12
2023-11-14 12:45:08 status half-configured grub-ieee1275:ppc64
2.12~rc1-11
2023-11-14 12:45:08 status unpacked grub-ieee1275:ppc64 2.12~rc1-11
2023-11-14 12:45:08 status half-installed grub-ieee1275:ppc64
2.12~rc1-11
2023-11-14 12:45:09 status unpacked grub-ieee1275:ppc64 2.12~rc1-12
2023-11-14 12:45:10 upgrade