Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Linux User #330250
On 06/02 2023 06:25 Ben Westover wrote: It turns out that adding &device; alone is not enough since it refers to only the drive and not the partition along with it. &device;:&partition; is what was actually needed. Fixed script is attached. Wow. Thanks. On my Power Mac G5, &device; alone alway

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Ben Westover
Hello, It turns out that adding &device; alone is not enough since it refers to only the drive and not the partition along with it. &device;:&partition; is what was actually needed. Fixed script is attached. -- Ben Westover MacRISC MacRISC3 MacRISC4 PowerPC GNU/Linux First Stage Bootstrap

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Ben Westover
Hello, On 6/1/23 1:59 AM, Linux User #330250 wrote: The only thing that I can think of that might make the script slightly better was if you used &device; for \grub, because this should default to the current partition (where stage1 is on), and this is presumably where GRUB is as well... I.e.,

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Ben Westover
Hello, On 6/1/23 10:34 PM, Paul Wise wrote: As for how this script could be integrated into Debian, it should definitely not be put into the GRUB package. As Glaubitz has said, the goal is for as little PowerPC-specific patches to be put into these core packages as possible. GRUB's also not real

Re: How are CHRP bootinfo icons formatted?

2023-06-01 Thread Ben Westover
On 6/1/23 4:18 PM, Ben Westover wrote: I have no idea what the second one is supposed to be and how I can create it. One thing I tested was just making the first and second bitmaps the exact same. When I did this, it produced what looked like a color-inverted version of the image. So, the nex

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Paul Wise
On Thu, 2023-06-01 at 13:45 -0400, Ben Westover wrote: > As for how this script could be integrated into Debian, it should > definitely not be put into the GRUB package. As Glaubitz has said, > the goal is for as little PowerPC-specific patches to be put into > these core packages as possible. GRU

How are CHRP bootinfo icons formatted?

2023-06-01 Thread Ben Westover
Hello, Every Linux bootinfo file I've seen for PowerMacs has had either the GNU logo for GRUB or the Tux for yaboot. Here's an example of the Tux: 1010 F8FEACF6 00F5FEFEF500 002BFAFEFAFCF700 00F65D5857812B00 0

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Ben Westover
Hello, On June 1, 2023 1:01:49 PM EDT, Stan Johnson wrote: > Would this solution allow both PowerPC and Intel Macs to boot Mac OS? > Whichever solution is used would need to be supported by the GRUB > developers or Debian (perhaps through a GRUB patch or a separate package?). This script would n

Re: Why it's so difficult to fix PowerMac booting for good

2023-06-01 Thread Stan Johnson
Hello Ben, On 5/31/23 10:55 PM, Ben Westover wrote: > On 5/31/23 10:20 AM, Ben Westover wrote: >> ... instead of trying to integrate chainloading functionality >> into GRUB itself, we could just set a similar script to run before GRUB >> that allows you to make that selection. > > I have just tes