Bug 26676 - net install of Cauldron fails at end installing Grub2 'no config file'
Summary: net install of Cauldron fails at end installing Grub2 'no config file'
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: Martin Whitaker
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-24 01:30 CEST by james Whitby
Modified: 2020-05-29 16:42 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
install.log (304.08 KB, text/plain)
2020-05-28 02:01 CEST, Bit Twister
Details
ddebyug.log (193.68 KB, application/octet-stream)
2020-05-28 04:26 CEST, Bit Twister
Details

Description james Whitby 2020-05-24 01:30:52 CEST
Finaly stage of install fails for installing grub2.

Failure is no config file.

Solution is to use previous untill you can configure boot. 
Use defaults, bit go through entire setup.

Then a config file is available at end of install

This is on a new net install of cauldron on x86_64
Comment 1 Lewis Smith 2020-05-24 21:54:25 CEST
Thank you for reporting this.
Can you add some information about the system: BIOS/MBR or GPT/EFI.

I am unsure what you mean by:
> Solution is to use previous until you can configure boot. 
> Use defaults, but go through entire setup
Use previous what?
What defaults, where?
Setup of what?

Summary: Failure to install boot image => net install of Cauldron fails at end installing Grub2 'no config file'
CC: (none) => lewyssmith

Comment 2 james Whitby 2020-05-24 22:17:00 CEST
(In reply to Lewis Smith from comment #1)
> Thank you for reporting this.
> Can you add some information about the system: BIOS/MBR or GPT/EFI.
> 
> I am unsure what you mean by:
> > Solution is to use previous until you can configure boot. 
Sorry, I was really tired.


> > Use defaults, but go through entire setup
> Use previous what?
> What defaults, where?
> Setup of what?

Initial system setup/install:
The screen for modifying all the sys info, network, grub  services, etc.
If left at the default values and just click next, when it is time to setup the boot image, it fails with:
no grub3 cfg file.

Using the previous button to back up to the system setup page and and configuring grub/boot from there, even though nothing is changed, will allow the install to finish. Just opening the dialog and using the defaults displayed is enough.

Then at the boot install page, it just works. and allows the install to finish.
Comment 3 Bit Twister 2020-05-26 15:34:31 CEST
(In reply to Lewis Smith from comment #1)
> Thank you for reporting this.
> Can you add some information about the system: BIOS/MBR or GPT/EFI.

Going to guess part of the problem is Mageia boot/grub rpm not automagically installed prior to configuration. I noticed the rpm was install when I also
encountered the problem and had to go back to the boot configuration screen
Original bug 26676. 

My install is on a GPT drive with bios set to CSM/Legacy OS for a MBR
install which has a bios grub partition. I have a multi-boot install
and have never had the problem until this mga8 Cauldron install.

CC: (none) => bittwister2

Comment 4 Lewis Smith 2020-05-26 21:23:32 CEST
@James
Thank you for the clarification. It looks as if the problem happens when you simply do not, on the final summary screen, 'configure' the bootloader - even if you then accept all the default parameters. The previous comment rather supports this.
To avoid going back from the 'next' screen to the summary screen to then configure the bootloader, would it not work if the booloader was configured (with the default values) from the summary screen? I hesitate to ask you to try this - system installations take ages.
That would change the bug a bit to 'you need to configure the bootloader at the summary screen'.

@Bit Twister
Thanks for your comment.
Comment 5 james Whitby 2020-05-26 23:28:01 CEST
(In reply to Lewis Smith from comment #4)
> @James
> Thank you for the clarification. It looks as if the problem happens when you
> simply do not, on the final summary screen, 'configure' the bootloader -
> even if you then accept all the default parameters. The previous comment
> rather supports this.
> To avoid going back from the 'next' screen to the summary screen to then
> configure the bootloader, would it not work if the booloader was configured
> (with the default values) from the summary screen? I hesitate to ask you to
> try this - system installations take ages.
> That would change the bug a bit to 'you need to configure the bootloader at
> the summary screen'.
> 
> @Bit Twister
> Thanks for your comment.

I do believe you are correct. I'm not ready to install again, anytime soon.
Since nothing is changed, by using previous button, I would highly expect that a "need to configure boot" message at the summary screen would be a cure.

It wasn't that way in mga7 that I recall, so not sure what changed.
Comment 6 Morgan Leijström 2020-05-27 22:04:22 CEST
I guess it may help developers if you can provide the install log(s).

CC: (none) => fri

Comment 7 Bit Twister 2020-05-28 02:01:38 CEST
Created attachment 11665 [details]
install.log
Comment 8 james Whitby 2020-05-28 03:12:30 CEST
(In reply to Morgan Leijström from comment #6)
> I guess it may help developers if you can provide the install log(s).

Don't think they exisdt anymore, but tell me where to look and I will.
Comment 9 james Whitby 2020-05-28 03:16:32 CEST
(In reply to Bit Twister from comment #7)
> Created attachment 11665 [details]
> install.log

Thanks BT!
Next time, I'll at least now I know where to look.
Comment 10 Bit Twister 2020-05-28 04:25:02 CEST
(In reply to james Whitby from comment #8)

> 
> Don't think they exisdt anymore, but tell me where to look and I will.

/root/drakx

I should have looked at the install.log. No debug information there.
It would be better to provide the ddebug.log

After much scrolling around I find this tidbit

* running: grub2-editenv list with root /mnt
* program not found: grub2-editenv

Tip: Prior to attaching ddebug.log
 xz --keep --format=xz ddebug.log

then you attach ddebug.log.xz
Comment 11 Bit Twister 2020-05-28 04:26:19 CEST
Created attachment 11666 [details]
ddebyug.log
Comment 12 Lewis Smith 2020-05-28 21:50:13 CEST
So, more an installer than grub2 bug. Probably. The net install fails if the bootloader is not explicitly configured, even with default values.

Not sure where to assign it, but tv should be be a good start.

CC: lewyssmith => (none)
Assignee: bugsquad => thierry.vignaud

Comment 13 Martin Whitaker 2020-05-29 13:11:53 CEST
Fixed in git. Package and installer updates to follow.

Assignee: thierry.vignaud => mageia
CC: (none) => mageia

Comment 14 Martin Whitaker 2020-05-29 16:42:02 CEST
Fixed in new installer stage 2 image now mirroring out.

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


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