Re: Install debian sparc64 with a hdd/ssd as source
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
Re: Install debian sparc64 with a hdd/ssd as source
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 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 >
Re: Install debian sparc64 with a hdd/ssd as source
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
Re: Install debian sparc64 with a hdd/ssd as source
On Thursday 2022-07-14 21:37, John Paul Adrian Glaubitz wrote: > >> On Jul 14, 2022, at 9:03 PM, Connor McLaughlan wrote: >> >> ctrl+a or 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
Re: Install debian sparc64 with a hdd/ssd as source
> On Jul 14, 2022, at 9:03 PM, Connor McLaughlan wrote: > > ctrl+a or 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
Re: Install debian sparc64 with a hdd/ssd as source
Hello Adrian, ctrl+a or 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 wrote: > > > > > On Jul 14, 2022, at 8:07 PM, Connor McLaughlan 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 and should work. > > See the manpage of GNU screen. > > Adrian
Re: Install debian sparc64 with a hdd/ssd as source
> On Jul 14, 2022, at 8:07 PM, Connor McLaughlan 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 and should work. See the manpage of GNU screen. Adrian
Re: Install debian sparc64 with a hdd/ssd as source
> On Jul 12, 2022, at 4:16 PM, Connor McLaughlan 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
Re: Install debian sparc64 with a hdd/ssd as source
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 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 > > 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 > >> 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 > >>> > >>> 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 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 > >
Re: Install debian sparc64 with a hdd/ssd as source
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 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 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 > > > > 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 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
Re: Install debian sparc64 with a hdd/ssd as source
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 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 > > 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 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
Re: Install debian sparc64 with a hdd/ssd as source
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 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 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
Re: Install debian sparc64 with a hdd/ssd as source
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
Install debian sparc64 with a hdd/ssd as source
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