Bug 26535

Summary: Unable to install Cauldron using netinstaller
Product: Mageia Reporter: Stig-Ørjan Smelror <smelror>
Component: RPM PackagesAssignee: Thierry Vignaud <thierry.vignaud>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: bittwister2, lewyssmith, micheelsen, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: grub2 CVE:
Status comment:
Attachments: Can't open /mnt/boot/grub2/grub.cfg for reading: No such file or directory

Description Stig-Ørjan Smelror 2020-04-24 17:13:05 CEST
I've downloaded the most recent version of Mageia-Cauldron-netinstall-nonfree-x86_64.iso and booted it in vmware.

It errors out during the grub installation.

See attached image for error.
Comment 1 Stig-Ørjan Smelror 2020-04-24 17:14:16 CEST
Created attachment 11605 [details]
Can't open /mnt/boot/grub2/grub.cfg for reading: No such file or directory
Comment 2 Stig-Ørjan Smelror 2020-04-24 17:34:43 CEST
This happens when I click on "Next" on the Summary page.
Comment 3 Stig-Ørjan Smelror 2020-04-25 08:02:08 CEST
I ran drakboot and ticked off "Probe other os" and got this message.

error: package os-prober is not installed

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

Failed to enable unit: Unit file acpi.service does not exist.

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

Created symlink /etc/systemd/system/multi-user.target.wants/acpid.service → /usr/lib/systemd/system/acpid.service.
Usage: service -[Rfshv] SERVICE ARGUMENTS
	-f|--full-restart:	Do a fullrestart of the service.
	-R|--full-restart-all:	Do a fullrestart of all running services.
	-s|--status-all:	Print a status of all services.
	--ignore-dependencies:  Do not start required systemd services
	--skip-redirect:	Do not redirect to systemd
	-d|--debug:		Launch with debug.
	-h|--help:		This help.

Then I manually installed os-prober and ran drakboot again and disabled, again, "Probe other os" and ACPI.

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.

Failed to disable unit: Unit file acpi.service does not exist.

Note: This output shows SysV services only and does not include native
      systemd services. SysV configuration data might be overridden by native
      systemd configuration.

      If you want to list systemd services use 'systemctl list-unit-files'.
      To see services enabled on particular target use
      'systemctl list-dependencies [target]'.
Comment 4 Lewis Smith 2020-04-25 10:13:13 CEST
Hello Stig. Thanks for the screenshot, that always makes things clear.
"Can't open /mnt/boot/grub2/grub.cfg for reading: No such file or directory"
I have seen this error message before, but cannot find the bug(s).

You are doing this under VMware. Are you able to try the same installation on real hardware?
-------------
> ticked off "Probe other os"
Unsure whether this meant tick it or clear it; guess from "package os-prober is not installed" the former, that it was previously clear.

Assigning to base system, CC Thierry for drakboot (drakxtools).

Assignee: bugsquad => basesystem
Source RPM: (none) => drakxtools-18.21-1.mga7.src.rpm
CC: (none) => lewyssmith, thierry.vignaud

Comment 5 Stig-Ørjan Smelror 2020-04-25 11:08:34 CEST
Ticked "off", removed the option. My thinking is ticked on and ticked off :-)

I don't have the option to install on real HW at the moment.

The problem is that I'm not getting a graphical grub meny and have to load the kernel and initrd manually to boot. Makes it a bit hard to reboot the system.

Cheers,
Stig
Thierry Vignaud 2020-04-25 11:17:09 CEST

Component: Installer => RPM Packages
Assignee: basesystem => bugsquad
Source RPM: drakxtools-18.21-1.mga7.src.rpm => grub2

Thierry Vignaud 2020-04-25 11:17:14 CEST

Assignee: bugsquad => thierry.vignaud

Comment 6 Bit Twister 2020-04-25 15:14:25 CEST
Apr 13 16:09 Mageia-Cauldron-netinstall-nonfree-x86_64.iso has the same pop up
on on real hardware, bios set legacy boot, GPT with bios_grub partition.

workaround was to get into boot configuration and make a change to boot line
like removing "quite". Left everything else as is. Boot loader was install
and system came up runlevel5/gui with no problems.

CC: (none) => bittwister2

Comment 7 Thierry Vignaud 2020-04-25 22:26:02 CEST
Fixed in grub2-2.04.0-13.mga8

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

Comment 8 Thierry Vignaud 2020-04-25 23:58:24 CEST
*** Bug 26539 has been marked as a duplicate of this bug. ***

CC: (none) => micheelsen

Comment 9 Lewis Smith 2020-04-26 21:31:28 CEST
Thanks Thierry, good work.