• hd-media initrd not working on Amiga

    From John Paul Adrian Glaubitz@21:1/5 to All on Sun Sep 12 12:40:02 2021
    Hello Carlos!

    On 9/12/21 03:35, Carlos Milán Figueredo wrote:
    1. The pata_gayle IDE driver is not available on the hd-media.
    I must proceed with the legacy gayle driver.
    2. At the "iso-scan" stage in d-i, the kernel is not able to mount
    any filesystem yet, not even ext2 partitions. So finding the ISO
    image will fail and the installation cannot continue. It looks like
    d-i is not able to mount even a ext2 partition until the "Load
    installer components from installation media" stage has succeed,
    that cannot happen without installation media.

    We're missing several d-i kernel module package here:

    https://salsa.debian.org/installer-team/debian-installer/-/blob/master/build/pkg-lists/hd-media/m68k.cfg

    Those are:

    - fat-modules-${kernel:Version}
    - ext4-modules-${kernel:Version}
    - pata-modules-${kernel:Version}

    For reference, here is the module list on on i386:

    https://salsa.debian.org/installer-team/debian-installer/-/blob/master/build/pkg-lists/hd-media/i386.cfg

    So my question is: how I would be able to install Debian m68k on my real Amiga without CD?

    You won't until I have fixed the issues above. I'm currently on a train, but I'm trying to get this
    fixed ASAP. Thanks for the report. You see, hd-media hasn't been tested for ages.

    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 John Paul Adrian Glaubitz@21:1/5 to All on Sun Sep 12 15:30:02 2021
    Hello!

    On 9/12/21 15:09, Carlos Milán Figueredo wrote:
    By comparing the two of them, wouldn't we need this one as well?

    loop-modules-${kernel:Version}

    If we are to mount the ISO as installation media and it is loop mounted, probably that one will be needed as well.

    Yes, that needs to go in, too. I will provide you with a test image anyway,
    so that you can verify it works as expected.

    You won't until I have fixed the issues above.
    I'm currently on a train, but I'm trying to get this fixed ASAP.
    Thanks for the report. You see, hd-media hasn't been tested for ages.

    Thanks to you for the efforts! CD drives are disappearing from most
    computer setups, so I think the hd-media image is really relevant today.

    A last question very related to the Amiga. I used the busybox provided
    with d-i to create and format an additional ext2 partition. Then, I
    used wget to download and place the installation ISO image on it.

    I think this procedure will be hard for most Amiga users. It would
    be better if this could be done from AmigaOS. Is it possible to
    provide in the hd-media image support for mounting AFFS partitions
    so the ISO can be placed there?

    Yes, there is also an affs-modules kernel modules package [1] we can just add.

    Adrian

    [1] https://packages.debian.org/unstable/affs-modules-5.10.0-8-m68k-di

    --
    .''`. 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 Finn Thain@21:1/5 to John Paul Adrian Glaubitz on Mon Sep 13 02:40:02 2021
    On Sun, 12 Sep 2021, John Paul Adrian Glaubitz wrote:

    I think this procedure will be hard for most Amiga users. It would be better if this could be done from AmigaOS. Is it possible to provide
    in the hd-media image support for mounting AFFS partitions so the ISO
    can be placed there?

    Yes, there is also an affs-modules kernel modules package [1] we can
    just add.


    Please also add modules for common Apple MacOS and Atari TOS filesystems
    where that's feasible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johny Five@21:1/5 to fthain@linux-m68k.org on Mon Sep 27 00:50:01 2021
    Hi Carlos,

    Stefan with Carsten showed me this trick during last m68k meeting back in
    2018 at Essen.

    On the harddrive/cf card simply write the content of the iSO file to some partition.
    You can use swap partition - only it will be rewritten during the fist
    actual boot of Linux.

    You can do it virtually on anything which understands Amiga partitioning of that drive.

    dd if=debian.iso of=/dev/sdc bs=512 status=progress

    During the meeting we actual used Stefan's beautiful Falcon running Debian
    :)


    Fire up the amiboot

    During the setup there will be error as CD-ROM not detected.
    Load CD-ROM drivers from removable media - YES
    Manually select a CD-ROM module and device - YES
    Module needed for accessing the CD-ROM: none
    Device file for accessing the CD-ROM: /dev/hda2

    It worked like a charm.









    On Mon, Sep 13, 2021 at 2:36 AM Finn Thain <fthain@linux-m68k.org> wrote:


    On Sun, 12 Sep 2021, John Paul Adrian Glaubitz wrote:

    I think this procedure will be hard for most Amiga users. It would be better if this could be done from AmigaOS. Is it possible to provide
    in the hd-media image support for mounting AFFS partitions so the ISO
    can be placed there?

    Yes, there is also an affs-modules kernel modules package [1] we can
    just add.


    Please also add modules for common Apple MacOS and Atari TOS filesystems where that's feasible.



    <div dir="ltr"><div>Hi Carlos,</div><div><br></div><div>Stefan with Carsten showed me this trick during last m68k meeting back in 2018 at Essen.<br></div><div><br></div><div>On the harddrive/cf card simply write the content of the iSO file to some
    partition.</div><div>You can use swap partition - only it will be rewritten during the fist actual boot of Linux.</div><div><br></div><div>You can do it virtually on anything which understands Amiga partitioning of that drive.<br></div><div><br></div><
    dd if=debian.iso of=/dev/sdc bs=512 status=progress</div><div><br></div><div>During the meeting we actual used Stefan&#39;s beautiful Falcon running Debian :)<br></div><div><br></div><div><br></div><div>Fire up the amiboot<br></div><div><br></div><
    During the setup there will be error as CD-ROM not detected.</div><div>Load CD-ROM drivers from removable media - YES</div><div>Manually select a CD-ROM module and device - YES</div><div>Module needed for accessing the CD-ROM: none</div><div>Device
    file for accessing the CD-ROM: /dev/hda2</div><div><br></div><div>It worked like a charm.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div
    dir="ltr" class="gmail_attr">On Mon, Sep 13, 2021 at 2:36 AM Finn Thain &lt;<a href="mailto:fthain@linux-m68k.org">fthain@linux-m68k.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,
    204,204);padding-left:1ex"><br>
    On Sun, 12 Sep 2021, John Paul Adrian Glaubitz wrote:<br>

    &gt; &gt; I think this procedure will be hard for most Amiga users. It would be <br>
    &gt; &gt; better if this could be done from AmigaOS. Is it possible to provide <br>
    &gt; &gt; in the hd-media image support for mounting AFFS partitions so the ISO <br>
    &gt; &gt; can be placed there?<br>
    &gt; <br>
    &gt; Yes, there is also an affs-modules kernel modules package [1] we can <br> &gt; just add.<br>
    &gt; <br>

    Please also add modules for common Apple MacOS and Atari TOS filesystems <br> where that&#39;s feasible.<br>

    </blockquote></div>

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