• Update Debian Ports installation images 2021-04-14

    From John Paul Adrian Glaubitz@21:1/5 to All on Wed Apr 14 22:50:02 2021
    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/

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Brakensiek@21:1/5 to John Paul Adrian Glaubitz on Wed Apr 14 23:50:01 2021
    Hi Adrian,

    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?

    Thanks
    Johannes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Apr 15 00:00:02 2021
    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?

    Both, of course. The limitation to 32-bit applied to implementation and testing phase only.

    I have not tested yet on ppc64, but it *should* work.

    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John Paul Adrian Glaubitz on Thu Apr 15 09:00:02 2021
    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

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeroen Diederen@21:1/5 to John Paul Adrian Glaubitz on Thu Apr 15 10:20:01 2021
    That is great news Adrian, thank you for your work!

    Regards,
    Jeroen

    John Paul Adrian Glaubitz schreef op 2021-04-15 08:56:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David VANTYGHEM@21:1/5 to All on Thu Apr 15 17:20:02 2021
    This is a multi-part message in MIME format.
    Hello,

    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/


    Le 14/04/2021 à 22:43, John Paul Adrian Glaubitz a écrit :
    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/

    --
    Passez à Linux : https://infolib.re

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>Hello,</p>
    <p>I installed this new version in AQEMU. Now, the installation
    works well until the end. But after the first reboot, Debian
    doesn't start :
    <a class="moz-txt-link-freetext" href="https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/">https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/</a><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 14/04/2021 à 22:43, John Paul Adrian
    Glaubitz a écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:02af2c1a-ac22-c3c1-80a8-73ab29be7f40@physik.fu-berlin.de">
    <pre class="moz-quote-pre" wrap="">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 "&lt;NO&gt;" 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 &lt;Option&gt; 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

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">[1] <a class="moz-txt-link-freetext" href="https://cdimage.debian.org/cdimage/ports/snapshots/2021-04-14/">https://cdimage.debian.org/cdimage/ports/snapshots/2021-04-14/</a>
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    </pre>
    </blockquote>
    <pre class="moz-signature" cols="72">--
    Passez à Linux : <a class="moz-txt-link-freetext" href="https://infolib.re">https://infolib.re</a>

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/</pre>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Apr 15 17:20:02 2021
    --Apple-Mail-11220258-58CD-46F0-94D5-BF04C7D8F173
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable



    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/

    That’s because your emulator doesn’t support NVRAM emulation. You have to boot from harddisk manually.

    Adrian
    --Apple-Mail-11220258-58CD-46F0-94D5-BF04C7D8F173
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Apr 15, 2021, at 5:14 PM, David VANTYGHEM &lt;david.vantyghem@infolib.re&gt;
    wrote:<br></blockquote></div><blockquote type="cite"><div dir="ltr"><br>
    <p>I installed this new version in AQEMU. Now, the installation
    works well until the end. But after the first reboot, Debian
    doesn't start :
    <a class="moz-txt-link-freetext" href="https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/">https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/</a></p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>


    </div></blockquote><div>That’s because your emulator doesn’t support NVRAM emulation. You have to boot from harddisk manually.</div><div><br></div><div>Adrian</div></body></html>
    --Apple-Mail-11220258-58CD-46F0-94D5-BF04C7D8F173--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Apr 15 17:30:02 2021
    --Apple-Mail-B282100D-94D5-471D-A2CC-46A314EE1201
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable



    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 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/

    That’s because your emulator doesn’t support NVRAM emulation. You have to boot from harddisk manually.

    Try:

    boot hd:2,\\System\Library\CoreServices\BootX --Apple-Mail-B282100D-94D5-471D-A2CC-46A314EE1201
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: quoted-printable

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Apr 15, 2021, at 5:17 PM, John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-
    berlin.de&gt; wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Apr 15, 2021, at 5:14 PM,
    David VANTYGHEM &lt;david.vantyghem@infolib.re&gt; wrote:<br></blockquote></div><blockquote type="cite"><div dir="ltr"><br>
    <p>I installed this new version in AQEMU. Now, the installation
    works well until the end. But after the first reboot, Debian
    doesn't start :
    <a class="moz-txt-link-freetext" href="https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/">https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/</a></p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>


    </div></blockquote><div>That’s because your emulator doesn’t support NVRAM emulation. You have to boot from harddisk manually.</div></div></blockquote><br><div>Try:</div><div><br></div><div>boot hd:2,\\System\Library\CoreServices\BootX</div></body></
    html>
    --Apple-Mail-B282100D-94D5-471D-A2CC-46A314EE1201--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David VANTYGHEM@21:1/5 to All on Thu Apr 15 18:00:01 2021
    This is a multi-part message in MIME format.
    Le 15/04/2021 à 17:20, John Paul Adrian Glaubitz a écrit :


    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 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/

    That’s because your emulator doesn’t support NVRAM emulation. You
    have to boot from harddisk manually.

    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


    --
    Passez à Linux : https://infolib.re

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <div class="moz-cite-prefix">Le 15/04/2021 à 17:20, John Paul Adrian
    Glaubitz a écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:6FF48620-0439-4EB9-975C-0649C4B05E58@physik.fu-berlin.de">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <div dir="ltr"><br>
    </div>
    <div dir="ltr"><br>
    <blockquote type="cite">On Apr 15, 2021, at 5:17 PM, John Paul
    Adrian Glaubitz <a class="moz-txt-link-rfc2396E" href="mailto:glaubitz@physik.fu-berlin.de">&lt;glaubitz@physik.fu-berlin.de&gt;</a> wrote:<br>
    <br>
    </blockquote>
    </div>
    <blockquote type="cite">
    <div dir="ltr">
    <meta http-equiv="content-type" content="text/html;
    charset=UTF-8">
    <div dir="ltr"><br>
    </div>
    <div dir="ltr"><br>
    <blockquote type="cite">On Apr 15, 2021, at 5:14 PM, David
    VANTYGHEM <a class="moz-txt-link-rfc2396E" href="mailto:david.vantyghem@infolib.re">&lt;david.vantyghem@infolib.re&gt;</a> wrote:<br>
    </blockquote>
    </div>
    <blockquote type="cite">
    <div dir="ltr"><br>
    <p>I installed this new version in AQEMU. Now, the
    installation works well until the end. But after the
    first reboot, Debian doesn't start : <a
    class="moz-txt-link-freetext"
    href="https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/"
    moz-do-not-send="true">https://cryptpad.fr/file/#/2/file/jSGurNmToWjl+NXFOqSPkCcw/</a></p>
    </div>
    </blockquote>
    <div>That’s because your emulator doesn’t support NVRAM
    emulation. You have to boot from harddisk manually.</div>
    </div>
    </blockquote>
    <br>
    <div>Try:</div>
    <div><br>
    </div>
    <div>boot hd:2,\\System\Library\CoreServices\BootX</div>
    </blockquote>
    <p>boot hd:2,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program<br>
    </p>
    <p>boot hd:1,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program</p>
    <p>boot hd:0,\\System\Library\CoreServices\BootX -&gt; nothing
    happens and in the AQEMU serial console, I've got this message :
    Not a bootable ELF image</p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">--
    Passez à Linux : <a class="moz-txt-link-freetext" href="https://infolib.re">https://infolib.re</a>

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/</pre>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David VANTYGHEM@21:1/5 to All on Thu Apr 15 18:10:01 2021
    This is a multi-part message in MIME format.
    Le 15/04/2021 à 18:01, John Paul Adrian Glaubitz a écrit :


    On Apr 15, 2021, at 5:56 PM, David VANTYGHEM
    <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

    How did you boot the installation ISO? The installed system should be
    booted exactly the same way provided that you PowerMac emulation is
    accurate.

    Adrian

    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

    Now, after the installation, I try to boot from the virtual disk :

    /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=c*,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

    --
    Passez à Linux : https://infolib.re

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p>

    <div class="moz-cite-prefix">Le 15/04/2021 à 18:01, John Paul Adrian
    Glaubitz a écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:5B5656C7-F22F-4968-AD16-CA4CADA665F6@physik.fu-berlin.de">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <div dir="ltr"><br>
    </div>
    <div dir="ltr"><br>
    <blockquote type="cite">On Apr 15, 2021, at 5:56 PM, David
    VANTYGHEM <a class="moz-txt-link-rfc2396E" href="mailto:david.vantyghem@infolib.re">&lt;david.vantyghem@infolib.re&gt;</a> wrote:<br>
    <br>
    </blockquote>
    </div>
    <blockquote type="cite">
    <div dir="ltr">
    <blockquote type="cite"
    cite="mid:6FF48620-0439-4EB9-975C-0649C4B05E58@physik.fu-berlin.de">
    <div>Try:</div>
    <div><br>
    </div>
    <div>boot hd:2,\\System\Library\CoreServices\BootX</div>
    </blockquote>
    <p>boot hd:2,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program

    </p>
    <p>boot hd:1,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program</p>
    <p>boot hd:0,\\System\Library\CoreServices\BootX -&gt; nothing
    happens and in the AQEMU serial console, I've got this message :
    Not a bootable ELF image</p>
    </div>
    </blockquote>
    <div>How did you boot the installation ISO? The installed system
    should be booted exactly the same way provided that you PowerMac
    emulation is accurate.</div>
    <div><br>
    </div>
    <div>Adrian</div>
    </blockquote>
    <p>

    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">To install Debian, I boot from the installation ISO file, mounted on a virtual CDROM :

    /usr/bin/qemu-system-ppc \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -monitor stdio \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -k fr \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -machine accel=tcg \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -m 512 \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -drive file="/home/david/Documents/Informatique/Documentation/Macintosh/debian-10.0.0-powerpc-NETINST-1.iso",media=cdrom \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -drive file="/home/david/Documents/Informatique/Documentation/Macintosh/Debian + LXDE sur iMac G3.vmdk",if=ide,media=disk \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -<b>boot once=d</b>,menu=on \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net user \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net user,smb=/home/david/Bureau \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -rtc base=localtime \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -name "Debian + LXDE sur iMac G3" \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -M g3beige</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">

    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Now, after the installation, I try to boot from the virtual disk :


    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">/usr/bin/qemu-system-ppc \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -monitor stdio \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -k fr \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -machine accel=tcg \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -m 512 \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -drive file="/home/david/Documents/Informatique/Documentation/Macintosh/debian-10.0.0-powerpc-NETINST-1.iso",media=cdrom \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -drive file="/home/david/Documents/Informatique/Documentation/Macintosh/Debian + LXDE sur iMac G3.vmdk",if=ide,media=disk \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -<b>boot once=c</b>,menu=on \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net user \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -net user,smb=/home/david/Bureau \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -rtc base=localtime \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -name "Debian + LXDE sur iMac G3" \</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> -M g3beige</p>
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
    <p><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
    <p><style type="text/css">p, li { white-space: pre-wrap; }</style></p>
    <pre class="moz-signature" cols="72">--
    Passez à Linux : <a class="moz-txt-link-freetext" href="https://infolib.re">https://infolib.re</a>

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/</pre>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Apr 15 18:10:01 2021
    --Apple-Mail-D16F3F48-123B-4BBF-BCD4-23184B35E5CD
    Content-Type: text/plain;
    charset=us-ascii
    Content-Transfer-Encoding: quoted-printable



    On Apr 15, 2021, at 5:56 PM, David VANTYGHEM <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

    How did you boot the installation ISO? The installed system should be booted exactly the same way provided that you PowerMac emulation is accurate.

    Adrian
    --Apple-Mail-D16F3F48-123B-4BBF-BCD4-23184B35E5CD
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: 7bit

    <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"><br></div><div dir="ltr"><br><blockquote type="cite">On Apr 15, 2021, at 5:56 PM, David VANTYGHEM &lt;david.vantyghem@infolib.re&gt;
    wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><blockquote type="cite" cite="mid:6FF48620-0439-4EB9-975C-0649C4B05E58@physik.fu-berlin.de">
    <div>Try:</div>
    <div><br>
    </div>
    <div>boot hd:2,\\System\Library\CoreServices\BootX</div>
    </blockquote>
    <p>boot hd:2,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program<br>
    </p>
    <p>boot hd:1,\\System\Library\CoreServices\BootX -&gt; No valid
    state has been set by load or init-program</p>
    <p>boot hd:0,\\System\Library\CoreServices\BootX -&gt; nothing
    happens and in the AQEMU serial console, I've got this message :
    Not a bootable ELF image</p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>


    </div></blockquote><div>How did you boot the installation ISO? The installed system should be booted exactly the same way provided that you PowerMac emulation is accurate.</div><div><br></div><div>Adrian</div></body></html>
    --Apple-Mail-D16F3F48-123B-4BBF-BCD4-23184B35E5CD--

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to David VANTYGHEM on Thu Apr 15 19:00:03 2021
    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#macspecs1

    Well, 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.

    Or just test on real hardware. You can install on an external Firewire
    disk if you don't want to use the internal hard disk.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David VANTYGHEM@21:1/5 to All on Thu Apr 15 18:50:01 2021
    This is a multi-part message in MIME format.
    Le 15/04/2021 à 18:21, Stan Johnson a écrit :
    Hello David,

    On 4/15/21 10:07 AM, David VANTYGHEM wrote:
    Le 15/04/2021 à 18:01, John Paul Adrian Glaubitz a écrit :

    On Apr 15, 2021, at 5:56 PM, David VANTYGHEM
    <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

    How did you boot the installation ISO? The installed system should be
    booted exactly the same way provided that you PowerMac emulation is
    accurate.

    Adrian
    To install Debian, I boot from the installation ISO file, mounted on a
    virtual CDROM : /usr/bin/qemu-system-ppc \

    -monitor stdio \

    ...

    -name "Debian + LXDE sur iMac G3" \

    -M g3beige
    ...
    I don't know anything about the emulator that you are using, but a
    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

    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 ?


    --
    Passez à Linux : https://infolib.re

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 15/04/2021 à 18:21, Stan Johnson a
    écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:298c13d2-3bd1-9f8e-5fa0-28e3356812b7@yahoo.com">
    <pre class="moz-quote-pre" wrap="">Hello David,

    On 4/15/21 10:07 AM, David VANTYGHEM wrote:
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">Le 15/04/2021 à 18:01, John Paul Adrian Glaubitz a écrit :
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">On Apr 15, 2021, at 5:56 PM, David VANTYGHEM
    <a class="moz-txt-link-rfc2396E" href="mailto:d
  • From David VANTYGHEM@21:1/5 to All on Thu Apr 15 19:30:01 2021
    This is a multi-part message in MIME format.
    Le 15/04/2021 à 18:56, John Paul Adrian Glaubitz a écrit :
    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#macspecs1
    Well, 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.

    Indeed, I must use -M mac99 option. I'm trying another installation...

    --

    Passez à Linux : https://infolib.re

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/


    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 15/04/2021 à 18:56, John Paul Adrian
    Glaubitz a écrit :<br>
    </div>
    <blockquote type="cite"
    cite="mid:4028022a-9389-4c73-56fa-3962b847325c@physik.fu-berlin.de">
    <pre class="moz-quote-pre" wrap="">On 4/15/21 6:40 PM, David VANTYGHEM wrote:
    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">I've got a real grey G3, this model : <a class="moz-txt-link-freetext" href="https://everymac.com/systems/apple/imac/specs/imac_dv_se_500.html#macspecs1">https://everymac.com/systems/apple/imac/specs/imac_dv_se_
    500.html#macspecs1</a>
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Well, that's not a beige G3 but an iMac which is newer.

    A beige G3 is this: <a class="moz-txt-link-freetext" href="https://512pixels.net/2012/04/old-mac-of-the-month-beige-powermac-g3/">https://512pixels.net/2012/04/old-mac-of-the-month-beige-powermac-g3/</a>

    </pre>
    <blockquote type="cite">
    <pre class="moz-quote-pre" wrap="">I want to emulate it with qemu before installing Debian on it. Perhaps I should use another option ?
    </pre>
    </blockquote>
    <pre class="moz-quote-pre" wrap="">
    Try changing the emulation to a newer machine type such as the iMac.

    </pre>
    </blockquote>
    <p>Indeed, I must use -M mac99 option. I'm trying another
    installation...<br>
    </p>
    <p>-- </p>
    <pre class="moz-signature" cols="72">Passez à Linux : <a class="moz-txt-link-freetext" href="https://infolib.re">https://infolib.re</a>

    .--.
    |o_o |
    ||_/ |
    // \\ Envoyé depuis mon Linux
    (| |)
    / \_ _/ \
    \___)=(___/</pre>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
    0px; height: 0px;"></div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Cave-Ayland@21:1/5 to John Paul Adrian Glaubitz on Thu Apr 15 21:20:01 2021
    On 15/04/2021 16:20, John Paul Adrian Glaubitz wrote:

    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/

    That’s because your emulator doesn’t support NVRAM emulation. You have to boot from
    harddisk manually.

    Try:

    boot hd:2,\\System\Library\CoreServices\BootX

    Ah I don't think this will work: the \\ (double backslash) is used as part of the
    \\:tbxi escape sequence, and not to specify the root path. It should be something
    like this:

    boot hd:2,\System\Library\CoreServices\BootX


    ATB,

    Mark.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Cave-Ayland@21:1/5 to David VANTYGHEM on Thu Apr 15 21:20:01 2021
    On 15/04/2021 17:07, David VANTYGHEM wrote:

    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 \

    For the -drive part you're not specifying the unit number/bus so QEMU will simply
    start from zero and plug the drives in sequentially. I don't think this will match
    the aliases for hd and cd in the device tree.

    Have a look at some of the examples on the wiki at https://wiki.qemu.org/Documentation/Platforms/PowerPC to see how this is done.

    Note that all of the -hda/-hdb/-hdc/-hdc and -drive parameters are now deprecated in
    favour of -blockdev but they will work for now.

    -*boot once=d*,menu=on \

    The boot once option isn't supported by OpenBIOS. Just used -boot c for the hard disk
    or -boot d for the CDROM.

    -net nic,macaddr=00:a2:6d:80:10:8f,model=rtl8139 \

    Why are you using a non-default network card? The sungem NIC as found in a real Mac
    has been the default for years now.

    -net user \

    -net user,smb=/home/david/Bureau \

    -rtc base=localtime \

    -name "Debian + LXDE sur iMac G3" \

    -M g3beige


    ATB,

    Mark.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Cave-Ayland@21:1/5 to John Paul Adrian Glaubitz on Thu Apr 15 21:30:01 2021
    On 15/04/2021 07:56, John Paul Adrian Glaubitz wrote:

    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

    Hi Adrian,

    Does this image have hfsutils installed as a deb as well as a udeb? If so, then I
    should be able to run the installer and bless the grub executable manually afterwards?


    ATB,

    Mark.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Cave-Ayland@21:1/5 to David VANTYGHEM on Thu Apr 15 21:30:02 2021
    On 15/04/2021 18:27, David VANTYGHEM wrote:

    Le 15/04/2021 à 18:56, John Paul Adrian Glaubitz a écrit :
    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#macspecs1
    Well, 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.

    Indeed, I must use -M mac99 option. I'm trying another installation...

    Well if you've managed to complete an installation on -M g3beige then I'm fairly sure
    that this isn't the problem. As per my earlier email I suspect that your non-standard
    -drive parameters may be the issue.


    ATB,

    Mark.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Brakensiek@21:1/5 to John Paul Adrian Glaubitz on Thu Apr 15 22:10:01 2021
    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’m sending you full install logs via direct mail. If you do need any
    more information, just tell me. The machine is still warm and running
    the install OS and I could try some things.

    Thank you
    Johannes

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
    </head>
    <body>
    <div style="font-family:sans-serif"><div style="white-space:normal">
    <p dir="auto">Hi Adrian,</p>

    <p dir="auto">thanks for your work again!</p>

    <p dir="auto">On 14 Apr 2021, at 22:43, John Paul Adrian Glaubitz wrote:</p>

    <blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
    <p dir="auto">Let me know how the image works for you, then I can commit the changes for<br>
    the grub-installer package to git when we know it works for most people for<br> the time being.</p>
    </blockquote>

    <p dir="auto">I now found some time to run the install procedure from USB disks (I could boot fine via <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">boot ud:\boot\grub\powerpc.elf</code>). 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:</p>

    <pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0"
    bgcolor="#F7F7F7">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'
    </code></pre>

    <p dir="auto">I’m sending you full install logs via direct mail. If you do need any more information, just tell me. The machine is still warm and running the install OS and I could try some things.</p>

    <p dir="auto">Thank you<br>
    Johannes</p>
    </div>
    </div>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Johannes Brakensiek on Thu Apr 15 22:30:01 2021
    On 4/15/21 10:07 PM, Johannes Brakensiek wrote:
    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:

    I have no clue why it should detect /dev/sdb3 as /boot/grub, that's not really possible.

    So either the ppc64 image is broken (please use the powerpc image) or there is something
    completely illogical happening on your machine.

    Did you actually get an HFS filesystem that was mounted to /boot/grub? You can check that
    with "mount" when switching to a different console.

    But again, I'm really confused by this as I don't really think that something like this
    is possible. If you look at the code [1], it will try to use the device that was mounted
    to /boot/grub. So if you claim it tried to install GRUB to a swap device, then your
    swap partition would have been mounted to /boot/grub which is not possible.

    Please test the 32-bit powerpc image.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to Johannes Brakensiek on Fri Apr 16 08:30:01 2021
    On 4/15/21 4:07 PM, Johannes Brakensiek wrote:
    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 :


    * * * * default mode stuff * * * * *


    /lib/partman/finish.d/75reformat_after_restart: IN: PARTITIONS =dev=sda parted_server: Read command: PARTITIONS
    parted_server: command_partitions()
    parted_server: Opening outfifo
    parted_server: OUT: OK


    parted_server: OUT: 1 512-32767 32256 primary unknown /dev/sda1 Apple


    parted_server: OUT: 2 32768-1033215 1000448 primary hfs /dev/sda2 untitled


    parted_server: OUT: 3 1033216-299045033471 299044000256 primary ext4 /dev/sda3 untitled


    parted_server: OUT: 4 299045033472-300069027327 1023993856 primary linux-swap /dev/sda4 swap


    parted_server: OUT: -1 300069027328-300069052415 25088 primary free /dev/sda-1


    parted_server: Partitions printed
    parted_server: OUT:


    So there we do see /dev/sda3 is the single large ext4 filesystem for everything. There is no separate /boot or /boot/grub. Perhaps /dev/sda2
    should be the /boot/grub ? I don't know.

    Regardless the syslog reports :


    Apr 15 03:09:17 grub-installer: info: Installing grub on '/dev/sda3'
    Apr 15 03:09:17 grub-installer: info: grub-install does not support
    --no-floppy
    Apr 15 03:09:17 grub-installer: info: Running chroot /target
    grub-install --macppc-directory=/boot/grub --no-nvram --force
    Apr 15 03:09:17 grub-installer: Installing for powerpc-ieee1275 platform.
    Apr 15 03:09:19 grub-installer: grub-install: error: filesystem on
    /boot/grub is neither HFS nor HFS+.
    Apr 15 03:09:19 grub-installer: error: Running 'grub-install --macppc-directory=/boot/grub --no-nvram --force failed.


    * * * * expert mode stuff * * * * *

    parted_server: Read command: PARTITIONS
    parted_server: command_partitions()
    parted_server: Opening outfifo
    parted_server: OUT: OK


    parted_server: OUT: 1 512-32767 32256 primary unknown /dev/sda1 Apple


    parted_server: OUT: 2 32768-1033215 1000448 primary hfs /dev/sda2 untitled


    parted_server: OUT: 3 1033216-299045033471 299044000256 primary ext4 /dev/sda3 untitled


    parted_server: OUT: 4 299045033472-300069027327 1023993856 primary linux-swap /dev/sda4 swap


    parted_server: OUT: -1 300069027328-300069052415 25088 primary free /dev/sda-1


    parted_server: Partitions printed
    parted_server: OUT:


    That looks similar.

    Apr 15 02:43:00 grub-installer: info: Installing grub on '/dev/sda3'
    Apr 15 02:43:00 grub-installer: info: grub-install does not support
    --no-floppy
    Apr 15 02:43:04 grub-installer: info: Running chroot /target
    grub-install --macppc-directory=/boot/grub --no-nvram --force
    Apr 15 02:43:05 grub-installer: Installing for powerpc-ieee1275 platform.
    Apr 15 02:43:05 grub-installer: grub-install: error:
    Apr 15 02:43:05 grub-installer: filesystem on /boot/grub is neither HFS
    nor HFS+.
    Apr 15 02:43:05 grub-installer: error: Running 'grub-install --macppc-directory=/boot/grub --no-nvram --force failed.

    So it seems that I should try again but manually create a /boot
    filesystem that is what? Apple HFS somehow ?

    I sent the log files in a previous email to John Paul Adrian Glaubitz
    and this list. It "feels like" everything should just work with a minor
    tweak somewhere.


    --
    Dennis Clarke
    RISC-V/SPARC/PPC/ARM/CISC
    UNIX and Linux spoken
    GreyBeard and suspenders optional

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Dennis Clarke on Fri Apr 16 08:50:02 2021
    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.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johannes Brakensiek@21:1/5 to John Paul Adrian Glaubitz on Fri Apr 16 09:00:01 2021
    On 16 Apr 2021, at 8:43, John Paul Adrian Glaubitz wrote:

    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.

    Great, thank you. Would you like to point us the fresh image once it’s
    there? I admit I don’t get where to find the correct testing image in
    all those dirs…

    Thanks
    Johannes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dennis Clarke@21:1/5 to John Paul Adrian Glaubitz on Fri Apr 16 09:00:02 2021
    On 4/16/21 2:43 AM, John Paul Adrian Glaubitz wrote:
    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.

    Excellent. Had to be something minor. Thank you and I shall await a new installer image.

    Dennis Clarke

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Uwe Steinmann@21:1/5 to All on Fri Apr 16 09:40:01 2021
    Am Wed, Apr 14, 2021 at 10:43:58PM +0200 schrieb John Paul Adrian Glaubitz:
    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.
    Adrian, thanks for putting all this effort into it. I grab the snapshot,
    put it on an usb stick and booted my
    Apple PowerBook6,5 4.8.7f1 BootROM built on 09/23/04 at 16:13:38
    with it. The installation went smooth (including that dialog that needed
    to be answered "<NO>" right after partman was finished)

    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.

    Uwe

    --
    MMK GmbH, Fleyer Str. 196, 58097 Hagen
    Uwe.Steinmann@mmk-hagen.de
    Tel: 02331 840446 Fax: 02331 843920

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEE3CvlpjXW3PCUob0wN8K0+GQhOf8FAmB5PDAACgkQN8K0+GQh Of+0PA//VGubIFcXEFo21x9gvWN5kqlkuM79Pt8rubcHkgYTa+b46+Rrz97kcToq 2b0+kLicy9fxBY1q0wM59afKTt88x3Bn5kvTEXPWbP3jj/BdeorT1aUrwx6AK6ho GSDsi8TtSeF9XWh9nOM8W2LPrLCo8PFBQQ0KDfw1YziBQ2a6JBDMQq6J3Oz4a6rT 850A4BfPV7aG+pblyBkDU+xtTtHO51R+mhnUgFynXBkwDtdTrXTKGg++Np4gG/fQ 15oYVfs8R8ycZ5TGBgj/Q29teMS5EtxUtc8TsrOyydS2GXjRGIckww3VXxT+alxx pI0GgmsgrlXlgnLTfu1q5C1ThecUmatdOf2fl0jZfGNc8xSi2jlV6MOBzsMchFRq iPiLBhfAC6/1K/M8wcuUmlWLAw4nn92Vi495AEvouBjt8VZs1NR9rku1L58/q5tP FLhnjpQ0+PlvFir3cWftmkHkZ0QxD8DOtKalEz6SuS+VFriKoayV9sYlxEl+E8sP Jf1uLK8BkgDjVgnqWRupPeU+AoqF2gaJ2ZfgRGSAgx8HJJlH2Nxa+yI47GD9UHXx 0aeUKCwHPblBCJ99SiB9kGIQX2KzFGpPqEXFiVpqBW8aaAymhqw4bu055BPlsniI 4DrZibBqPSi61/WBAIRtVwyQ/7UmdPrEr+1THGfPi+fQlarr2aI=
    =QqUZ
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet G
  • From John Paul Adrian Glaubitz@21:1/5 to Uwe Steinmann on Fri Apr 16 09:50:01 2021
    On 4/16/21 9:26 AM, Uwe Steinmann wrote:
    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.

    That's something that needs to be reported as a bug to GRUB upstream.

    I'm surprised however that you could boot the CD-ROM which also uses
    GRUB boot not the system from harddisk.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)