• Install debian sparc64 with a hdd/ssd as source

    From Connor McLaughlan@21:1/5 to All on Tue Jul 5 17:20:01 2022
    Hello,

    is there a sparc64 debian installer image available somewhere that i
    could write with dd to a hdd/ssd and boot from it?


    Regards,
    Connor

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to userm57@yahoo.com on Wed Jul 6 16:50:01 2022
    Thank you Stan, this looks promising and easy enough.

    Another method i found working, but not as convenient as the above, is
    to install grub2 on another system with a working cdrom and then to
    add an iso residing on an existing partition as menuenty in grub.
    The only difference compared to x86/64 are the needed modules and the
    adressing of the drive, like:

    menuentry "Debian ISO" {
    set isofile="/path/to/file/name-of-iso-file-.iso"
    insmod gzio
    insmod part_sun
    insmod <yourfilesystem_needed e.g. ext2/xfs>

    loopback loop (ieee1275/disk, sun1)$isofile
    echo "Starting $isofile..."
    linux (loop)/casper/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/casper/initrd.gz
    }

    Regards,
    Connor

    On Tue, Jul 5, 2022 at 11:46 PM Stan Johnson <userm57@yahoo.com> wrote:

    On 7/5/22 9:15 AM, Connor McLaughlan wrote:
    Hello,

    is there a sparc64 debian installer image available somewhere that i
    could write with dd to a hdd/ssd and boot from it?


    Regards,
    Connor


    Hi Connor,

    As I recall, the last time I tried to install Debian SID from the Debian installer CD, it did not recognize my CD drive (despite having just
    booted the CD from that drive). So I copied the entire installation CD
    to a spare 1 GB disk (something like "dd if=/dev/cdrom of=/dev/sdb
    bs=64k"). I was then able to boot from that disk and proceeded to a full installation. My existing installation was Debian 7.8, which was able to recognize the CD drive.

    -Stan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to cont6pro3@gmail.com on Wed Jul 6 17:50:01 2022
    Sorry..obvious error in my last post, resulting from a cut-paste-mix
    of a grub2 iso-boot tutorial...
    "casper" should be "install"...or wherever the kernel and initrd
    reside in the iso.

    linux (loop)/install/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/install/casper/initrd.gz

    Regards,
    Connor

    On Wed, Jul 6, 2022 at 4:42 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Thank you Stan, this looks promising and easy enough.

    Another method i found working, but not as convenient as the above, is
    to install grub2 on another system with a working cdrom and then to
    add an iso residing on an existing partition as menuenty in grub.
    The only difference compared to x86/64 are the needed modules and the adressing of the drive, like:

    menuentry "Debian ISO" {
    set isofile="/path/to/file/name-of-iso-file-.iso"
    insmod gzio
    insmod part_sun
    insmod <yourfilesystem_needed e.g. ext2/xfs>

    loopback loop (ieee1275/disk, sun1)$isofile
    echo "Starting $isofile..."
    linux (loop)/casper/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/casper/initrd.gz
    }

    Regards,
    Connor

    On Tue, Jul 5, 2022 at 11:46 PM Stan Johnson <userm57@yahoo.com> wrote:

    On 7/5/22 9:15 AM, Connor McLaughlan wrote:
    Hello,

    is there a sparc64 debian installer image available somewhere that i could write with dd to a hdd/ssd and boot from it?


    Regards,
    Connor


    Hi Connor,

    As I recall, the last time I tried to install Debian SID from the Debian installer CD, it did not recognize my CD drive (despite having just
    booted the CD from that drive). So I copied the entire installation CD
    to a spare 1 GB disk (something like "dd if=/dev/cdrom of=/dev/sdb bs=64k"). I was then able to boot from that disk and proceeded to a full installation. My existing installation was Debian 7.8, which was able to recognize the CD drive.

    -Stan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to cont6pro3@gmail.com on Tue Jul 12 16:20:01 2022
    Hello again,

    i had mixed results for now with the installation on a T1000 using the
    dd'ed netinstall iso.

    All went seemingly well until suddenly some files on the debian
    mirrors could not be found and i had to ignore it and went with a base
    system.
    The message was "Downloading a file failed" during the step "Configure
    the package manager".

    Then at the end it could not install grub to the target hdd. Message
    was "The 'grub-ieee1275' package failed to install into /target/.

    How can i find the cause of it and manually correct it and install
    grub from the rescue system?
    (also does anyone know the key combination to switch console tabs in
    the installer when the serial connection runs over the screen
    utility?)

    Regards,
    Connor

    On Wed, Jul 6, 2022 at 5:43 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Sorry..obvious error in my last post, resulting from a cut-paste-mix
    of a grub2 iso-boot tutorial...
    "casper" should be "install"...or wherever the kernel and initrd
    reside in the iso.

    linux (loop)/install/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/install/casper/initrd.gz

    Regards,
    Connor

    On Wed, Jul 6, 2022 at 4:42 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Thank you Stan, this looks promising and easy enough.

    Another method i found working, but not as convenient as the above, is
    to install grub2 on another system with a working cdrom and then to
    add an iso residing on an existing partition as menuenty in grub.
    The only difference compared to x86/64 are the needed modules and the adressing of the drive, like:

    menuentry "Debian ISO" {
    set isofile="/path/to/file/name-of-iso-file-.iso"
    insmod gzio
    insmod part_sun
    insmod <yourfilesystem_needed e.g. ext2/xfs>

    loopback loop (ieee1275/disk, sun1)$isofile
    echo "Starting $isofile..."
    linux (loop)/casper/vmlinux iso-scan/filename=${isofile} quiet splash initrd (loop)/casper/initrd.gz
    }

    Regards,
    Connor

    On Tue, Jul 5, 2022 at 11:46 PM Stan Johnson <userm57@yahoo.com> wrote:

    On 7/5/22 9:15 AM, Connor McLaughlan wrote:
    Hello,

    is there a sparc64 debian installer image available somewhere that i could write with dd to a hdd/ssd and boot from it?


    Regards,
    Connor


    Hi Connor,

    As I recall, the last time I tried to install Debian SID from the Debian installer CD, it did not recognize my CD drive (despite having just booted the CD from that drive). So I copied the entire installation CD
    to a spare 1 GB disk (something like "dd if=/dev/cdrom of=/dev/sdb bs=64k"). I was then able to boot from that disk and proceeded to a full installation. My existing installation was Debian 7.8, which was able to recognize the CD drive.

    -Stan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to userm57@yahoo.com on Thu Jul 14 20:10:01 2022
    Hello Jon,

    do you or someone reading this know how to change tabs in the
    installer on sparc64 in order to get to the logfile?

    I am using a serial connection over screen to the machine, but sending
    ctrl+a + 1-4 will not change the tabs?

    Regards,
    Connor

    On Tue, Jul 12, 2022 at 6:46 PM Stan Johnson <userm57@yahoo.com> wrote:

    On 7/12/22 8:15 AM, Connor McLaughlan wrote:
    Hello again,

    i had mixed results for now with the installation on a T1000 using the dd'ed netinstall iso.

    All went seemingly well until suddenly some files on the debian
    mirrors could not be found and i had to ignore it and went with a base system.
    The message was "Downloading a file failed" during the step "Configure
    the package manager".

    I'm not sure how to fix that. As I recall, the default location for the mirrors worked the last time I installed Debian SID.

    I'm using this now for my /etc/apt/sources.list:

    # binary default
    deb http://ftp.ports.debian.org/debian-ports/ unstable main
    deb http://incoming.ports.debian.org/buildd/ unstable main
    deb http://ftp.ports.debian.org/debian-ports/ unreleased main

    # contrib and non-free arch:all packages (i.e. firmware)
    deb [arch=all] http://ftp.debian.org/debian/ unstable contrib non-free

    # source
    deb-src http://ftp.debian.org/debian/ unstable main
    deb-src http://incoming.debian.org/debian-buildd/ buildd-unstable main


    Then at the end it could not install grub to the target hdd. Message
    was "The 'grub-ieee1275' package failed to install into /target/.

    How can i find the cause of it and manually correct it and install
    grub from the rescue system?

    I use SILO, so I'm not able to help. I did test a default installation a
    few months ago that included GRUB, and that worked on my Ultra-30.

    Adrian usually asks which installation CD you are using and for a copy
    of the installation log.

    (also does anyone know the key combination to switch console tabs in
    the installer when the serial connection runs over the screen
    utility?)

    Regards,
    Connor

    On Wed, Jul 6, 2022 at 5:43 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Sorry..obvious error in my last post, resulting from a cut-paste-mix
    of a grub2 iso-boot tutorial...
    "casper" should be "install"...or wherever the kernel and initrd
    reside in the iso.

    linux (loop)/install/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/install/casper/initrd.gz

    Regards,
    Connor

    On Wed, Jul 6, 2022 at 4:42 PM Connor McLaughlan <cont6pro3@gmail.com> wrote:

    Thank you Stan, this looks promising and easy enough.

    Another method i found working, but not as convenient as the above, is >>> to install grub2 on another system with a working cdrom and then to
    add an iso residing on an existing partition as menuenty in grub.
    The only difference compared to x86/64 are the needed modules and the
    adressing of the drive, like:

    menuentry "Debian ISO" {
    set isofile="/path/to/file/name-of-iso-file-.iso"
    insmod gzio
    insmod part_sun
    insmod <yourfilesystem_needed e.g. ext2/xfs>

    loopback loop (ieee1275/disk, sun1)$isofile
    echo "Starting $isofile..."
    linux (loop)/casper/vmlinux iso-scan/filename=${isofile} quiet splash
    initrd (loop)/casper/initrd.gz
    }

    Regards,
    Connor

    On Tue, Jul 5, 2022 at 11:46 PM Stan Johnson <userm57@yahoo.com> wrote: >>>>
    On 7/5/22 9:15 AM, Connor McLaughlan wrote:
    Hello,

    is there a sparc64 debian installer image available somewhere that i >>>>> could write with dd to a hdd/ssd and boot from it?


    Regards,
    Connor


    Hi Connor,

    As I recall, the last time I tried to install Debian SID from the Debian >>>> installer CD, it did not recognize my CD drive (despite having just
    booted the CD from that drive). So I copied the entire installation CD >>>> to a spare 1 GB disk (something like "dd if=/dev/cdrom of=/dev/sdb
    bs=64k"). I was then able to boot from that disk and proceeded to a full >>>> installation. My existing installation was Debian 7.8, which was able to >>>> recognize the CD drive.

    -Stan


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Jul 14 21:10:01 2022
    Hello Adrian,

    ctrl+a <n> or <p> do not work. I get a message of "no other window".

    I am using screen like this. to connect: screen /dev/ttyUSB0 9600,cs8

    Regards,
    Connor

    On Thu, Jul 14, 2022 at 8:26 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:



    On Jul 14, 2022, at 8:07 PM, Connor McLaughlan <cont6pro3@gmail.com> wrote:

    do you or someone reading this know how to change tabs in the
    installer on sparc64 in order to get to the logfile?

    Ctrl+a <n> and <p> should work.

    See the manpage of GNU screen.

    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Jul 14 20:30:01 2022
    On Jul 14, 2022, at 8:07 PM, Connor McLaughlan <cont6pro3@gmail.com> wrote:

    do you or someone reading this know how to change tabs in the
    installer on sparc64 in order to get to the logfile?

    Ctrl+a <n> and <p> should work.

    See the manpage of GNU screen.

    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Jul 14 20:20:01 2022
    On Jul 12, 2022, at 4:16 PM, Connor McLaughlan <cont6pro3@gmail.com> wrote:

    How can i find the cause of it and manually correct it and install
    grub from the rescue system?
    (also does anyone know the key combination to switch console tabs in
    the installer when the serial connection runs over the screen
    utility?)

    By checking the installation log in /var/log/syslog during installation or at /var/log/installer/syslog after installation.

    Anything else is just trying to use the non-existing crystal ball ;-).

    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jan Engelhardt@21:1/5 to John Paul Adrian Glaubitz on Thu Jul 14 22:10:01 2022
    On Thursday 2022-07-14 21:37, John Paul Adrian Glaubitz wrote:

    On Jul 14, 2022, at 9:03 PM, Connor McLaughlan <cont6pro3@gmail.com> wrote: >>
    ctrl+a <n> or <p> do not work. I get a message of "no other window".

    I am using screen like this. to connect: screen /dev/ttyUSB0 9600,cs8

    Don’t use “screen” as a terminal program, use “minicom”. Your local screen session intercepts the escape sequences in the running debian-installer’s screen session.

    It's ok to use screen. Since ^A is escaped by the upper screen instance,
    the key sequence becomes

    Ctrl-a a n

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Thu Jul 14 21:40:01 2022
    On Jul 14, 2022, at 9:03 PM, Connor McLaughlan <cont6pro3@gmail.com> wrote:

    ctrl+a <n> or <p> do not work. I get a message of "no other window".

    I am using screen like this. to connect: screen /dev/ttyUSB0 9600,cs8

    Don’t use “screen” as a terminal program, use “minicom”. Your local screen session intercepts the escape sequences in the running debian-installer’s screen session.

    This won’t work, of course.

    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Jan Engelhardt on Thu Jul 14 22:20:01 2022
    On 7/14/22 21:57, Jan Engelhardt wrote:
    Don’t use “screen” as a terminal program, use “minicom”. Your local
    screen session intercepts the escape sequences in the running
    debian-installer’s screen session.

    It's ok to use screen. Since ^A is escaped by the upper screen instance,
    the key sequence becomes

    Ctrl-a a n

    Good to know, thanks!

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- 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 Connor McLaughlan on Thu Jul 14 23:40:01 2022
    On 7/14/22 23:28, Connor McLaughlan wrote:
    Alright, Ctrl-a a n works...thanks!

    I also might have figured out my installation problem...my netinstall
    cd is to old and doesn't have the required 2022 debian signing keys
    for the repositories.
    While network access works, it seems to refuse to connect/install from
    the debian mirror.

    Can i somehow add the needed keys in a running installer environment? (apt-key or gpg commands seem to be not available in the installer?)

    (The reason i am using older installation images are machines that
    have problems with newer kernels...)

    Just skip the step to install additional software and do that once you
    have rebooted into the installed system.

    Adrian

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Connor McLaughlan@21:1/5 to glaubitz@physik.fu-berlin.de on Thu Jul 14 23:30:01 2022
    Alright, Ctrl-a a n works...thanks!

    I also might have figured out my installation problem...my netinstall
    cd is to old and doesn't have the required 2022 debian signing keys
    for the repositories.
    While network access works, it seems to refuse to connect/install from
    the debian mirror.

    Can i somehow add the needed keys in a running installer environment?
    (apt-key or gpg commands seem to be not available in the installer?)

    (The reason i am using older installation images are machines that
    have problems with newer kernels...)

    Regards,
    Connor

    On Thu, Jul 14, 2022 at 10:19 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    On 7/14/22 21:57, Jan Engelhardt wrote:
    Don’t use “screen” as a terminal program, use “minicom”. Your local
    screen session intercepts the escape sequences in the running
    debian-installer’s screen session.

    It's ok to use screen. Since ^A is escaped by the upper screen instance, the key sequence becomes

    Ctrl-a a n

    Good to know, thanks!

    Adrian

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


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