Re: update grub-ieee1275 failed on G5 iMac ppc64

2023-11-14 Thread John Paul Adrian Glaubitz
On Tue, 2023-11-14 at 20:16 +0700, Jeroen Diederen wrote:
> Thank you so much.
> I did it on /dev/sda2 though.

Yeah, I forgot whether it was sda1 or sda2. I think it's sda1 on sparc64.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: update grub-ieee1275 failed on G5 iMac ppc64

2023-11-14 Thread Jeroen Diederen

Hi Adrian,

Thank you so much.
I did it on /dev/sda2 though.

Jeroen

John Paul Adrian Glaubitz schreef op 2023-11-14 19:31:

Hello!

On Tue, 2023-11-14 at 17:17 +0700, Jeroen Diederen wrote:

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.


You have to install hfsprogs and run fsck.hfs /dev/sda1 to fix the HFS
filesystem
of your /boot partition.

Adrian




Re: update grub-ieee1275 failed on G5 iMac ppc64

2023-11-14 Thread John Paul Adrian Glaubitz
Hello!

On Tue, 2023-11-14 at 17:17 +0700, Jeroen Diederen wrote:
> 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.

You have to install hfsprogs and run fsck.hfs /dev/sda1 to fix the HFS 
filesystem
of your /boot partition.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



update grub-ieee1275 failed on G5 iMac ppc64

2023-11-14 Thread Jeroen Diederen

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