Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS

Bug #1575394 reported by ArminiusTux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
yaboot (Ubuntu)
New
Undecided
Unassigned

Bug Description

Installations of Ubuntu 16.04 LTS flavours (Ubuntue MATE & Lubuntu) succeed on a PowerMac G5 2.0 DP (Mid-2004 - M9455LL/A - PowerMac7,3 - A1047 - 1969C), but Yaboot does not load the OS afterwards.

This was tested at first on a multiboot configuration (together with MacOS X Leopard) and later on a single partition (=Linux) configuration to no avail. The target is a Intel 320 SSD resting in the lower bay (B).

In the latter (more basic) configuration Yaboot starts at least right away (no manual load through OpenFirmware needed) but still can't properly initiate the Linux boot.

Error msg:

Welcome to yaboot version 1.3.16
Enter "help" to get some basic usage information
boot: Linux
Please wait, loading kernel...
PARTITION is not a number/ht@0,f2000000/pci@7/k2-sata-root@c/@ffffffffffffffff/@0:2,/boot/vmlinux: Unknown or corrupt filesystem

Tags: ppc yaboot
Revision history for this message
Matevz Langus (matevz-langus) wrote :

Hi,

I have seen the same issue on PowerMac G5 2.5 Quad PowerMac11,2

The problem is in ofpath script. I managed to get around the issue by replacing ofpath coming with Ubuntu with the fresh one from yaboot 1.3.17 source package + applying the patch (patch provided on links bellow)

Please have a look at:
https://bugs.launchpad.net/ubuntu/+source/yaboot/+bug/1400030
or
https://lists.ozlabs.org/pipermail/yaboot-devel/2014-December/000483.html

regards,
  Matevz

Revision history for this message
ArminiusTux (varus-ubuntus-9) wrote : Re: [Bug 1575394] Re: Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS

Hi there,

thank you for responding so quickly and (apparently) hitting the nail.
Would you agree that modifiying the partition target path in the yaboot.conf file should be enough?

I will try to revive the linux only partition on the mac SSD as yaboot comes up there.

But before repartitioning the boot loader was not coming up at all when there also was a apple partition (MacOS X Leopard) on the SDD.
Have you also got experience on dual boot OS situations on PowerMacs?

Kind regards,

John

--- Ursprüngliche Nachricht ---
Von: <email address hidden>
An: <email address hidden>
Betreff: [Bug 1575394] Re: Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS

> Hi,
>
> I have seen the same issue on PowerMac G5 2.5 Quad PowerMac11,2
>
> The problem is in ofpath script. I managed to get around the issue by
> replacing ofpath coming with Ubuntu with the fresh one from yaboot
> 1.3.17 source package + applying the patch (patch provided on links
> bellow)
>
> Please have a look at:
> https://bugs.launchpad.net/ubuntu/+source/yaboot/+bug/1400030
> or
> https://lists.ozlabs.org/pipermail/yaboot-devel/2014-December/000483.html
>
> regards,
> Matevz
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1575394
>
> Title:
> Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS
>
> Status in yaboot package in Ubuntu:
> New
>
> Bug description:
> Installations of Ubuntu 16.04 LTS flavours (Ubuntue MATE & Lubuntu)
> succeed on a PowerMac G5 2.0 DP (Mid-2004 - M9455LL/A - PowerMac7,3 -
> A1047 - 1969C), but Yaboot does not load the OS afterwards.
>
>
> This was tested at first on a multiboot configuration (together with MacOS X Leopard) and later on a single partition (=Linux) configuration to no avail. The target is a Intel 320 SSD resting in the lower bay (B).
>
> In the latter (more basic) configuration Yaboot starts at least right
> away (no manual load through OpenFirmware needed) but still can't
> properly initiate the Linux boot.
>
> Error msg:
>
> Welcome to yaboot version 1.3.16
> Enter "help" to get some basic usage information
> boot: Linux
> Please wait, loading kernel...
> PARTITION is not a number/ht@0,f2000000/pci@7/k2-sata-root@c/@ffffffffffffffff/@0:2,/boot/vmlinux: Unknown or corrupt filesystem
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/yaboot/+bug/1575394/+subscriptions
>

Revision history for this message
Matevz Langus (matevz-langus) wrote : Re: [Ubuntu-powerpc] [Bug 1575394] Re: Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS
Download full text (4.1 KiB)

Hi,

if I remember correctly the result of the issue showed up in 2 places

1) there is a script called ofboot.b which is a script for Open Firmware. Bootloader that loads before yaboot.
The problem was already in this script. So what I initially did was booting rescue cd and mounting /dev/sda2 (this is where boot partition with yaboot is) and modifying ofboot.b
Then I got yaboot and then tried to find the right path in yaboot.

At the end it turned out to be wrongly generated openfirmware path. Perhaps I should create a fix for ofpath script coming with yaboot 1.3.16 which comes as default with Ubuntu.
I just hoped 1.3.17 would resolve the issue by itself but it did not. So I stayed with 1.3.17 for my machine.

regards,
  Matevz

> On 27. apr. 2016, at 20:29, ArminiusTux <email address hidden> wrote:
>
> Hi there,
>
> thank you for responding so quickly and (apparently) hitting the nail.
> Would you agree that modifiying the partition target path in the yaboot.conf file should be enough?
>
>
> I will try to revive the linux only partition on the mac SSD as yaboot comes up there.
>
>
> But before repartitioning the boot loader was not coming up at all when there also was a apple partition (MacOS X Leopard) on the SDD.
> Have you also got experience on dual boot OS situations on PowerMacs?
>
>
> Kind regards,
>
> John
>
>
> --- Ursprüngliche Nachricht ---
> Von: <email address hidden> <mailto:<email address hidden>>
> An: <email address hidden> <mailto:<email address hidden>>
> Betreff: [Bug 1575394] Re: Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS
>
>> Hi,
>>
>> I have seen the same issue on PowerMac G5 2.5 Quad PowerMac11,2
>>
>> The problem is in ofpath script. I managed to get around the issue by
>> replacing ofpath coming with Ubuntu with the fresh one from yaboot
>> 1.3.17 source package + applying the patch (patch provided on links
>> bellow)
>>
>> Please have a look at:
>> https://bugs.launchpad.net/ubuntu/+source/yaboot/+bug/1400030
>> or
>> https://lists.ozlabs.org/pipermail/yaboot-devel/2014-December/000483.html
>>
>> regards,
>> Matevz
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1575394 <https://bugs.launchpad.net/bugs/1575394>
>>
>> Title:
>> Yaboot fails to load Ubuntu (MATE & Lubuntu) 16.04 LTS
>>
>> Status in yaboot package in Ubuntu:
>> New
>>
>> Bug description:
>> Installations of Ubuntu 16.04 LTS flavours (Ubuntue MATE & Lubuntu)
>> succeed on a PowerMac G5 2.0 DP (Mid-2004 - M9455LL/A - PowerMac7,3 -
>> A1047 - 1969C), but Yaboot does not load the OS afterwards.
>>
>>
>> This was tested at first on a multiboot configuration (together with MacOS X Leopard) and later on a single partition (=Linux) configuration to no avail. The target is a Intel 320 SSD resting in the lower bay (B).
>>
>> In the latter (more basic) configuration Yaboot starts at least right
>> away (no manual load through OpenFirmware needed) but still can't
>> properly initiate the Linux boot.
>>
>> Error msg:
>>
>> Welcome to yaboot version 1.3.16
>> Enter "help" to get some basic usage information
>> boot: Linux
>> Please ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.