Re: Grub failed

2023-11-29 Thread John Paul Adrian Glaubitz
Hi Jeroen! On Wed, 2023-11-29 at 09:02 +0700, Jeroen Diederen wrote: > Apt setup for deb.debian.org/debian-ports failed because the key expired > (B523E5F3FC4E5F2C). This particular key is not expired, it expires 2024: glaubitz@z6:~> gpg --fingerprint B523E5F3FC4E5F2C pub rsa4096 2021-12-30

Re: Grub failed

2023-11-28 Thread Jeroen Diederen
Hi Adrian, I just tried an installation in QEMU with the same image [1] that you used, Apt setup for deb.debian.org/debian-ports failed because the key expired (B523E5F3FC4E5F2C). Grub installation failed for the same reason, hmount was not found, i.e. hfsutils was not present in the

Re: Grub failed

2023-11-28 Thread Jeroen Diederen
Hi Adrian. The strange thing is that I performed many successful installations with the same image of June 8 2023 [1] before, so I don't understand why it is no longer working. That is one thing. I used the default settings. I let the partitioner do automatic partitioning using the whole

Re: Grub failed

2023-11-28 Thread John Paul Adrian Glaubitz
Hi Jeroen! On Wed, 2023-11-29 at 00:14 +0700, Jeroen Diederen wrote: > Good news! Hopefully you can now have a look at the faulty grub > installation within d-i. I can confirm that the image from [1] works for me and installed without any issues. Either you picked on of the images which are

Re: Grub failed

2023-11-28 Thread Jeroen Diederen
Hi Adrian, Good news! Hopefully you can now have a look at the faulty grub installation within d-i. Jeroen John Paul Adrian Glaubitz schreef op 2023-11-28 23:50: On Mon, 2023-11-27 at 14:17 +0100, John Paul Adrian Glaubitz wrote: On Mon, 2023-11-27 at 20:02 +0700, Jeroen Diederen wrote: >

Re: Grub failed

2023-11-28 Thread John Paul Adrian Glaubitz
On Mon, 2023-11-27 at 14:17 +0100, John Paul Adrian Glaubitz wrote: > On Mon, 2023-11-27 at 20:02 +0700, Jeroen Diederen wrote: > > You have to be patient, it will take at least a minute. > > Nope, even after five minutes nothing. I assume a regression in QEMU. FWIW, older images such as [1]

Re: Grub failed

2023-11-27 Thread John Paul Adrian Glaubitz
On Mon, 2023-11-27 at 20:02 +0700, Jeroen Diederen wrote: > You have to be patient, it will take at least a minute. Nope, even after five minutes nothing. I assume a regression in QEMU. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `-GPG: 62FF

Re: Grub failed

2023-11-27 Thread Jeroen Diederen
Hi Adrian, By the way, I am on qemu 6.2 (Ubuntu) https://launchpad.net/ubuntu/+source/qemu/1:6.2+dfsg-2ubuntu6.15 Regards Jeroen John Paul Adrian Glaubitz schreef op 2023-11-27 20:00: Hello! On Mon, 2023-11-27 at 19:40 +0700, Jeroen Diederen wrote: qemu-system-ppc \ -L pc-bios \ -boot

Re: Grub failed

2023-11-27 Thread Jeroen Diederen
You have to be patient, it will take at least a minute. John Paul Adrian Glaubitz schreef op 2023-11-27 20:00: Hello! On Mon, 2023-11-27 at 19:40 +0700, Jeroen Diederen wrote: qemu-system-ppc \ -L pc-bios \ -boot d \ -M mac99 \ -m 2048 \ -prom-env 'auto-boot?=true' \

Re: Grub failed

2023-11-27 Thread John Paul Adrian Glaubitz
Hello! On Mon, 2023-11-27 at 19:40 +0700, Jeroen Diederen wrote: > qemu-system-ppc \ >-L pc-bios \ >-boot d \ >-M mac99 \ >-m 2048 \ >-prom-env 'auto-boot?=true' \ >-prom-env 'boot-args=-v' \ >-drive file=debian-12.0.0-powerpc-NETINST-1.iso,format=raw,media=cdrom > \

Re: Grub failed

2023-11-27 Thread Jeroen Diederen
Hi, I always do it like this. Download this image: https://cdimage.debian.org/cdimage/ports/snapshots/2023-06-18/debian-12.0.0-powerpc-NETINST-1.iso Create a 10G qcow2 disk image debian12.qcow2 then: qemu-system-ppc \ -L pc-bios \ -boot d \ -M mac99 \ -m 2048 \ -prom-env

Re: Grub failed

2023-11-27 Thread John Paul Adrian Glaubitz
Hello! On Mon, 2023-11-27 at 15:58 +0700, Jeroen Diederen wrote: > How are we going to solve the grub installation problem within > debian-installer then? I will have to verify the issue myself. I did a quick test with qemu-ppc but the kernel didn't boot for me. I will try on my iBook G4 later

Re: Grub failed

2023-11-27 Thread Jeroen Diederen
Adrian, How are we going to solve the grub installation problem within debian-installer then? Jeroen John Paul Adrian Glaubitz schreef op 2023-11-26 14:10: On Sun, 2023-11-26 at 07:57 +0700, Jeroen Diederen wrote: Another thing that I now remember is that on one ppc64 machine after

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
On Sun, 2023-11-26 at 07:57 +0700, Jeroen Diederen wrote: > Another thing that I now remember is that on one ppc64 machine > after upgrading grub-ieee1275, I had to do a fsck.hfs, as it somehow > screw up the bootstrap partition. My feeling is that the problem resides > in grub-ieee1275, which

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
On Sun, 2023-11-26 at 07:19 +0700, Jeroen Diederen wrote: > I know that but can’t it be that the grub installation into /boot/grub > with geub-ieee1275 somehow makes the system lose the ability to see > /dev/sda and therefore also unable to invoke hmount? The grub-installer script was not able

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
Another thing that I now remember is that on one ppc64 machine after upgrading grub-ieee1275, I had to do a fsck.hfs, as it somehow screw up the bootstrap partition. My feeling is that the problem resides in grub-ieee1275, which got an upgrade on November 9 (changelog grub2) and was built by

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
I know that but can’t it be that the grub installation into /boot/grub with grub-ieee1275 somehow makes the system lose the ability to see /dev/sda and therefore also unable to invoke hmount? John Paul Adrian Glaubitz schreef op 2023-11-26 03:44: On Sun, 2023-11-26 at 02:57 +0700, Jeroen

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
I know that but can’t it be that the grub installation into /boot/grub with geub-ieee1275 somehow makes the system lose the ability to see /dev/sda and therefore also unable to invoke hmount? John Paul Adrian Glaubitz schreef op 2023-11-26 03:44: On Sun, 2023-11-26 at 02:57 +0700, Jeroen

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
On Sun, 2023-11-26 at 02:57 +0700, Jeroen Diederen wrote: > With the same image I have installed Debian successfully many times, > both powerpc and ppc64. Can’t it have something to do with a change in > grub-ieee1275 lately? No, hfsutils is completely independent of grub-ieee1275 as the

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
With the same image I have installed Debian successfully many times, both powerpc and ppc64. Can’t it have something to do with a change in grub-ieee1275 lately? John Paul Adrian Glaubitz schreef op 2023-11-26 02:52: On Sun, 2023-11-26 at 02:47 +0700, Jeroen Diederen wrote: Another thing I

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
On Sun, 2023-11-26 at 02:47 +0700, Jeroen Diederen wrote: > Another thing I noticed in the log I sent but also when going into a > terminal from the installer menu is that /dev/sda can’t be found after > the grub-install step. You might have taken an image which is missing the hfsprogs and

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
Another thing I noticed in the log I sent but also when going into a terminal from the installer menu is that /dev/sda can’t be found after the grub-install step. John Paul Adrian Glaubitz schreef op 2023-11-25 23:50: On Sat, 2023-11-25 at 16:35 +0100, John Paul Adrian Glaubitz wrote: I

Re: Grub failed

2023-11-25 Thread Jeroen Diederen
That is strange indeed. Has anything else changed? John Paul Adrian Glaubitz schreef op 2023-11-25 23:50: On Sat, 2023-11-25 at 16:35 +0100, John Paul Adrian Glaubitz wrote: I will have to look up again where hfsutils needs to be added to the package lists. I think, it was part of debian-cd.

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
On Sat, 2023-11-25 at 16:35 +0100, John Paul Adrian Glaubitz wrote: > I will have to look up again where hfsutils needs to be added to the > package lists. I think, it was part of debian-cd. It's still there: >

Re: Grub failed

2023-11-25 Thread John Paul Adrian Glaubitz
Hi! On Fri, 2023-11-24 at 10:52 +0700, Jeroen Diederen wrote: > Good morning Adrian, > > # chroot /target > # dpkg -l hfsutils > dpkg-query: no packages found matching hfsutils That explains the problem. As a workaround, one can install hfsutils inside the chroot before choosing to install

Re: Grub failed

2023-11-23 Thread Jeroen Diederen
Good morning Adrian, # chroot /target # dpkg -l hfsutils dpkg-query: no packages found matching hfsutils regards, Jeroen John Paul Adrian Glaubitz schreef op 2023-11-23 21:08: On Thu, 2023-11-23 at 13:13 +0100, John Paul Adrian Glaubitz wrote: > On Nov 23, 2023, at 12:43 PM, Jeroen Diederen

Re: Grub failed

2023-11-23 Thread John Paul Adrian Glaubitz
On Thu, 2023-11-23 at 13:13 +0100, John Paul Adrian Glaubitz wrote: > > > On Nov 23, 2023, at 12:43 PM, Jeroen Diederen wrote: > > > > Nov 23 09:45:09 main-menu[251]: (process:8046): chroot: can't execute > > 'hmount': No such file or directory > > The chroot is missing hfsutils which is why

Re: Grub failed

2023-11-23 Thread John Paul Adrian Glaubitz
> On Nov 23, 2023, at 12:43 PM, Jeroen Diederen wrote: > > Nov 23 09:45:09 main-menu[251]: (process:8046): chroot: can't execute > 'hmount': No such file or directory The chroot is missing hfsutils which is why “hmount” fails. Could be that someone dropped it from the packages list not