[1] https://cdimage.debian.org/cdimage/ports/snapshots/2021-04-14/
Let me know how the image works for you, then I can commit the changes for the grub-installer package to git when we know it works for most people for the time being.
On Apr 14, 2021, at 11:42 PM, Johannes Brakensiek <ml@codingpastor.de> wrote:
this is very great. Thank you very much!
On 14 Apr 2021, at 22:43, John Paul Adrian Glaubitz wrote:
Let me know how the image works for you, then I can commit the changes for >> the grub-installer package to git when we know it works for most people for >> the time being.
Is this meant to work for 32bit only or for ppc64 as well?
Let me know how the image works for you, then I can commit the changes for the grub-installer package to git when we know it works for most people for the time being.
[1] https://salsa.debian.org/installer-team/grub-installer/-/commit/a234f349ef13ddf3d756c4418716f2e6adeba3dc
Hi!
On 4/14/21 10:43 PM, John Paul Adrian Glaubitz wrote:
Let me know how the image works for you, then I can commit the changes
for
the grub-installer package to git when we know it works for most
people for
the time being.
Since I didn't get any feedback but today's image worked for me without
any
problems (except for the known issue with the empty question dialog), I
just
committed the changes to grub-installer to git [1].
Thanks,
Adrian
[1]
https://salsa.debian.org/installer-team/grub-installer/-/commit/a234f349ef13ddf3d756c4418716f2e6adeba3dc
Hi!
Here are the first test images where the installation of GRUB on PowerMacs should finally work properly [1]. It took me quite some time and effort with lots of testing to get the implementation right.
During the partitioning phase, the installer will pop up an empty question dialog. Just answer that dialog with "<NO>" to continue. After that, the installation should complete normally.
The installer now also correctly installs a boot script with an icon that should show up in the OpenFirmware boot menu that can be invoked with the <Option> key after the machine has been powered on.
Let me know how the image works for you, then I can commit the changes for the grub-installer package to git when we know it works for most people for the time being.
If it doesn't work, remember I need the installation log located in /var/log as the file "syslog".
Thanks,
Adrian
[1] https://cdimage.debian.org/cdimage/ports/snapshots/2021-04-14/
On Apr 15, 2021, at 5:14 PM, David VANTYGHEM <david.vantyghem@infolib.re> wrote:
I installed this new version in AQEMU. Now, the installation works well until the end. But after the first reboot, Debian doesn't start : https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/
On Apr 15, 2021, at 5:17 PM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
That’s because your emulator doesn’t support NVRAM emulation. You have to boot from harddisk manually.On Apr 15, 2021, at 5:14 PM, David VANTYGHEM <david.vantyghem@infolib.re> wrote:
I installed this new version in AQEMU. Now, the installation works well until the end. But after the first reboot, Debian doesn't start : https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/
On Apr 15, 2021, at 5:17 PM, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
On Apr 15, 2021, at 5:14 PM, David VANTYGHEMThat’s because your emulator doesn’t support NVRAM emulation. You
<david.vantyghem@infolib.re> wrote:
I installed this new version in AQEMU. Now, the installation works
well until the end. But after the first reboot, Debian doesn't start
: https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/
have to boot from harddisk manually.
Try:
boot hd:2,\\System\Library\CoreServices\BootX
On Apr 15, 2021, at 5:56 PM, David VANTYGHEMHow did you boot the installation ISO? The installed system should be
<david.vantyghem@infolib.re> wrote:
Try:
boot hd:2,\\System\Library\CoreServices\BootX
boot hd:2,\\System\Library\CoreServices\BootX -> No valid state has
been set by load or init-program
boot hd:1,\\System\Library\CoreServices\BootX -> No valid state has
been set by load or init-program
boot hd:0,\\System\Library\CoreServices\BootX -> nothing happens and
in the AQEMU serial console, I've got this message : Not a bootable
ELF image
booted exactly the same way provided that you PowerMac emulation is
accurate.
Adrian
On Apr 15, 2021, at 5:56 PM, David VANTYGHEM <david.vantyghem@infolib.re> wrote:
Try:boot hd:2,\\System\Library\CoreServices\BootX -> No valid state has been set by load or init-program
boot hd:2,\\System\Library\CoreServices\BootX
boot hd:1,\\System\Library\CoreServices\BootX -> No valid state has been set by load or init-program
boot hd:0,\\System\Library\CoreServices\BootX -> nothing happens and in the AQEMU serial console, I've got this message : Not a bootable ELF image
I've got a real grey G3, this model : https://everymac.com/systems/apple/imac/specs/imac_dv_se_500.html#macspecs1
I want to emulate it with qemu before installing Debian on it. Perhaps I should use another option ?
Hello David,
On 4/15/21 10:07 AM, David VANTYGHEM wrote:
Le 15/04/2021 à 18:01, John Paul Adrian Glaubitz a écrit :I don't know anything about the emulator that you are using, but a
To install Debian, I boot from the installation ISO file, mounted on a
On Apr 15, 2021, at 5:56 PM, David VANTYGHEMHow did you boot the installation ISO? The installed system should be
<david.vantyghem@infolib.re> wrote:
Try:boot hd:2,\\System\Library\CoreServices\BootX -> No valid state has
boot hd:2,\\System\Library\CoreServices\BootX
been set by load or init-program
boot hd:1,\\System\Library\CoreServices\BootX -> No valid state has
been set by load or init-program
boot hd:0,\\System\Library\CoreServices\BootX -> nothing happens and
in the AQEMU serial console, I've got this message : Not a bootable
ELF image
booted exactly the same way provided that you PowerMac emulation is
accurate.
Adrian
virtual CDROM : /usr/bin/qemu-system-ppc \
-monitor stdio \
...
-name "Debian + LXDE sur iMac G3" \
-M g3beige
...
PowerMac G3 Beige system is an OldWorld PowerMac, despite the fact that
it has an early version of Open Firmware. A real-hardware G3 Beige
system requires BootX to boot Linux (it can't use Yaboot or GRUB). On a
side note, the first NewWorld PowerMac, the Lombard G3 PowerBook, also apparently can't use GRUB because its Open Firmware is too old (though
Yaboot works ok on this system).
If that information is not relevant here, please disregard.
-Stan Johnson
On 4/15/21 6:40 PM, David VANTYGHEM wrote:
I've got a real grey G3, this model : https://everymac.com/systems/apple/imac/specs/imac_dv_se_500.html#macspecs1Well, that's not a beige G3 but an iMac which is newer.
A beige G3 is this: https://512pixels.net/2012/04/old-mac-of-the-month-beige-powermac-g3/
I want to emulate it with qemu before installing Debian on it. Perhaps I should use another option ?Try changing the emulation to a newer machine type such as the iMac.
On Apr 15, 2021, at 5:14 PM, David VANTYGHEM <david.vantyghem@infolib.re> wrote:That’s because your emulator doesn’t support NVRAM emulation. You have to boot from
I installed this new version in AQEMU. Now, the installation works well until the
end. But after the first reboot, Debian doesn't start :
https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/
harddisk manually.
Try:
boot hd:2,\\System\Library\CoreServices\BootX
To install Debian, I boot from the installation ISO file, mounted on a virtual CDROM
: /usr/bin/qemu-system-ppc \
-monitor stdio \
-k fr \
-machine accel=tcg \
-m 512 \
-drive file="/home/david/Documents/Informatique/Documentation/Macintosh/debian-10.0.0-powerpc-NETINST-1.iso",media=cdrom
\
-drive file="/home/david/Documents/Informatique/Documentation/Macintosh/Debian + LXDE
sur iMac G3.vmdk",if=ide,media=disk \
-*boot once=d*,menu=on \
-net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \
-net user \
-net user,smb=/home/david/Bureau \
-rtc base=localtime \
-name "Debian + LXDE sur iMac G3" \
-M g3beige
On 4/14/21 10:43 PM, John Paul Adrian Glaubitz wrote:
Let me know how the image works for you, then I can commit the changes for >> the grub-installer package to git when we know it works for most people for >> the time being.
Since I didn't get any feedback but today's image worked for me without any problems (except for the known issue with the empty question dialog), I just committed the changes to grub-installer to git [1].
Thanks,
Adrian
Le 15/04/2021 à 18:56, John Paul Adrian Glaubitz a écrit :
On 4/15/21 6:40 PM, David VANTYGHEM wrote:Indeed, I must use -M mac99 option. I'm trying another installation...
I've got a real grey G3, this model :https://everymac.com/systems/apple/imac/specs/imac_dv_se_500.html#macspecs1Well, that's not a beige G3 but an iMac which is newer.
A beige G3 is this:https://512pixels.net/2012/04/old-mac-of-the-month-beige-powermac-g3/
I want to emulate it with qemu before installing Debian on it. Perhaps I should use another option ?Try changing the emulation to a newer machine type such as the iMac.
Let me know how the image works for you, then I can commit the changes
for
the grub-installer package to git when we know it works for most
people for
the time being.
I now found some time to run the install procedure from USB disks (I could boot fine
via `boot ud:\boot\grub\powerpc.elf`). I did a very default install with the preset
partition table. But it failed at installing grub at the end of the installation
procedure. I can see the obvious: It is not correct to install grub to /dev/sdb3 as
this is the partition that was created for swap. But there seems to be even more going wrong:
Hi Adrian,
thanks for your work again!
On 14 Apr 2021, at 22:43, John Paul Adrian Glaubitz wrote:
Let me know how the image works for you, then I can commit the changes
for
the grub-installer package to git when we know it works for most
people for
the time being.
I now found some time to run the install procedure from USB disks (I
could boot fine via `boot ud:\boot\grub\powerpc.elf`). I did a very
default install with the preset partition table. But it failed at
installing grub at the end of the installation procedure. I can see the obvious: It is not correct to install grub to /dev/sdb3 as this is the partition that was created for swap. But there seems to be even more
going wrong:
```
Apr 15 19:52:24 grub-installer: info: Installing grub on '/dev/sdb3'
Apr 15 19:52:24 grub-installer: info: grub-install does not support --no-floppy
Apr 15 19:52:24 grub-installer: info: Running chroot /target
grub-install --macppc-directory=/boot/grub --no-nvram --force
Apr 15 19:52:24 grub-installer: Installing for powerpc-ieee1275 platform.
Apr 15 19:52:25 grub-installer: grub-install: error: filesystem on
/boot/grub is neither HFS nor HFS+
Apr 15 19:52:25 grub-installer: .
Apr 15 19:52:25 grub-installer: error: Running 'grub-install --macppc-directory=/boot/grub --no-nvram --force failed.
Apr 15 19:55:20 main-menu[245]: (process:4796): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Apr 15 19:55:20 main-menu[245]: (process:4796): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Apr 15 19:55:20 main-menu[245]: (process:4796): dpkg-divert: warning: diverting file '/sbin/start-stop-daemon' from an Essential package with rename is dangerous, use --no-rename
Apr 15 19:55:20 main-menu[245]: (process:4796): grub-probe: error:
Apr 15 19:55:20 main-menu[245]: (process:4796):
Apr 15 19:55:20 main-menu[245]: (process:4796): failed to get canonical
path of `/boot/grub'
```
I also see similar behavior. However I simply used the most trivial partition options in the default installer AND with the expert mode and
in both cases I see in partman log :
But that's an issue with how the image was assembled, not with the
changes
per se. I don't need any additional reports on ppc64, I already saw my mistake.
On 4/16/21 8:29 AM, Dennis Clarke wrote:
I also see similar behavior. However I simply used the most trivial
partition options in the default installer AND with the expert mode and
in both cases I see in partman log :
Yes, I made a mistake in the ppc64 image because I couldn't test it here.
But that's an issue with how the image was assembled, not with the changes per se. I don't need any additional reports on ppc64, I already saw my mistake.
Hi!Adrian, thanks for putting all this effort into it. I grab the snapshot,
Here are the first test images where the installation of GRUB on PowerMacs should finally work properly [1]. It took me quite some time and effort with lots of testing to get the implementation right.
The system even booted into grub but than failed with
Welcome to GRUB!
Invalid memory access at %SRR0: 00100cbc %SSR1: 10003030
I haven't seen this kind of error on the list before, so I'm a bit
clueless.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 72:26:33 |
Calls: | 6,657 |
Calls today: | 3 |
Files: | 12,203 |
Messages: | 5,332,304 |
Posted today: | 1 |