On 06/02 2023 22:38 Ben Westover wrote:
Hello,
On 6/2/23 1:56 AM, Linux User #330250 wrote:
One thing that concerns me a bit is putting Linux's CHRP boot script
into /System/Library/CoreServices/BootX, which is specific to Mac OS X.
Why is this necessary?
It's not necessary, it's just that
Hello,
On 6/2/23 1:56 AM, Linux User #330250 wrote:
One thing that concerns me a bit is putting Linux's CHRP boot script
into /System/Library/CoreServices/BootX, which is specific to Mac OS X.
Why is this necessary?
It's not necessary, it's just that the existing script placed by GRUB to
Hello,
On 6/1/23 11:56 PM, Linux User #330250 wrote:
> On 06/02 2023 06:25 Ben Westover wrote:
>> It turns out that adding alone is not enough since it refers to
>> only the drive and not the partition along with it. :
>> is what was actually needed. Fixed script is attached.
>
>
> Wow.
On 06/02 2023 06:25 Ben Westover wrote:
It turns out that adding alone is not enough since it refers to
only the drive and not the partition along with it. :
is what was actually needed. Fixed script is attached.
Wow. Thanks. On my Power Mac G5, alone always worked. Strange.
One thing that
Hello,
It turns out that adding alone is not enough since it refers to
only the drive and not the partition along with it. :
is what was actually needed. Fixed script is attached.
--
Ben Westover
MacRISC MacRISC3 MacRISC4
PowerPC GNU/Linux First Stage Bootstrap
: .printf fb8-write
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 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., the
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
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.
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
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
On 06/01 2023 06:55 Ben Westover wrote:
On 5/31/23 10:20 AM, Ben Westover wrote:
AFAIR yaboot does its magic within the CHRP boot script. It would be
relatively easy to add an option to load GRUB, I guess. The "chain"
would then start by choosing Mac OS (Classic), Mac OS X, or GRUB, via
the
On 5/31/23 10:20 AM, Ben Westover wrote:
AFAIR yaboot does its magic within the CHRP boot script. It would be
relatively easy to add an option to load GRUB, I guess. The "chain"
would then start by choosing Mac OS (Classic), Mac OS X, or GRUB, via
the yaboot CHRP script. But then, GRUB would be
Hello,
On May 30, 2023 12:42:39 PM EDT, Linux User #330250
wrote:
> On 05/30 2023 17:13 Stan Johnson wrote:
> > On 5/30/23 7:16 AM, Ben Westover wrote:
> >> The GRUB Manual [1] says that the PPC port of GRUB only supports booting
> >> Linux at the moment. AFAIK booting macOS with GRUB on x86
On 5/30/23 10:42 AM, Linux User #330250 wrote:
> On 05/30 2023 17:13 Stan Johnson wrote:
>> On 5/30/23 7:16 AM, Ben Westover wrote:
>>> The GRUB Manual [1] says that the PPC port of GRUB only supports
>>> booting Linux at the moment. AFAIK booting macOS with GRUB on x86
>>> machines works by just
On 05/30 2023 17:13 Stan Johnson wrote:
On 5/30/23 7:16 AM, Ben Westover wrote:
The GRUB Manual [1] says that the PPC port of GRUB only supports booting Linux
at the moment. AFAIK booting macOS with GRUB on x86 machines works by just
chainloading macOS' UEFI bootloader. I assume this is what
Hello Ben,
On 5/30/23 7:16 AM, Ben Westover wrote:
> Hello,
>
> On May 30, 2023 6:45:03 AM EDT, Linux User #330250
> wrote:
>>> The last time I installed Debian SID with GRUB on a PowerBook Pismo, the
>>> Apple_Bootstrap partition was mounted as /boot/grub (it might have been
>>> /boot, I
Hello,
On May 30, 2023 6:45:03 AM EDT, Linux User #330250
wrote:
> > The last time I installed Debian SID with GRUB on a PowerBook Pismo, the
> > Apple_Bootstrap partition was mounted as /boot/grub (it might have been
> > /boot, I don't remember now). But it was a persistent mount. Everything
>
On 05/29 2023 21:01 Stan Johnson wrote:
I don't know anything about Apple_Boot, but you are likely right that it
is also hidden from Mac OS 9 and Mac OS X. It appears Apple_Bootstrap is
used only by NewWorld PowerPC Macs. It's just an HFS-formatted partition
that is type Apple_Bootstrap instead
On 5/28/23 3:36 PM, Linux User #330250 wrote:
> One more (quite long) follow-up: (sorry for the length!)
>
> On 05/27 2023 20:05, Stan Johnson wrote:
>> The partition should be Apple_Bootstrap, type Apple_Bootstrap. That way
>> it's HFS but not normally accessed via Mac OS X.
>
> In my
Hello Karl!
On Mon, 2023-05-29 at 18:32 +0200, Karl wrote:
> I would second that also. Unfortunately, PowerPC support is dwindling
> from year to year. There are only a handful of distributions left that
> support big-endian. I’m using ppc64le myself.
IBM is actually still maintaining support
On Mon, 2023-05-29 at 18:00 +0200, Linux User #330250 wrote:
> I would like to second that: Adrian, thanks for the hard work to keep
> Debian powerpc alive!
>
> I also don't turn my PowerMacs on that often these days. Non-the-less,
> and even more so when I do, Adrian, your work is very much
Hi Johannes!
On Mon, 2023-05-29 at 17:49 +0200, Johannes Brakensiek wrote:
> just wanted to thank you for your ongoing perservering and
> knowledgeable effort to keep supporting PowerPCs!
>
> I think you're on the right track! Even though I don't find time to
> boot my PowerPCs often these days,
I would second that also. Unfortunately, PowerPC support is dwindling from year
to year. There are only a handful of distributions left that support
big-endian. I’m using ppc64le myself.
Thank you!
> Am 29.05.2023 um 18:00 schrieb Linux User #330250 :
>
> On 05/29 2023 17:49 Johannes
On 05/29 2023 17:49 Johannes Brakensiek wrote:
Hi Adrian,
just wanted to thank you for your ongoing perservering and
knowledgeable effort to keep supporting PowerPCs!
I think you're on the right track! Even though I don't find time to
boot my PowerPCs often these days, each time I do I'm happy
Hi Adrian,
just wanted to thank you for your ongoing perservering and
knowledgeable effort to keep supporting PowerPCs!
I think you're on the right track! Even though I don't find time to
boot my PowerPCs often these days, each time I do I'm happy they `apt
upgrade` and still work.
So your work
On 05/29 2023 16:56 John Paul Adrian Glaubitz wrote:
hfsutils works like mtools, it doesn't use the kernel's VFS layer. Tools like
"fsck"
and "mkfs" are still on the TODO list as you can see in the TODO file [2] ...
Thanks, I missed this important detail. hformat is just a stub, it
doesn't
> On May 29, 2023, at 4:34 PM, Linux User #330250
> wrote:
>
> On 05/29 2023 13:52 John Paul Adrian Glaubitz wrote:
>
> BTW, a workaround similar to the one yaboot may use would be to only
> have an image of an empty HFS volume (of fixed size) as a package, and
> use the free (now
On 05/29 2023 13:52 John Paul Adrian Glaubitz wrote:
For one, Gentoo is not Debian. And secondly, you cannot just look at the
upstream sources since there are also many downstream changes in the Debian
package in the form of patches to fix compatibility issues, CVEs and so on.
Makes sense,
On Mon, 2023-05-29 at 13:40 +0200, Linux User #330250 wrote:
> On 05/29 2023 07:59 John Paul Adrian Glaubitz wrote:
> > You're underestimating the number of times the GRUB package gets updated,
> > that happens a lot [1] which is why I don't think your suggestion to use a
> > static GRUB image is
On 05/29 2023 07:59 John Paul Adrian Glaubitz wrote:
You're underestimating the number of times the GRUB package gets updated,
that happens a lot [1] which is why I don't think your suggestion to use a
static GRUB image is ever going to fly.
I don't see that many GRUB version updates on Gentoo
Hello!
On Sun, 2023-05-28 at 23:36 +0200, Linux User #330250 wrote:
> In this scenario /dev/sda2, the HFS boot configuration with a static
> GRUB, would never get mounted. There's no need to. All it does is load
> /boot/grub/grub.cfg, and this is on /dev/sda3, an ext2/3/4 or any other
> suitable
One more (quite long) follow-up: (sorry for the length!)
On 05/27 2023 20:05, Stan Johnson wrote:
The partition should be Apple_Bootstrap, type Apple_Bootstrap. That way
it's HFS but not normally accessed via Mac OS X.
In my experience any partition of type Apple_Boot is also hidden from
Mac
Hi!
On Sun, 2023-05-28 at 12:19 +0200, John Paul Adrian Glaubitz wrote:
> Yes, that is the main problem. FWIW, I have reached out to Apple's Legal
> Department and asked them whether it would be possible to relicense the
> »hfs« package under a more permissive license such as MIT or any of the
>
Hi!
On Sun, 2023-05-28 at 07:54 +0200, Linux User #330250 wrote:
> > Perhaps GRUB could use whatever yaboot uses to create the
> > Apple_Bootstrap partition and bless it with ybin, or was yaboot
> > violating Debian license rules with its ybin and use of HFS? Similarly,
> > perhaps GRUB could be
On 05/27 2023 20:05 Stan Johnson wrote:
On 5/27/23 10:34 AM, Linux User #330250 wrote:
Any thoughts?
...
It's not safe for a Linux distribution to mount the Apple_Bootstrap
partition except when it actually needs to write to it. Keeping it
mounted as /boot, or /boot/grub, leaves it vulnerable
Hello!
On Sat, 2023-05-27 at 12:05 -0600, Stan Johnson wrote:
> Perhaps GRUB could use whatever yaboot uses to create the
> Apple_Bootstrap partition and bless it with ybin, or was yaboot
> violating Debian license rules with its ybin and use of HFS? Similarly,
> perhaps GRUB could be enabled to
On 5/27/23 10:34 AM, Linux User #330250 wrote:
> ...
>
> It seems, the only real convenient way to go remains HFS or HFS+. Which
> got me thinking...
The partition should be Apple_Bootstrap, type Apple_Bootstrap. That way
it's HFS but not normally accessed via Mac OS X.
> We could make a
Okay, so this whole issue got me thinking...
I couldn't find a way to boot from FAT because it doesn't support
blessing a file. I also couldn't find a default boot file, e.g. some
bootinfo.txt or similar (boot.b, boot.bootinfo, boot.xcoff, ??) that
Open Firmware would default to and use in case
On 27.05.23 04:52, Lennart Sorensen wrote:
On Fri, May 26, 2023 at 02:14:16PM +0200, Frank Scheiner wrote:
As per `grub-install(8)`:
```
grub-install copies GRUB images into boot/grub.
```
As the call to `grub-install` is performed by `chroot` inside the root
FS of the new installation, I
On Fri, May 26, 2023 at 02:14:16PM +0200, Frank Scheiner wrote:
> As per `grub-install(8)`:
>
> ```
> grub-install copies GRUB images into boot/grub.
> ```
>
> As the call to `grub-install` is performed by `chroot` inside the root
> FS of the new installation, I assume the FAT bootstrap
Hello again,
On 26.05.23 13:44, John Paul Adrian Glaubitz wrote:
Hello!
On Fri, 2023-05-26 at 13:07 +0200, Frank Scheiner wrote:
On 24.05.23 15:25, John Paul Adrian Glaubitz wrote:
==
Installing on a FAT
Hello!
On Fri, 2023-05-26 at 13:07 +0200, Frank Scheiner wrote:
> On 24.05.23 15:25, John Paul Adrian Glaubitz wrote:
> > ==
> >
> > Installing on a FAT filesystem does not work at all. grub-install actually
> >
Hi Adrian,
On 24.05.23 15:25, John Paul Adrian Glaubitz wrote:
==
Installing on a FAT filesystem does not work at all. grub-install actually
refuses
the installation if the target directory for --macppc-directory
Hello!
On Wed, 2023-05-10 at 10:24 +0200, John Paul Adrian Glaubitz wrote:
> Installing a bootloader on a PowerMac requires an HFS or HFS+ partition where
> the initial bootloader must be copied and "blessed" such that the firmware of
> a PowerMac finds and loads the bootloader. The detailed
On Wed, May 10, 2023 at 04:58:06PM +0200, John Paul Adrian Glaubitz wrote:
> Well, it works with ISO images, that's the point. The installation CDs use
> iso9660
> as their filesystem and they have a blessed bootloader which shows in the
> firmware's
> boot menu.
>
> Thomas Schmitt briefly
Hi Adrian,
On 5/10/23 3:36 AM, John Paul Adrian Glaubitz wrote:
> Hello!
>
> On Wed, 2023-05-10 at 11:25 +0200, Frank Scheiner wrote:
>> On 10.05.23 10:24, John Paul Adrian Glaubitz wrote:
>>> [...]
>>> If we could get Apple PowerMac machines to boot from a FAT filesystem, the
>>> licensing
>>>
Hi!
On Wed, 2023-05-10 at 16:50 +0200, Frank Scheiner wrote:
> On 10.05.23 11:36, John Paul Adrian Glaubitz wrote:
> > Does your approach include a blessing tool?
>
> Not that I know of. The grub image (a copy of GRUB's `core.elf`) in the
> root of the OF bootstrap partition is configured in the
Hallo,
On 10.05.23 11:36, John Paul Adrian Glaubitz wrote:
Does your approach include a blessing tool?
Not that I know of. The grub image (a copy of GRUB's `core.elf`) in the
root of the OF bootstrap partition is configured in the OF environment
var `boot-device`. OF therefore knows what file
Hi Adrian!
thank you for detailed explanation. I am in situation, when installing
Debian Sid after several years. Previously I have Debian 8 ( with yaboot
) and then Debian 10 with some grub workaround. I simply forgot howto do
it an cannot find the new how-to.
This info is perfect. So I
Hello!
On Wed, 2023-05-10 at 11:25 +0200, Frank Scheiner wrote:
> On 10.05.23 10:24, John Paul Adrian Glaubitz wrote:
> > [...]
> > If we could get Apple PowerMac machines to boot from a FAT filesystem, the
> > licensing
> > issue with hfsprogs would no longer be a headache. According to Apple's
Hi Adrian,
On 10.05.23 10:24, John Paul Adrian Glaubitz wrote:
[...]
If we could get Apple PowerMac machines to boot from a FAT filesystem, the
licensing
issue with hfsprogs would no longer be a headache. According to Apple's
documentation,
booting from a FAT boot partition should work [4]
Hello!
Since this topic is coming up from time to time, here a short rundown why
making the bootloader installation on Apple PowerMac systems work properly.
Installing a bootloader on a PowerMac requires an HFS or HFS+ partition where
the initial bootloader must be copied and "blessed" such that
52 matches
Mail list logo