[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying 2019-04-06 image



On 4/7/19 10:10, aggaz wrote:
I tried an installation of the new image
"debian-10.0-ppc64-NETINST-1.iso" from [1] on a PowerMac G5.
The image was copied with "dd" on a usb stick and then loaded with on
Open Firmware by using:

boot ud:,\install\yaboot

Nice, that the boot from USB stick worked for you. What type of G5 are
you using "7,2", "7,3", "9,1" or "11,2"? See [1] for details about the
different models. And could you please also provide the output of
`devalias` from OpenFirmware for reference, as I'm unsure if the "ud"
alias is always predefined?

[1]: https://everymac.com/systems/apple/powermac_g5/index-powermac-g5.html

I created a new "mac" partition on the hard drive. I tried manual
partitioning but was not able to find a way to create a new "bootstrap"
partition.
I remember there was an option for it in the past, now I can not find
this option for a new partition anymore.

Interesting, I can't remember if I explicitly tested manual
partitioning. I'll have a look into this. It could be that maybe the
naming has changed sometime in the past. For the NewWorld/HFS bootstrap
partition you need to use the newworld method or type (provided by
partman-newworld).


So I used automatic partitioning of the whole drive, which gave me this
layout:

SCSI4 (0,0,0) (sdc) - 163.9 GB ATA Maxtor 6L160M0
#1     32.3 kB                    Apple
#2     20.0 MB  B  K              untitled
#3    160.4 GB     f  ext4        untitled      /
#4      3.6 GB     f  swap        swap          swap
        512.0 B        FREE SPACE

I felt like something was missing but I continued the installation anyway.

No, actually that's fine this way. The first partition contains the
partitioning layout - IIC - the second is the NewWorld/HFS bootstrap
partition (which will only later be mounted at `/boot/grub`, because
"d-i/partman-newworld" can't format or mount that, it just makes sure a
partition is created), a separate partition for `/boot` is not needed,
so everything can reside on the root FS.

Grub installation failed with the following message:
"An installation step failed. You can try to run the failing item again
from the menu, or skip it and choose something else. The failing step
is: Install the GRUB boot loader on a hard disk"

On the log screen I see:
Apr  7 08:05:14 main-menu[4663]: (process:25067): dpkg-divert: warning:
diverting file '/sbin/start-stop-daemon' from an Essential package with
rename is dangerous, use --no-rename
Apr  7 08:05:14 main-menu[4663]: (process:25067): dpkg-divert: warning:
diverting file '/sbin/start-stop-daemon' from an Essential package with
rename is dangerous, use --no-rename
Apr  7 08:05:14 main-menu[4663]: (process:25067): /usr/bin/grub-installer:
Apr  7 08:05:14 main-menu[4663]: (process:25067): line 252:
Apr  7 08:05:14 main-menu[4663]: (process:25067):
/usr/lib/grub-installer/mkhfs-bootstrap.sh: not found
Apr  7 08:05:14 main-menu[4663]: (process:25067):
Apr  7 08:05:14 main-menu[4663]: WARNING **: Configuring
'grub-installer' failed with error code 1
Apr  7 08:05:14 main-menu[4663]: WARNING **: Menu item 'grub-installer'
failed.

See he lower part of [2] for an explanation. Unfortunately I forgot to
add the newly created script (`mkhfs-bootstrap.sh`) to the list of files
to be installed. So it was missing in the d-i/grub-installer udeb and
not installed.

[2]: https://lists.debian.org/debian-powerpc/2019/04/msg00067.html


At this point I stopped the installation.

Hope this report helps.

Absolutely, this was a fine report.

Cheers,
Frank


Reply to: