Re: Sorry for the noise... WAS: Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread John Paul Adrian Glaubitz
On 5/1/19 9:50 PM, Linux User #330250 wrote: > Sorry for my stupid comment, but I wanted to know why you don't consider > using a simple CHRP boot script as a wrapper? My primary intention is to simplify and unify the bootloader configuration for debian-installer across all architectures and there

Sorry for the noise... WAS: Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread Linux User #330250
Hi! Sorry for my stupid comment, but I wanted to know why you don't consider using a simple CHRP boot script as a wrapper? According to this FreeBSD document, a CHRP script must be used for the "c" key to work and let OF find the optical drive (such as CD-ROM) to be bootable in the first place. h

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread Thomas Schmitt
Hi, John Paul Adrian Glaubitz wrote: > Looking at the grub-mkrescue.c source, I figured the proper linking would > be: > xorriso_link ("/System/Library/CoreServices/grub.elf", > "/boot/grub/powerpc-ieee1275/core.elf"); In the end it produces this pathspec /System/Library/CoreServices/gru

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread John Paul Adrian Glaubitz
On 5/1/19 7:43 PM, Thomas Schmitt wrote: > You need to enable HFS+ production (or maybe future HFS production) > > xorriso_push ("-hfsplus"); > xorriso_push ("-apm-block-size"); > xorriso_push ("2048"); Gotcha. > The block size might be adjustable to 512, if a reaso

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread Thomas Schmitt
Hi, John Paul Adrian Glaubitz wrote: > On the other hand, having HFS support in libisofs is still desirable > for OldWorld Macs and m68k Macs, (We should better not tell the Fridays-For-Future kids. The MIPS/Watt ratio must be subterran.) > Looking at grub-mkrescue [1], I assume the options we

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread John Paul Adrian Glaubitz
On 5/1/19 4:13 PM, John Paul Adrian Glaubitz wrote: > So, I think we currently have all the means to switch Debian powerpc > and Debian ppc64 over from Yaboot to GRUB, so let's work on that. Looking at grub-mkrescue [1], I assume the options we need are: if (system_area == SYS_AREA_COMMON)

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread John Paul Adrian Glaubitz
On 4/29/19 2:05 PM, Thomas Schmitt wrote: > But first you should explore whether ppc64 is served by grub-mkrescue's > way of HFS+. Vladimir must have had some architecture in mind, when he > contributed that code to libisofs and asked for the xorrisofs options > to control it. > > What happens if

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread Thomas Schmitt
Hi, i notice that i sent this to the wrong thread of debian-powerpc and did not Cc the intended other receivers. So again. John Paul Adrian Glaubitz wrote: > > What about a funding? I would actually be willing to shell out

Re: Switching debian-installer CD images to GRUB

2019-05-01 Thread John Paul Adrian Glaubitz
On 5/1/19 5:52 AM, Mark Cave-Ayland wrote: > Certainly if there were some funding available, this is something that I > could look > at if required. Currently my free time is limited (and already fairly busy) > but with > sponsorship there is the potential to allocate time within the working week

Re: Switching debian-installer CD images to GRUB

2019-04-30 Thread Mark Cave-Ayland
On 29/04/2019 13:05, Thomas Schmitt wrote: > Hi, > > i wrote: >>> [...] Fedora HFS image [...] >>> I think Fedora uses hfsutils to create and populate it. > >> My colleague Marcus Schaefer at SUSE told me >> about this solution. He's the maintainer of SUSE's KIWI image tool (but >> I think you k

Re: Switching debian-installer CD images to GRUB

2019-04-30 Thread Mark Cave-Ayland
On 29/04/2019 11:08, John Paul Adrian Glaubitz wrote: > Hi Thomas! > > On 4/29/19 9:41 AM, Thomas Schmitt wrote: >> John Paul Adrian Glaubitz wrote: >>> Btw, I was wondering how much it would take to add HFS support to >>> xorriso but I guess the necessary changes are so extensive which >>> is wh

Re: Switching debian-installer CD images to GRUB

2019-04-30 Thread Linux User #330250
On 28.04.2019, 23:15, Frank Scheiner wrote: > > I just checked the OF on my 11,2 type Power Mac G5 and it - in addition > to `fat-files` (I assume this contains support for FAT file systems) > `mac-files` (I assume this contains support for HFS) - has > `hfs-plus-files` and `iso-9660-files` in `/pa

Re: Switching debian-installer CD images to GRUB

2019-04-29 Thread Thomas Schmitt
Hi, i wrote: > > [...] Fedora HFS image [...] > > I think Fedora uses hfsutils to create and populate it. > My colleague Marcus Schaefer at SUSE told me > about this solution. He's the maintainer of SUSE's KIWI image tool (but > I think you know that ;)). I had contact with him last year. > We

Re: Switching debian-installer CD images to GRUB

2019-04-29 Thread John Paul Adrian Glaubitz
Hi Thomas! On 4/29/19 9:41 AM, Thomas Schmitt wrote: > John Paul Adrian Glaubitz wrote: >> Btw, I was wondering how much it would take to add HFS support to >> xorriso but I guess the necessary changes are so extensive which >> is why it's not been done yet. > > I obtained (hopefully complete) HF

Re: Switching debian-installer CD images to GRUB

2019-04-29 Thread John Paul Adrian Glaubitz
Hi Thomas! On 4/28/19 9:49 PM, Thomas Schmitt wrote: > John Paul Adrian Glaubitz wrote: >> So, the first question is whether xorriso supports HFS volumes > > No. Only HFS+, contributed by Vladimir Serbinenko for x86 Macs and > used in grub-mkrescue ISOs for x86 EFI. Okay. > The xorrisofs option

Re: Switching debian-installer CD images to GRUB

2019-04-29 Thread Thomas Schmitt
Hi, John Paul Adrian Glaubitz wrote: > Btw, I was wondering how much it would take to add HFS support to > xorriso but I guess the necessary changes are so extensive which > is why it's not been done yet. I obtained (hopefully complete) HFS specs and had to learn that it is not easily implementab

Re: Switching debian-installer CD images to GRUB

2019-04-28 Thread John Paul Adrian Glaubitz
On 4/28/19 11:15 PM, Frank Scheiner wrote: > Probably answering my second question: > > I just checked the OF on my 11,2 type Power Mac G5 and it - in addition > to `fat-files` (I assume this contains support for FAT file systems) > `mac-files` (I assume this contains support for HFS) - has > `hfs

Re: Switching debian-installer CD images to GRUB

2019-04-28 Thread Frank Scheiner
Hi again, On 4/28/19 21:56, Frank Scheiner wrote: Other question: Does anybody know if NewWorld Power Macs could maybe also boot from HFS+ instead of HFS or FAT(16)? Probably answering my second question: I just checked the OF on my 11,2 type Power Mac G5 and it - in addition to `fat-files` (

Re: Switching debian-installer CD images to GRUB

2019-04-28 Thread Thomas Schmitt
Hi, i wrote: > > One could do it with HFS like Fedora ISO does with HFS+. > > A small HFS+ filesystem image is marked in APM as Apple_HFS. In the ISO > > it has the name /images/macboot.img. Frank Scheiner wrote: > Is that the same method as what `mkfs.hfs` can do with option: > -w Adds an HF

Re: Switching debian-installer CD images to GRUB

2019-04-28 Thread Frank Scheiner
Hi, On 4/28/19 21:49, Thomas Schmitt wrote: One could do it with HFS like Fedora ISO does with HFS+. A small HFS+ filesystem image is marked in APM as Apple_HFS. In the ISO it has the name /images/macboot.img. Is that the same method as what `mkfs.hfs` can do with option: ``` -w Adds an H

Re: Switching debian-installer CD images to GRUB

2019-04-28 Thread Thomas Schmitt
Hi, John Paul Adrian Glaubitz wrote: > So, the first question is whether xorriso supports HFS volumes No. Only HFS+, contributed by Vladimir Serbinenko for x86 Macs and used in grub-mkrescue ISOs for x86 EFI. The xorrisofs options used by grub-mkrescue for HFS+ are: -hfsplus -apm-block-size 2

Switching debian-installer CD images to GRUB

2019-04-28 Thread John Paul Adrian Glaubitz
Hi! After successfully switching debian-installer CD images for sparc/sparc64(*) over to GRUB from SILO, I would like to tackle the CD images for powerpc and ppc64 next. The first step would probably to copy the boot configuration from ppc64el in debian-installer [1] and debian-cd [2] and adapt i