[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

update grub-ieee1275 failed on G5 iMac ppc64



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 <none> 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 <none> 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 <none>
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 <none>
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 grub-ieee1275-bin:ppc64 2.12~rc1-11 2.12~rc1-12 2023-11-14 12:45:10 status half-configured grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-11-14 12:45:10 status unpacked grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-11-14 12:45:10 status half-installed grub-ieee1275-bin:ppc64 2.12~rc1-11
2023-11-14 12:45:12 status unpacked grub-ieee1275-bin:ppc64 2.12~rc1-12

2023-11-14 12:46:30 configure grub-ieee1275-bin:ppc64 2.12~rc1-12 <none>
2023-11-14 12:46:30 status unpacked grub-ieee1275-bin:ppc64 2.12~rc1-12
2023-11-14 12:46:30 status half-configured grub-ieee1275-bin:ppc64 2.12~rc1-12
2023-11-14 12:46:30 status installed grub-ieee1275-bin:ppc64 2.12~rc1-12

2023-11-14 12:46:41 configure grub-ieee1275:ppc64 2.12~rc1-12 <none>
2023-11-14 12:46:41 status unpacked grub-ieee1275:ppc64 2.12~rc1-12
2023-11-14 12:46:41 status half-configured grub-ieee1275:ppc64 2.12~rc1-12


Good to mention that I once did an update-grub much earlier without problems

Nov 03 17:26:43 debian systemd[1]: Starting grub-common.service - Record successful boot for GRUB... Nov 03 17:26:45 debian systemd[1]: grub-common.service: Deactivated successfully. Nov 03 17:26:45 debian systemd[1]: Finished grub-common.service - Record successful boot for GRUB. Nov 03 18:23:27 debian systemd[1]: Unmounting boot-grub.mount - /boot/grub... Nov 03 18:23:27 debian systemd[1]: boot-grub.mount: Deactivated successfully. Nov 03 18:23:27 debian systemd[1]: Unmounted boot-grub.mount - /boot/grub. Nov 04 06:41:50 debian systemd[1]: Mounting boot-grub.mount - /boot/grub...
Nov 04 06:41:51 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 04 06:41:54 debian systemd[1]: Starting grub-common.service - Record successful boot for GRUB... Nov 04 06:41:57 debian systemd[1]: grub-common.service: Deactivated successfully. Nov 04 06:41:57 debian systemd[1]: Finished grub-common.service - Record successful boot for GRUB. Nov 04 06:44:55 debian sudo[1365]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/bin/nano 40_custom Nov 04 06:46:39 debian sudo[1381]: jeroen : TTY=pts/2 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/local/bin/apt install gparted Nov 04 06:52:26 debian sudo[1426]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/sbin/update-grub Nov 04 06:53:00 debian sudo[2004]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/bin/nano 40_custom Nov 04 06:53:19 debian sudo[2008]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/sbin/update-grub Nov 04 06:55:53 debian sudo[2608]: jeroen : TTY=pts/2 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/local/bin/apt install gparted Nov 04 06:56:41 debian sudo[2794]: jeroen : TTY=pts/2 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/sbin/gparted Nov 04 06:57:51 debian sudo[3014]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/bin/nano 40_custom Nov 04 06:58:05 debian sudo[3018]: jeroen : TTY=pts/0 ; PWD=/etc/grub.d ; USER=root ; COMMAND=/usr/sbin/update-grub Nov 04 06:58:55 debian systemd[1]: Unmounting boot-grub.mount - /boot/grub... Nov 04 06:58:55 debian systemd[1]: boot-grub.mount: Deactivated successfully. Nov 04 06:58:55 debian systemd[1]: Unmounted boot-grub.mount - /boot/grub. Nov 04 07:00:52 debian systemd[1]: Mounting boot-grub.mount - /boot/grub...
Nov 04 07:00:52 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 04 07:00:57 debian systemd[1]: Starting grub-common.service - Record successful boot for GRUB... Nov 04 07:00:58 debian systemd[1]: grub-common.service: Deactivated successfully. Nov 04 07:00:58 debian systemd[1]: Finished grub-common.service - Record successful boot for GRUB. Nov 04 07:08:48 debian sudo[1583]: jeroen : TTY=pts/0 ; PWD=/home/jeroen ; USER=root ; COMMAND=/usr/bin/nano /etc/grub.d/40_custom Nov 04 07:12:04 debian sudo[1590]: jeroen : TTY=pts/0 ; PWD=/home/jeroen ; USER=root ; COMMAND=/usr/sbin/update-grub Nov 04 07:13:05 debian systemd[1]: Unmounting boot-grub.mount - /boot/grub... Nov 04 07:13:05 debian systemd[1]: boot-grub.mount: Deactivated successfully. Nov 04 07:13:05 debian systemd[1]: Unmounted boot-grub.mount - /boot/grub. Nov 04 07:14:52 debian systemd[1]: Mounting boot-grub.mount - /boot/grub...
Nov 04 07:14:53 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 04 07:14:57 debian systemd[1]: Starting grub-common.service - Record successful boot for GRUB... Nov 04 07:14:59 debian systemd[1]: grub-common.service: Deactivated successfully. Nov 04 07:14:59 debian systemd[1]: Finished grub-common.service - Record successful boot for GRUB. Nov 04 07:16:56 debian sudo[1428]: jeroen : TTY=pts/0 ; PWD=/home/jeroen ; USER=root ; COMMAND=/usr/bin/nano /etc/grub.d/40_custom Nov 04 07:17:31 debian sudo[1437]: jeroen : TTY=pts/0 ; PWD=/home/jeroen ; USER=root ; COMMAND=/usr/sbin/update-grub Nov 04 07:18:04 debian systemd[1]: Unmounting boot-grub.mount - /boot/grub... Nov 04 07:18:05 debian systemd[1]: boot-grub.mount: Deactivated successfully. Nov 04 07:18:05 debian systemd[1]: Unmounted boot-grub.mount - /boot/grub. Nov 04 07:19:16 debian systemd[1]: Mounting boot-grub.mount - /boot/grub...
Nov 04 07:19:17 debian systemd[1]: Mounted boot-grub.mount - /boot/grub.
Nov 04 07:19:21 debian systemd[1]: Starting grub-common.service - Record successful boot for GRUB... Nov 04 07:19:22 debian systemd[1]: grub-common.service: Deactivated successfully. Nov 04 07:19:22 debian systemd[1]: Finished grub-common.service - Record successful boot for GRUB.
^C


It boots into the system though...

Best regards,
Jeroen Diederen


Reply to: