Bug 26778 - CI 32 install fails at bootloader installation
Summary: CI 32 install fails at bootloader installation
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-12 09:35 CEST by Ben McMonagle
Modified: 2020-11-22 21:48 CET (History)
1 user (show)

See Also:
Source RPM: grub2-2.04.0-17.mga8.src.rpm
CVE:
Status comment:


Attachments
report from failed install (170.77 KB, application/x-xz)
2020-06-12 09:38 CEST, Ben McMonagle
Details
install from same but completed install (173.44 KB, application/x-xz)
2020-06-12 09:50 CEST, Ben McMonagle
Details

Description Ben McMonagle 2020-06-12 09:35:26 CEST
Description of problem:at installation of  DE from above .iso onto real 32bit hardware, bootloader fails with error:

* error: grub2-install failed: Installing for i386-pc platform.
grub2-install: warning: ../grub-core/partmap/msdos.c:399:your core.img is unusually large.  It won't fit in the embedding area.
grub2-install: error: embedding is not possible, but this is required for cross-disk install.
	...propagated at /usr/lib/libDrakX/any.pm line 267.

install was from Mga8 alpha and chose LXDE only DE

manually choosing a different bootloader install disk (sdf) was successful


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.install onto real h/w LXDE from CI 32bit .iso
2.wait for error at bootlader installation 
3.
Comment 1 Ben McMonagle 2020-06-12 09:38:04 CEST
Created attachment 11688 [details]
report from failed install
Comment 2 Ben McMonagle 2020-06-12 09:50:52 CEST
Created attachment 11689 [details]
install from same but completed install

here I manually chose the bootloader target and install completed successfully
Comment 3 Martin Whitaker 2020-06-12 16:18:49 CEST
The failed attempt tried to install on /dev/sda, which only has 63 free sectors at the start (31.5KB). The successful attempt installed on /dev/sdd, which has 2048 free sectors at the start (1MB).

For mga8, /lib/grub/i386-pc/kernel.img is 47KB. This has grown considerably since mga7, where it is 28KB. So we need to find out why it has grown.

Source RPM: (none) => grub2-2.04.0-17.mga8.src.rpm
Component: Installer => RPM Packages
CC: (none) => mageia

Comment 4 Martin Whitaker 2020-06-12 19:05:00 CEST
The sync with Fedora in the grub2 package removed the compiler optimisation flag. I've restored that (-Os). That reduced the core.img in my VM from ~30KB to ~27KB, which should be enough.

Assignee: bugsquad => mageia
Status: NEW => ASSIGNED

Comment 5 Martin Whitaker 2020-11-22 21:48:24 CET
I believe this was fixed in 8-beta1. Please reopen if I'm wrong.

Resolution: (none) => FIXED
Status: ASSIGNED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.