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

Re: Updated installation images for Debian Ports 2019-04-09



On 4/10/19 12:17 PM, aggaz wrote:
> CD image booted from USB stick as before [1].
> Expert install started from yaboot.

That's normal. The CD images still use Yaboot for booting, this
is independent of what the installer installs on your hard disk
as bootloader.

> Fan were spinning loudly but loading the proper module stopped them as
> previosly described [1].

We could this module to /etc/modules so it gets loaded automatically.

> Created a new mac partition table. This time the "newworld" partition
> type was an option. I ended up creating manually the following partition
> table:
> 
> SCSI4 (0,0,0) (sdc) - 163.9 GB ATA Maxtor 6L160M0
>>     #1     32.3 kB                    Apple
>>     #2     20.0 MB  B  K  boot        bootstrap
>>     #3    512.0 MB     f  ext2        boot          /boot
>>     #4      1.0 GB     f  swap        swap          swap
>>     #5    162.4 GB     f  ext4        root          /
>>            512.0 B        FREE SPACE
> 
> Base system installed fine.
> Debian ports mirrors [2] manually added.

You should avoid manual partitioning at the moment.

> Grub installation failed again with:
> "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 window I can see:
> Apr 10 09:56:15 main-menu[5707]: (process:20056): dpkg-divert: warning:
> diverting file '/sbin/start-stop-daemon' from an Essential package with
> rename is dangerous, use --no-rename
> Apr 10 09:56:15 main-menu[5707]: (process:20056): dpkg-divert: warning:
> diverting file '/sbin/start-stop-daemon' from an Essential package with
> rename is dangerous, use --no-rename
> Apr 10 09:56:15 main-menu[5707]: (process:20056): /usr/bin/grub-installer:
> Apr 10 09:56:15 main-menu[5707]: (process:20056): line 252:
> Apr 10 09:56:15 main-menu[5707]: (process:20056):
> /usr/lib/grub-installer/mkhfs-bootstrap.sh: Permission denied
> Apr 10 09:56:15 main-menu[5707]: (process:20056):
> Apr 10 09:56:15 main-menu[5707]: WARNING **: Configuring
> 'grub-installer' failed with error code 1
> Apr 10 09:56:15 main-menu[5707]: WARNING **: Menu item 'grub-installer'
> failed.
> 
> Opened a shell and saw:
> ~ # ls -l /usr/lib/grub-installer
> -rwxr-xr-x    1 root     root         68032 Apr  7 21:31 ensure-active
> -rw-r--r--    1 root     root          2610 Apr  5 21:03 mkhfs-bootstrap.sh
> -rwxr-xr-x    1 root     root         67888 Apr  7 21:31 prep-bootdev
> 
> So, as suggested [3] I changed permissions of mkhfs-bootstrap.sh to 755.

You can try again later with an updated image set I am going to prepare
with the proper fix included in grub-installer.

We need to add code to grub-installer which checks that the partition
layout is actually compatible with the bootloader. Both silo-installer
and yaboot-installer do that and then display a warning when the user
chooses an incompatible layout. We haven't included such a mechanism
yet, however.

> But it failed again with the same error shown on the installer. On the
> log I see:
> Apr 10 10:09:05 main-menu[5707]: INFO: Falling back to the package
> description for brltty-udeb
> Apr 10 10:09:06 main-menu[5707]: INFO: Falling back to the package
> description for brltty-udeb
> Apr 10 10:09:06 main-menu[5707]: INFO: Menu item 'grub-installer' selected
> Apr 10 10:09:06 grub-installer: info: architecture: ppc64/powermac_newworld
> Apr 10 10:09:07 in-target: Reading package lists...
> Apr 10 10:09:07 in-target:
> Apr 10 10:09:07 in-target: Building dependency tree...
> Apr 10 10:09:07 in-target:
> Apr 10 10:09:07 in-target: Reading state information...
> Apr 10 10:09:07 in-target:
> Apr 10 10:09:09 in-target: grub-common is already the newest version
> (2.02+dfsg1-16).
> Apr 10 10:09:09 in-target: 0 upgraded, 0 newly installed, 0 to remove
> and 0 not upgraded.
> Apr 10 10:09:10 in-target: Reading package lists...
> Apr 10 10:09:10 in-target:
> Apr 10 10:09:10 in-target: Building dependency tree...
> Apr 10 10:09:11 in-target:
> Apr 10 10:09:11 in-target: Reading state information...
> Apr 10 10:09:11 in-target:
> Apr 10 10:09:12 in-target: grub-common is already the newest version
> (2.02+dfsg1-16).
> Apr 10 10:09:12 in-target: 0 upgraded, 0 newly installed, 0 to remove
> and 0 not upgraded.
> Apr 10 10:09:12 mkhfs-bootstrap: The HFS bootstrap partition couldn't be
> found. Cannot continue! Exiting.

That's a different error though and it indicates that Frank's script was
not run properly or not run at all.

> At this time, I stopped the installation.
> Did I partitioned my drive in the wrong way?

I don't know the proper partitioning setup from the top of my head, so
Frank has to comment on this. But either way, you should refrain from
manual partitioning until we have the proper checks in place.

> That was the same layout I always use with yaboot.
> I am thinking that it could be worth to try the same install but with
> the default partitioning scheme.
> I the meantime I am open for suggestions.

Yes, please do that. But make sure to fix the permissions for the script
above before GRUB installation is actually started.

> A few wishes for the next releases:
> 1. Would it be possible to load the fan spinning module (windfarm_core)
> automatically?

I'm looking into this, yes.

> 2. Would it be possible to have debian-ports URL [2] as default mirror?
There is a patch to address this issue but we (as in Debian Ports) haven't
gotten permission yet to merge it, see:

> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879130

We should probably restart this discussion.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: