Works (with a small tweek) on ppc64! [Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)]

2021-02-10 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:22 AM, John Paul Adrian Glaubitz wrote: > Hello! > > For anyone wanting to install a current Debian unstable snapshot onto their > PowerMacs, I'm going to write down a short guide how to make sure GRUB > gets installed properly (in case the installation fails). > > Us

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-09 Thread John Paul Adrian Glaubitz
> On Feb 10, 2021, at 4:18 AM, Rick Thomas wrote: > > Two things you need to know: > > 1) The grub menu, that you see when the installer CD first boots up, offers > "expert" mode. If you're not familiar with it, this makes the install > process more granular, so you have more control over

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-09 Thread Rick Thomas
On Mon, Feb 8, 2021, at 11:06 PM, Jeffrey Walton wrote: > A small problem... > After install the machine reboots automatically. We are not given an > opportunity to stop the reboot. In fact, we are not even told a reboot > is going to happen. Maybe the installer needs a step that confirms the >

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-09 Thread John Paul Adrian Glaubitz
On 2/9/21 10:51 AM, Jeffrey Walton wrote: > It looks like the debian-installer folks are getting ready to provide > a new release of the installer > (https://www.debian.org/devel/debian-installer/). Hopefully they will > take the feedback and address the issue before the next release of the > insta

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-09 Thread Jeffrey Walton
On Tue, Feb 9, 2021 at 4:51 AM Jeffrey Walton wrote: > > On Tue, Feb 9, 2021 at 2:41 AM John Paul Adrian Glaubitz > wrote: > > > > > On Feb 9, 2021, at 8:37 AM, Jeffrey Walton wrote: > > > > > > On Tue, Feb 9, 2021 at 2:21 AM John Paul Adrian Glaubitz > > > wrote: > > >> > > On Feb 9, 202

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-09 Thread Jeffrey Walton
On Tue, Feb 9, 2021 at 2:41 AM John Paul Adrian Glaubitz wrote: > > > On Feb 9, 2021, at 8:37 AM, Jeffrey Walton wrote: > > > > On Tue, Feb 9, 2021 at 2:21 AM John Paul Adrian Glaubitz > > wrote: > >> > On Feb 9, 2021, at 8:07 AM, Jeffrey Walton wrote: > >>> > >>> After install the machin

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
> On Feb 9, 2021, at 8:37 AM, Jeffrey Walton wrote: > > On Tue, Feb 9, 2021 at 2:21 AM John Paul Adrian Glaubitz > wrote: >> On Feb 9, 2021, at 8:07 AM, Jeffrey Walton wrote: >>> >>> After install the machine reboots automatically. We are not given an >>> opportunity to stop the rebo

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread Jeffrey Walton
On Tue, Feb 9, 2021 at 2:21 AM John Paul Adrian Glaubitz wrote: > > > On Feb 9, 2021, at 8:07 AM, Jeffrey Walton wrote: > > > > After install the machine reboots automatically. We are not given an > > opportunity to stop the reboot. > > In fact, we are not even told a reboot > > is going to happe

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
> On Feb 9, 2021, at 8:07 AM, Jeffrey Walton wrote: > > After install the machine reboots automatically. We are not given an > opportunity to stop the reboot. > In fact, we are not even told a reboot > is going to happen. That’s not true. The last screen does exactly that. It asks you whethe

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread Jeffrey Walton
On Tue, Feb 2, 2021 at 7:23 AM John Paul Adrian Glaubitz wrote: > > Hello! > > For anyone wanting to install a current Debian unstable snapshot onto their > PowerMacs, I'm going to write down a short guide how to make sure GRUB > gets installed properly (in case the installation fails). > > Use ei

Re: Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
Hello! On 2/8/21 9:49 PM, John Paul Adrian Glaubitz wrote: > Thanks to the quick help of Cameron MacPherson I was able to figure out > what's wrong > and in fact the script forgets to set SYS_PATH in l2of_scsi() which was easy > to fix: Package has been fixed: > https://packages.qa.debian.org/

Re: Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
Hello! On 2/8/21 6:31 PM, John Paul Adrian Glaubitz wrote:> Hello! > > On 2/8/21 3:14 PM, John Paul Adrian Glaubitz wrote: >> I would be surprised to see that ofpathname returns wrong paths on PowerMac >> G5s as we explicitly >> tested the tool on these machines as well. I will soon have access

Re: Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
On 2/8/21 8:35 PM, Cameron MacPherson wrote: >> What version of powerpc-utils is that? >> > > 1.3.8-2 OK. That's a bug then and it seems that the syntax for the port ID has changed in the /sys filesystem shown by the kernel. Could someone provide me with access to a PowerMac G5 running Linux, pl

Re: Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
On 2/8/21 8:24 PM, Cameron MacPherson wrote: >> Could you compare that to the output of ofpath from the Yaboot package, >> i.e. "ofpath /dev/sda{1,2,3}? >> > > the ofpath from that ppc64 results are different > > /ht@0,f200/pci@7/k2-sata-root@c/@0/@0 > /ht@0,f200/pci@7/k2-sata-root@c/@0/@

Re: Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
On 2/8/21 7:52 PM, Cameron MacPherson wrote: >> # ofpathname /dev/sda >> # ofpathname /dev/sda1 >> # ofpathname /dev/sda2 > > i only have one drive on a powermac7,2: > > /ht@0,f200/pci@7/k2-sata-root@c/@-1/@0 > /ht@0,f200/pci@7/k2-sata-root@c/@-1/@0:1 > /ht@0,f200/pci@7/k2-sata-root@c/

Verifying ofpathname - was: Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
Hello! On 2/8/21 3:14 PM, John Paul Adrian Glaubitz wrote: > I would be surprised to see that ofpathname returns wrong paths on PowerMac > G5s as we explicitly > tested the tool on these machines as well. I will soon have access to my G5 > machines again so I > verify that myself. There might b

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread Mark Cave-Ayland
On 08/02/2021 13:55, Johannes Brakensiek wrote: On 8 Feb 2021, at 14:45, Mark Cave-Ayland wrote: This path looks wrong - according to the aliases listing at https://www.mail-archive.com/misc@openbsd.org/msg164291.html th

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread John Paul Adrian Glaubitz
Hi Mark! On 2/8/21 2:45 PM, Mark Cave-Ayland wrote: >> # nvsetenv boot-device "/ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2,\\:grub" > ^^^ > This path looks wrong - according to the aliases listing at > https://www.mail-archive.com/mis

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread Johannes Brakensiek
On 8 Feb 2021, at 14:45, Mark Cave-Ayland wrote: This path looks wrong - according to the aliases listing at https://www.mail-archive.com/misc@openbsd.org/msg164291.html the unit address of the k2-sata device which is a child of the k2-sata-root device should be 0, whereas above it is given

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-08 Thread Mark Cave-Ayland
On 08/02/2021 00:00, John Paul Adrian Glaubitz wrote: On 2/8/21 12:51 AM, Rick Thomas wrote: # ofpathname /dev/sda2 /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2 # nvram --print-config=boot-device /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2,\grub # grub-install --macppc-directory=/boot/grub I

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-07 Thread Rick Thomas
Having done the complete install (including the workaround steps) yesterday, and not wanting to spend the time to do it all again, I booted into rescue mode and executes a shell in the /target system. I had to manually mount /boot/grub from /dev/sa2 because the rescue mode didn't do it automati

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-07 Thread John Paul Adrian Glaubitz
On 2/8/21 12:51 AM, Rick Thomas wrote: > # ofpathname /dev/sda2 > /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2 > > # nvram --print-config=boot-device > /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2,\grub > > # grub-install --macppc-directory=/boot/grub > Installing for powerpc-ieee1275 platform. >

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-07 Thread John Paul Adrian Glaubitz
On 2/7/21 11:18 AM, Rick Thomas wrote: > On Sun, Feb 7, 2021, at 12:43 AM, John Paul Adrian Glaubitz wrote: >> On 2/7/21 1:18 AM, Rick Thomas wrote: >>> But when it rebooted, all I got was a folder icon with a blinking question >>> mark. >> >> Did you verify that: >> >> - /ht@0,f200/pci@5/k2-s

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-07 Thread Rick Thomas
On Sun, Feb 7, 2021, at 12:43 AM, John Paul Adrian Glaubitz wrote: > On 2/7/21 1:18 AM, Rick Thomas wrote: > > But when it rebooted, all I got was a folder icon with a blinking question > > mark. > > Did you verify that: > > - /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2 corresponds to the pa

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-07 Thread John Paul Adrian Glaubitz
On 2/7/21 1:18 AM, Rick Thomas wrote: > But when it rebooted, all I got was a folder icon with a blinking question > mark. Did you verify that: - /ht@0,f200/pci@5/k2-sata-root@c/@-1/@0:2 corresponds to the partition where /boot/grub is mounted and GRUB was installed? - Is the filesystem m

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image) -- Works on 32-bit powerpc G4!

2021-02-07 Thread Rick Thomas
clock533.32MHz motherboard PowerMac3,4 MacRISC2 MacRISC Power Macintosh detected as 69 (PowerMac G4 Silver) VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV250 [Radeon 9000 Series] (rev 01) > On Sat, Feb 6, 2021, at 8:59 PM, Christian Cal

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image) -- Works on 32-bit powerpc G4!

2021-02-06 Thread Christian Calderon
Question for Rick, which G4 are you using and what graphics card? I'm thinking about doing this on my FW800. ~ Christian Calderon On Sat, Feb 6, 2021 at 8:00 PM Rick Thomas wrote: > > > On Tue, Feb 2, 2021, at 4:22 AM, John Paul Adrian Glaubitz wrote: > > Hello! > > > > For anyone wanting to i

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image) -- Works on 32-bit powerpc G4!

2021-02-06 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:22 AM, John Paul Adrian Glaubitz wrote: > Hello! > > For anyone wanting to install a current Debian unstable snapshot onto their > PowerMacs, I'm going to write down a short guide how to make sure GRUB > gets installed properly (in case the installation fails). > > Us

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-06 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:22 AM, John Paul Adrian Glaubitz wrote: > Hello! > > For anyone wanting to install a current Debian unstable snapshot onto their > PowerMacs, I'm going to write down a short guide how to make sure GRUB > gets installed properly (in case the installation fails). > > Us

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-04 Thread John Paul Adrian Glaubitz
Hello Rick! On 2/4/21 4:25 AM, Rick Thomas wrote: >> You can verify the correct path with: >> >> # nvram --print-config=boot-device >> >> Can you paste the output here? > > OK, here's the output. > (...) > Hope it helps! It doesn't really help as you didn't provide the output of the command:

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-03 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:57 PM, John Paul Adrian Glaubitz wrote: > On 2/3/21 1:44 AM, Rick Thomas wrote: > > So I tried this. I installed from the 2021-02-02 NETINST ppc64 on my G5 > > powermac. > > When it got to the end and wanted to reboot, I switched to the F2 console > > and ran > > the a

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-02 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:57 PM, John Paul Adrian Glaubitz wrote: > On 2/3/21 1:44 AM, Rick Thomas wrote: > > So I tried this. I installed from the 2021-02-02 NETINST ppc64 on my G5 > > powermac. > > When it got to the end and wanted to reboot, I switched to the F2 console > > and ran > > th

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-02 Thread John Paul Adrian Glaubitz
On 2/3/21 2:49 AM, Rick Thomas wrote: > What I did was to install in expert mode, when it got to installing special > parts, > I asked it to install the network console. Then I allowed it to proceed and > (after > a bit) I was invited to log in via ssh, which I did. > > That way I was able to ru

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-02 Thread Rick Thomas
On Tue, Feb 2, 2021, at 4:22 AM, John Paul Adrian Glaubitz wrote: > Hello! > > For anyone wanting to install a current Debian unstable snapshot onto their > PowerMacs, I'm going to write down a short guide how to make sure GRUB > gets installed properly (in case the installation fails). > > Use e

Re: Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-02 Thread John Paul Adrian Glaubitz
On 2/3/21 1:44 AM, Rick Thomas wrote: > So I tried this. I installed from the 2021-02-02 NETINST ppc64 on my G5 > powermac. > When it got to the end and wanted to reboot, I switched to the F2 console and > ran > the above routine. Then I allowed it to reboot. You probably did not copy the ins

Workaround for installing Debian onto PowerMacs (2020-02-02 image)

2021-02-02 Thread John Paul Adrian Glaubitz
Hello! For anyone wanting to install a current Debian unstable snapshot onto their PowerMacs, I'm going to write down a short guide how to make sure GRUB gets installed properly (in case the installation fails). Use either the powerpc or ppc64 image depending on your machine type: > https://cdim