Re: yaboot installation media

2022-03-31 Thread Ben Westover
Hello, I've been able to get the G4 working again. The issue recognizing GRUB does not seem to be memory-related, as I tried each stick one at a time and was never able to boot to GRUB. This shows that unless they're all somehow faulty in the same exact way that manages to not affect normal opera

Re: yaboot installation media

2022-03-28 Thread Sam Imberman
Hi, I can confirm that I was able to boot from the image from a USB key using the line from Ben Westover in the previous message. A CD-RW and two USB keys failed to work, it worked on the third USB key -- who knows why. I have some slowness and error messages on boot ("ata1: SRST failed (errno=-16)

Re: yaboot installation media

2022-03-28 Thread Johannes Brakensiek
Am Sonntag, dem 27.03.2022 um 16:17 -0400 schrieb Jeffrey Walton: > I don't know about the G4's, but I know about the G5's. You cannot > boot a G5 from USB. You have to burn a CD and boot from the CD. Booting a G5 PowerMac 11,2 from USB works well, I don't know about the older ones. See this mail

Re: yaboot installation media

2022-03-27 Thread Ben Westover
Hello Sam, If I try to boot from Open Firmware, I try "boot usb1/disk@1:,\\grub.img" and the error after quite a long pause is "can't OPEN: usb1/disk@1:,\\grub.img Can't open device or file" Of course I can't rule out the possibility that I'm using Open Firmware wrong, after some searches of t

Re: yaboot installation media

2022-03-27 Thread Gabriel Paubert
On Sun, Mar 27, 2022 at 04:17:35PM -0400, Jeffrey Walton wrote: > On Sun, Mar 27, 2022 at 4:15 PM Sam Imberman wrote: > > > > Hi, > > I'm actually having more or less the same problem with my Powerbook G4 > > Aluminum. > > I am using the image from > > https://cdimage.debian.org/cdimage/ports/sn

Re: yaboot installation media

2022-03-27 Thread John Paul Adrian Glaubitz
Hello Sam! On 3/27/22 22:14, Sam Imberman wrote: > I am using the image from > https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-18/non-free/ , > which I burnt on a USB stick with "dd > if=./debian-11.0.0-powerpc-NETINST-1.iso of=/dev/sdg bs=1M" Please don't use these images, these are b

Re: yaboot installation media

2022-03-27 Thread Jeffrey Walton
On Sun, Mar 27, 2022 at 4:15 PM Sam Imberman wrote: > > Hi, > I'm actually having more or less the same problem with my Powerbook G4 > Aluminum. > I am using the image from > https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-18/non-free/ , > which I burnt on a USB stick with "dd > if=

Re: yaboot installation media

2022-03-27 Thread Sam Imberman
Hi, I'm actually having more or less the same problem with my Powerbook G4 Aluminum. I am using the image from https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-18/non-free/ , which I burnt on a USB stick with "dd if=./debian-11.0.0-powerpc-NETINST-1.iso of=/dev/sdg bs=1M" When I boot the

Re: yaboot installation media

2022-03-26 Thread John Paul Adrian Glaubitz
Hello Ben! On 3/25/22 21:48, Ben Westover wrote: > A thank you goes out to all the people who have attempted to help me. > In all the excitement of this endeavor, my G4's motherboard has died. I'm not surprised. > Based on previous discussion, I believe the culprit in its failure to > load GRUB

Re: yaboot installation media

2022-03-25 Thread Ben Westover
Hello, A thank you goes out to all the people who have attempted to help me. In all the excitement of this endeavor, my G4's motherboard has died. Based on previous discussion, I believe the culprit in its failure to load GRUB was the system's memory. Upon closer inspection of the machine duri

Re: yaboot installation media

2022-03-25 Thread Ben Westover
in my original attempt; I got stuck in the part where I had to patch d-i for yaboot. These new ideas of a memory fix and using debootstrap for a new chroot give me hope. Thanks again, -- Ben Westover OpenPGP_signature Description: OpenPGP digital signature

Re: yaboot installation media

2022-03-25 Thread John Paul Adrian Glaubitz
Hello! On 3/25/22 12:48, Ben Westover wrote: >> What is more likely is that you have bad memory modules in your machines and >> Yaboot >> just happens to use different memory regions which is why it's not affected >> by the >> problem. > > Hmmm… th

Re: yaboot installation media

2022-03-25 Thread Ben Westover
Hello Adrian, What is more likely is that you have bad memory modules in your machines and Yaboot just happens to use different memory regions which is why it's not affected by the problem. Hmmm… this computer came from my High School's IT department, so its RAM was upgrad

Re: yaboot installation media

2022-03-24 Thread John Paul Adrian Glaubitz
nually from Open Firmware just hangs. > In all situations where I've tried, this issue has been solved with yaboot. GRUB is known to work very well on PowerMac G4 and in my experience, it is extremely unlikely that you happen to one that single G4 Mac that does not work with GRUB. What is m

Re: yaboot installation media

2022-03-24 Thread Ken Cunningham
A previous blessed ISO (Apr 17 2021) booted my IMac G4 without any troubles. Then I just let all the defaults have their way with the machine, and wound up with a beautiful GRUB-booting system running debian 11 that has been running ever since. So there is no specific “G4” problem with GRUB….

Re: yaboot installation media

2022-03-24 Thread Ben Westover
In case it's useful, here's the exact system I have: https://everymac.com/systems/apple/powermac_g4/specs/powermac_g4_350.html It's running Open Firmware 3.1.1 (1.2f2 BootROM). This is what it came with, and I was unable to find any upgrades online for this particular model. -- Ben Westover si

Re: yaboot installation media

2022-03-24 Thread Ben Westover
Hello Jeffrey, Maybe you should try to reset the nvram? From the OF prompt, I believe the commands are reset-nvram and reset-all. Just tried that, unfortunately no effect. Thanks, -- Ben Westover OpenPGP_signature Description: OpenPGP digital signature

Re: yaboot installation media

2022-03-24 Thread Jeffrey Walton
in any way, only yaboot. It's kind of odd that things are working for you on G3's, and others have things working on G5's. Maybe you should try to reset the nvram? From the OF prompt, I believe the commands are reset-nvram and reset-all. Jeff

Re: yaboot installation media

2022-03-24 Thread lkcl
try these https://www.debian.org/ports/powerpc/inst/yaboot-howto/ http://seb.france.free.fr/linux/ibookG4/iBookG4-howto-2.html On March 25, 2022 12:00:36 AM UTC, Ben Westover wrote: >Hello, > >I haven't been able to get any GRUB installation media to work on my >PowerMac G4.

Re: yaboot installation media

2022-03-24 Thread Ben Westover
Hello, try these https://www.debian.org/ports/powerpc/inst/yaboot-howto/ http://seb.france.free.fr/linux/ibookG4/iBookG4-howto-2.html My issue lies with actually booting the install media. These are of no help to me; I already know how yaboot works. it would not surprise me if the default

yaboot installation media

2022-03-24 Thread Ben Westover
ve tried, this issue has been solved with yaboot. I tried to create some yaboot install media, but I've seen that it would require patching debian-installer and I'm not sure where to start with that. If anyone could help in this process of creating install media that uses yaboot instead

Re: Help with yaboot configuration

2021-02-19 Thread Bob McGowan
On 2/19/21 4:09 PM, John Paul Adrian Glaubitz wrote: Hi Bob! On 2/19/21 7:47 AM, Bob McGowan wrote: The kernel prints a bunch of normal type lines, then panics because it can't find the root device. It also reports a list of partitions it can find. The only disks are the ram disk (partition

Re: Help with yaboot configuration

2021-02-19 Thread Bob McGowan
ve so far not been able to figure out how to do this. I have probably copied more to the 9G disk than really needed but even so, it fails. I have recreated the contents of /boot on the OSX disk, including symlinks. I start from OF with the command: boot /pci@8000/pci-bridge@d/scsi@4/@0:

Re: Help with yaboot configuration

2021-02-19 Thread John Paul Adrian Glaubitz
Hi Bob! On 2/19/21 7:47 AM, Bob McGowan wrote: > The kernel prints a bunch of normal type lines, then panics because it can't > find the root > device. It also reports a list of partitions it can find. The only disks > are the ram disk > (partitions 0-15) and sr0. > > This looks like it is mi

Re: Help with yaboot configuration

2021-02-19 Thread Jeffrey Walton
. I start from OF with the command: > > boot /pci@8000/pci-bridge@d/scsi@4/@0:6,/yaboot > > This generates an error about invalid partition type and a boot prompt. > I then try, at yaboot's boot prompt: > > /pci@8000/pci-bridge@d/scsi@4/@0:6,/boot/vmlinux ro

Help with yaboot configuration

2021-02-18 Thread Bob McGowan
to the 9G disk than really needed but even so, it fails.  I have recreated the contents of /boot on the OSX disk, including symlinks.  I start from OF with the command:     boot  /pci@8000/pci-bridge@d/scsi@4/@0:6,/yaboot This generates an error about invalid partition type and a boot pr

Re: yaboot with updated e2fsprogs

2020-09-12 Thread Richard Allen
> And there is also this patch, needed for many G4 iBooks: Thanks John, I'm unsure how to reproduce the issue Tony Breeds was worried about as kernel sizes have roughly doubled in the past three years. It is merged and tested against my dual-G5. If this causes an issue for anyone else we can look

Re: yaboot with updated e2fsprogs

2020-09-12 Thread Richard Allen
Hi Adrian, > I just remembered that the Yaboot package in Debian actually contains a couple > of patches which should be upstreamed. I have merged the Debian patches except for branding. Currently, I'm building e2fsprogs from source as a submodule since I needed to disable some feat

Re: yaboot with updated e2fsprogs

2020-09-10 Thread Richard Allen
John, Adrian, I have compiled your patches into a pair of branches, and will look at merging them soon. -Richard -Richard

Re: yaboot with updated e2fsprogs

2020-09-09 Thread John Ogness
On 2020-09-09, John Paul Adrian Glaubitz wrote: > I just remembered that the Yaboot package in Debian actually contains > a couple of patches which should be upstreamed. And there is also this patch, needed for many G4 iBooks: https://lists.debian.org/debian-powerpc/2017/10/msg00118.html

Re: yaboot with updated e2fsprogs

2020-09-09 Thread John Paul Adrian Glaubitz
Hi Richard! On 9/9/20 5:38 AM, Richard Allen wrote: > I'm unsure if this is helpful for anyone, but I started hacking > on yaboot a few days ago for GCC10 and better ext4 support. > This boots my PowerMacG5, but I have yet to try booting a > 64-bit ext4 /boot partition - the

Re: yaboot with updated e2fsprogs

2020-09-09 Thread Ed Robbins
Awesome! Notably grub can't yet boot OS X on PPC AFAIK. On Wed, 9 Sep 2020 at 09:01, John Paul Adrian Glaubitz wrote: > > Hi Richard! > > On 9/9/20 5:38 AM, Richard Allen wrote: > > I'm unsure if this is helpful for anyone, but I started hacking > > on yaboot a

Re: yaboot with updated e2fsprogs

2020-09-09 Thread John Paul Adrian Glaubitz
Hi Richard! On 9/9/20 5:38 AM, Richard Allen wrote: > I'm unsure if this is helpful for anyone, but I started hacking > on yaboot a few days ago for GCC10 and better ext4 support. > This boots my PowerMacG5, but I have yet to try booting a > 64-bit ext4 /boot partition - the

yaboot with updated e2fsprogs

2020-09-08 Thread Richard Allen
I'm unsure if this is helpful for anyone, but I started hacking on yaboot a few days ago for GCC10 and better ext4 support. This boots my PowerMacG5, but I have yet to try booting a 64-bit ext4 /boot partition - the updated e2fsprogs should support it though. It's still a little kludgy

Migrate from yaboot to grub2

2020-05-11 Thread Elimar Riesebieter
Hi all, what ist the best practice to switch a G4 Powerbook running latest sid from yaboot to grub2? Thanks in advance Elimar -- Numeric stability is probably not all that important when you're guessing;-)

Re: install of GRUB and yaboot

2018-11-28 Thread Frank Scheiner
to [1], which I originally followed to get my first G5 to boot with GRUB instead of yaboot. [1]: http://cynic.cc/blog/posts/running_grub2_on_powerpc_macs/ This howto creates a GRUB image with all needed stuff to boot that fits into the per-default about 1 MiB sized NewWorld/HFS partition that

install of GRUB and yaboot

2018-11-28 Thread Riccardo Mottola
directly, even if the installer uses yaboot 2) partition differently from automatic partitioning, however install yaboot and then try to "upgrade" 3) ? At least, with the correct partition, I might be able to install grub later. I understand the default yaboot partition is

Re: Processing of yaboot-installer_1.1.40_source.changes

2018-08-29 Thread Cyril Brulebois
> > sparc-utils > > are living in unreleased. > > > > Interesting, maybe I should update yaboot-installer for ppc64 support. > > I will upload another new version of yaboot-installer to add ppc64 support, > coordinated with Adrian. Since no release arch is affe

Re: Processing of yaboot-installer_1.1.40_source.changes

2018-08-29 Thread Holger Wansing
h URLs in debian/control to Salsa: > > Odd, to my surprise it did actually work. According to what Aurelien had said > in the past, such uploads aren't possible which is why things like sparc-utils > are living in unreleased. > > Interesting, maybe I should update yaboot-insta

Re: Processing of yaboot-installer_1.1.40_source.changes

2018-08-27 Thread John Paul Adrian Glaubitz
ctually work. According to what Aurelien had said in the past, such uploads aren't possible which is why things like sparc-utils are living in unreleased. Interesting, maybe I should update yaboot-installer for ppc64 support. Adrian -- .''`. John Paul Adrian Glaubitz : :&#

Re: Processing of yaboot-installer_1.1.40_source.changes

2018-08-27 Thread Holger Wansing
Hi, John Paul Adrian Glaubitz wrote: > On 8/27/18 7:55 PM, Debian FTP Masters wrote: > > yaboot-installer_1.1.40_source.changes uploaded successfully to localhost > > along with the files: > > yaboot-installer_1.1.40.dsc > > yaboot-installer

Re: Processing of yaboot-installer_1.1.40_source.changes

2018-08-27 Thread John Paul Adrian Glaubitz
On 8/27/18 7:55 PM, Debian FTP Masters wrote: > yaboot-installer_1.1.40_source.changes uploaded successfully to localhost > along with the files: > yaboot-installer_1.1.40.dsc > yaboot-installer_1.1.40.tar.xz > yaboot-installer_1.1.40_powerpc.buildinfo This is not going

Re: [PATCH 2/5] Detect and select NewWorld bootstrap partitions (adapted from d-i/yaboot-installer).

2017-11-16 Thread Frank Scheiner
On 11/14/2017 02:23 PM, John Paul Adrian Glaubitz wrote: [...] +- Detect and select NewWorld bootstrap partitions (adapted from d-i/yaboot-installer). Please strip the "(adapted from d-i/yaboot-installer)." from the changelog entry and commit message. Also, please no

Re: [PATCH 1/5] Install hfsutils in-target for NewWorld Power Macs (adapted from d-i/yaboot-installer).

2017-11-16 Thread John Paul Adrian Glaubitz
> On Nov 16, 2017, at 9:52 AM, Frank Scheiner wrote: > >> run "dch" which should not alter the timestamp at the bottom. Please >> recreate the changelog entry with just "dch" so the timestamp doesn't >> change. > > I suspected that a tool can be used for this, though I didn't know which one. >

Re: [PATCH 1/5] Install hfsutils in-target for NewWorld Power Macs (adapted from d-i/yaboot-installer).

2017-11-16 Thread Frank Scheiner
On 11/14/2017 02:10 PM, John Paul Adrian Glaubitz wrote: On 11/06/2017 12:13 PM, Frank Scheiner wrote: The installation of the hfsutils package is located in debian/postinst similar to d-i/yaboot-installer, from which the code was adapted. But d-i/grub-installer does all in-target installations

Re: [PATCH 2/5] Detect and select NewWorld bootstrap partitions (adapted from d-i/yaboot-installer).

2017-11-14 Thread John Paul Adrian Glaubitz
ly for installations of grub-efi* packages. >* Make d-i/grub-installer work for NewWorld Power Macs: > -* Install hfsutils in-target for NewWorld Power Macs (adapted from > +- Install hfsutils in-target for NewWorld Power Macs (adapted from > + d-i/yaboot-installer). > +-

Re: [PATCH 1/5] Install hfsutils in-target for NewWorld Power Macs (adapted from d-i/yaboot-installer).

2017-11-14 Thread John Paul Adrian Glaubitz
On 11/06/2017 12:13 PM, Frank Scheiner wrote: > The installation of the hfsutils package is located in debian/postinst > similar to d-i/yaboot-installer, from which the code was adapted. But > d-i/grub-installer does all in-target installations from the > `grub-installer` script itself

[PATCH 2/5] Detect and select NewWorld bootstrap partitions (adapted from d-i/yaboot-installer).

2017-11-06 Thread Frank Scheiner
in-target for NewWorld Power Macs (adapted from +- Install hfsutils in-target for NewWorld Power Macs (adapted from + d-i/yaboot-installer). +- Detect and select NewWorld bootstrap partitions (adapted from d-i/yaboot-installer). -- Frank Scheiner Thu, 06 Nov 2017 08:42:00

[PATCH 1/5] Install hfsutils in-target for NewWorld Power Macs (adapted from d-i/yaboot-installer).

2017-11-06 Thread Frank Scheiner
The installation of the hfsutils package is located in debian/postinst similar to d-i/yaboot-installer, from which the code was adapted. But d-i/grub-installer does all in-target installations from the `grub-installer` script itself. If this is important this can still be moved to `grub-installer

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-02 Thread Frank Scheiner
On 11/02/2017 01:53 PM, John Paul Adrian Glaubitz wrote: [...] Sorry, you lost me here. What should I resend, the patches were included as compressed attachments. Should I resend them inline? My problem is that you send a wall of text, with all the patches mangled in that I have to start fi

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-02 Thread John Paul Adrian Glaubitz
On 11/02/2017 01:45 PM, Frank Scheiner wrote: Can you please focus on the patches now first and re-send them for a proper review? Sorry, you lost me here. What should I resend, the patches were included as compressed attachments. Should I resend them inline? My problem is that you send a wa

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-02 Thread Frank Scheiner
On 11/02/2017 01:34 PM, John Paul Adrian Glaubitz wrote: [...] Sorry, that came a little too late. I had already sent the patches *with* a wall of text until then. :-D My answer asking you just to send the patches came within 50 minutes after your mail. You wrote all the patches and the wall

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-02 Thread John Paul Adrian Glaubitz
On 11/02/2017 01:26 PM, Frank Scheiner wrote: On 11/01/2017 12:41 PM, John Paul Adrian Glaubitz wrote: [...] I'll send a longer mail with all info and a new subject shortly after this one. Just send the patches with a few comments. No need to write a wall of text. Sorry, that came a little t

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-02 Thread Frank Scheiner
On 11/01/2017 12:41 PM, John Paul Adrian Glaubitz wrote: [...] I'll send a longer mail with all info and a new subject shortly after this one. Just send the patches with a few comments. No need to write a wall of text. Sorry, that came a little too late. I had already sent the patches *with*

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-01 Thread John Paul Adrian Glaubitz
On 11/01/2017 11:50 AM, Frank Scheiner wrote: Thanks, with the new debconf templates added I was able to fix the detection and selection of the NewWorld boot partition and continue the work. Cool! I'll send a longer mail with all info and a new subject shortly after this one. Just send the p

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-11-01 Thread Frank Scheiner
Hi Adrian, On 10/24/2017 12:42 AM, John Paul Adrian Glaubitz wrote: On 10/22/2017 04:51 PM, John Paul Adrian Glaubitz wrote: I‘ll upload an updated ppc64 image with your template changes in about an hour. Here it is, sorry for the delay: No problem at all. I added an additional delay beginni

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread Frank Scheiner
Hi Adrian, Rick, On 10/31/2017 09:00 PM, John Paul Adrian Glaubitz wrote: On 10/31/2017 08:38 PM, Rick Thomas wrote: The only way I can contribute to this effort to get grub2 working on powerpc is if I get a clear, succinct set of instructions at the level of detail of, for example, “at this po

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread John Paul Adrian Glaubitz
. Then you can just start modifying the installed scripts while debian-installer is running and try running grub-installer again. Look at what Frank did. He looked at the yaboot-installer code, then researched what is necessary to manually install GRUB on PowerPC_NewWorld. Then he made changes to grub

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread Rick Thomas
On Oct 31, 2017, at 12:12 PM, John Paul Adrian Glaubitz wrote: > On 10/31/2017 07:57 PM, Rick Thomas wrote: >> Can you give me instructions for how to install your modifications >> during installation? I’d love to help with the debugging if I can. > > This has already been extensively discuss

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread John Paul Adrian Glaubitz
On 10/31/2017 07:57 PM, Rick Thomas wrote: > Can you give me instructions for how to install your modifications > during installation? I’d love to help with the debugging if I can. This has already been extensively discussed on the mailing list. Please refer to the archives [1]. Adrian > [1] ht

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread Rick Thomas
I expanded the HFS NewWorld >> bootstrap partition to 10MB. >> When it got to install grub or install yaboot, I first chose grub-installer. >> That failed. So I went back and tried yaboot-installer, which succeeded. >> I switched to the F2 console and mounted /dev/sda2 (th

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-31 Thread Frank Scheiner
yaboot, I first chose grub-installer. That failed. So I went back and tried yaboot-installer, which succeeded. I switched to the F2 console and mounted /dev/sda2 (the HFS partition) on /target/boot/grub then went back to the main console and tried grub-installer again. It failed again. What

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-26 Thread Milan Kupcevic
p-2/disk:,\install\yaboot Milan signature.asc Description: OpenPGP digital signature

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-26 Thread Richard Kuenz
Hello , I have one computer where the cd drive is faulty so id like to boot off firwire drvi externally. It is a powermac g5. Does someone know how to do this? Normally i boot into open firmware and type there Boot cd:\install\yaboot Von meinem iPad gesendet Am 22.10.2017 um 07:05 schrieb

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-23 Thread John Paul Adrian Glaubitz
On 10/22/2017 04:51 PM, John Paul Adrian Glaubitz wrote: > I‘ll upload an updated ppc64 image with your template changes in about an > hour. Here it is, sorry for the delay: > https://people.debian.org/~glaubitz/debian-cd/debian-9.0-ppc64-NETINST-1.iso -- .''`. John Paul Adrian Glaubitz : :'

Fwd: [PATCH] Revert "Link yaboot at 1MB"

2017-10-22 Thread Mark Balantzyan
> Wy should it not be possible to boot from usb on dual g5 2.0? I intended to convey that my machine in particular doesn’t boot USB, but GRUB/(Yaboot?) functionality should most certainly include machines that do. > Also, is there a bug in latest yaboot installer? > Strangely, when i

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-22 Thread John Paul Adrian Glaubitz
to have ppc64 >>> support and it was removed [2]. >> Good news: With partman-prep enabled on ppc64 and after adding the hack to >> wipe >> and find the PREP partition on powerpc and ppc64 in grub-installer [1], the >> installation of GRUB on ppc64 works now out of

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-22 Thread Frank Scheiner
on my POWER7 system \o/. One can simply install GRUB on these systems now by choosing "Back" in the yaboot-installer menu and then choosing to install GRUB. I today did a "normal" and an expert install with successful GRUB installation with the [installer ISO] from 2017-10

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-21 Thread Mark Balantzyan
It may also be worthwhile to consider (force-)booting from Optical Drive on PMacs/ppc64 as selectable from the GRUB menu. The (former) Yaboot has this option. Discs of a Linux-nature may or may not be detected from OF, I have found. It’s probably quite lofty already to consider FireWire and

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-21 Thread Mark Balantzyan
wrote: >>>> This reverts commit f7a364631f2a8975ecca56668a19ee0a66c1ddcd. >>>> >>>> An iBook G4 (PowerBook6,5) was unable to boot when linking to the >>>> lower address. Revert back to 2MB. >>>> >>>> Signed-off-by: Jo

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-21 Thread Mark Balantzyan
t;>> lower address. Revert back to 2MB. >>> >>> Signed-off-by: John Ogness mailto:powe...@ogness.net>> >>> --- >>> I could not find any references about _why_ yaboot was moved >>> from 2MB to 1MB. I did not bother to see how low I could get

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-21 Thread John Ogness
>> I could not find any references about _why_ yaboot was moved >> from 2MB to 1MB. I did not bother to see how low I could get >> it on my iBook. If 2MB is too high for some machine, I can >> investigate to see how low I can go. > > This was done as 'large

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-21 Thread John Paul Adrian Glaubitz
On 10/21/2017 03:05 AM, Tony Breeds wrote: > I'd say that as most 'new' platforms have moved away from yaboot to grub > we're probably safe to apply this but I'd like to do more digging before > I commit to that. We are actually working on making GRUB the default

Re: [PATCH] Revert "Link yaboot at 1MB"

2017-10-20 Thread Tony Breeds
t; I could not find any references about _why_ yaboot was moved > from 2MB to 1MB. I did not bother to see how low I could get > it on my iBook. If 2MB is too high for some machine, I can > investigate to see how low I can go. This was done as 'large' kernels couldn't be l

[PATCH] Revert "Link yaboot at 1MB"

2017-10-20 Thread John Ogness
This reverts commit f7a364631f2a8975ecca56668a19ee0a66c1ddcd. An iBook G4 (PowerBook6,5) was unable to boot when linking to the lower address. Revert back to 2MB. Signed-off-by: John Ogness --- I could not find any references about _why_ yaboot was moved from 2MB to 1MB. I did not bother to

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
Hi! On 10/19/2017 02:17 PM, Frank Scheiner wrote: On 10/19/2017 01:04 PM, John Paul Adrian Glaubitz wrote: [...] The patch for d-i/partman-auto increases the size of the NewWorld boot partition to 10 MB for all selections. I just looked at your changes: --- a/recipes-powerpc-powermac_newwo

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi Adrian, On 10/19/2017 01:04 PM, John Paul Adrian Glaubitz wrote: [...] The patch for d-i/partman-auto increases the size of the NewWorld boot partition to 10 MB for all selections. I just looked at your changes: --- a/recipes-powerpc-powermac_newworld/atomic +++ b/recipes-powerpc-powermac

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
On 10/19/2017 01:00 PM, Frank Scheiner wrote: just a pointer: I used "UNRELEASED" instead of "unstable" in the changelogs, but I forgot that `sbuild` won't build a udeb then - at least not for me. Should I better use "unstable" in the future when providing patches? No, UNRELEASED is the correct

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
params --force-extra-removable" - # Make sure this happens on upgrades too - $chroot $ROOT 'debconf-set-selections' < Using this code during an expert installation with the ISO from 2017-10-10 and most likely also the latest ISO on a

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi again, just a pointer: I used "UNRELEASED" instead of "unstable" in the changelogs, but I forgot that `sbuild` won't build a udeb then - at least not for me. Should I better use "unstable" in the future when providing patches? Cheers, Frank

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
Hi Adrian, On 10/19/2017 11:19 AM, John Paul Adrian Glaubitz wrote: * Modifying the NVRAM to automatically boot GRUB. But this can be done easily from OF itself, e.g. with `boot hd:2,BootX` with my modifications. How does yaboot-installer do it? It uses the `nvsetenv` tool via `ybin`, but

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread John Paul Adrian Glaubitz
or isn't yet implemented ## * Selecting/Confirming the NewWorld boot partition for GRUB installation. I use adapted code from the d-i/yaboot-installer to achieve this, but am struggling with the needed debconf templates (see below). I also observe that the NewWorld boot partition can only be gues

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-19 Thread Frank Scheiner
now works automatically (from `debian/postinst`) * Formatting with HFS (only if needed, which will conserve any prior installation of yaboot) and mounting of the NewWorld boot partition in-target (incl. fstab entry) also works * The OF boot script (template from [1], installed on the NewWorld boot pa

Re: powerpc/iBookG4 sid-iso (yaboot failing)

2017-10-12 Thread John Ogness
t; boot, causing various errors such as "Decrementer exception". Using >> qemu, I can boot the CD medium, so the CD should be fine. Also, if I >> use older yaboot-based ISO images, such as jessie or the openSUSE ISO >> image mentioned (below), I have no problems. Searching ar

powerpc/iBookG4 sid-iso (yaboot failing)

2017-10-11 Thread John Ogness
oot the CD medium, so the CD should be fine. Also, if I use older yaboot-based ISO images, such as jessie or the openSUSE ISO image mentioned (below), I have no problems. Searching around I found multiple sites that claim the yaboot version 1.3.17 is to blame. I realize I could just install jessie to

Re: powerpc/iBookG4 sid-iso (yaboot failing)

2017-10-11 Thread John Paul Adrian Glaubitz
rors such as "Decrementer exception". Using > qemu, I can boot the CD medium, so the CD should be fine. Also, if I use > older yaboot-based ISO images, such as jessie or the openSUSE ISO image > mentioned (below), I have no problems. Searching around I found multiple > sites that claim the

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread Frank Scheiner
Ok, looks like I got GRUB installed - "in some way" ;-) with a modified `grub-installer` script. It still requires: * to manually mount the NewWorld boot partition to `/target/boot/grub` * and a prior yaboot installation (for hfsutils and HFS formatting, etc.) until this is done from g

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread John Paul Adrian Glaubitz
On 10/10/2017 04:03 PM, Frank Scheiner wrote: I was just about giving an update in another message (will send it right after this). I focused on `grub-installer` the last hours and haven't yet tried to build and install a modified udeb. I'd like to try that first before rebuilding, because if

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread Frank Scheiner
On 10/10/2017 03:53 PM, John Paul Adrian Glaubitz wrote: On 10/10/2017 12:56 PM, John Paul Adrian Glaubitz wrote: Last, how can I test this? Is there a way to inject "my" version of grub-installer.udeb into a Debian installation without recreating the ISO? The package manager for udebs is cal

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread John Paul Adrian Glaubitz
On 10/10/2017 12:56 PM, John Paul Adrian Glaubitz wrote: Last, how can I test this? Is there a way to inject "my" version of grub-installer.udeb into a Debian installation without recreating the ISO? The package manager for udebs is called "anna" (Anna is Not Nearly Apt) and its README might he

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread John Paul Adrian Glaubitz
r (package source) that should hopefully install hfsutils from the `debian/postinst` script (adapted from yaboot-installer) for the newworld_powermac subarchitecture(s) only: ``` diff --git a/debian/grub-installer.templates b/debian/grub-installer.templates index e294afb..7ed4b21 100644 --- a/d

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-10 Thread Frank Scheiner
\o/. Good to hear! :-) One can simply install GRUB on these systems now by choosing "Back" in the yaboot-installer menu and then choosing to install GRUB. Now we only need to get it working on NewWorld Macs :). Yeah, that seems to be a hard nut to crack. But I believe I'

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-09 Thread John Paul Adrian Glaubitz
these systems now by choosing "Back" in the yaboot-installer menu and then choosing to install GRUB. Now we only need to get it working on NewWorld Macs :). Adrian [1] https://anonscm.debian.org/git/d-i/grub-installer.git/commit/?id=4c358c031492f2fdc8dfdd41dc96afc77005e271 -- .'&

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-09 Thread John Paul Adrian Glaubitz
On 10/09/2017 11:27 AM, John Paul Adrian Glaubitz wrote: Yep, that's about right. I will implement that later today. Thanks for pointing me at that. I have patched partman-prep now [1]. Interestingly, it used to have ppc64 support and it was removed [2]. Adrian [1] https://anonscm.debian.or

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-09 Thread John Paul Adrian Glaubitz
ion" and the respective value for PReP in the "How to use this partition" screen of the "Partition disks" step. Some of the `partman-newworld` functionality is also used in `yaboot-installer` (see [1], it allows `yaboot-installer` to skip the user confirmation for the select

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-09 Thread Frank Scheiner
on" and the respective value for PReP in the "How to use this partition" screen of the "Partition disks" step. Some of the `partman-newworld` functionality is also used in `yaboot-installer` (see [1], it allows `yaboot-installer` to skip the user confirmation for the selec

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-08 Thread John Paul Adrian Glaubitz
scussion that the disk in question is /dev/sda, or course.) > The yaboot installer in d-i looks for a partition that is marked “bootable” > and uses it regardless of its position in the partition table. Well, yes, grub-install doesn't do it yet because we haven't implemented it yet. I

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-08 Thread Rick Thomas
On Oct 8, 2017, at 2:34 PM, John Paul Adrian Glaubitz wrote: > Either way, please try to perform some trial-and-error testing and let me know > whether you can find a working mechanism for the steps above. Will do! Rick

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-08 Thread John Paul Adrian Glaubitz
On 10/08/2017 11:27 PM, John Paul Adrian Glaubitz wrote: > What we need is: > > * Knowledge of the proper partitioning for partman-auto > * Finding a mechanism to find the boot partition (look at the grub-installer > script from debian-installer how it's done for other architectures) > * Writing

Re: New discussion: ppc64 installer -- ext2 /boot partition to keep yaboot happy.

2017-10-08 Thread John Paul Adrian Glaubitz
standard textmode install. > 1) When the installer gets to partitioning, choose manual and: > 1a) create a 256MB (or larger) ext2 partition with mount point /boot There is no need for a small partition mounted to /boot. GRUB doesn't have the limitations that Yaboot has in this regard,

  1   2   3   4   5   6   7   8   9   10   >