Description of problem: In file /EFI/BOOT/themes/maggy/theme.txt declared: desktop-image: "Mageia5-grub2-1024x768.png" But this file not present in this folder. Grub2 report error and loaded in text mode. How reproducible: Try boot from netinstall media in EFIx64 mode
Version-Release number of selected component: Mageia-Cauldron-netinstall-nonfree-x86_64.iso
Also this bug present in Mageia-Cauldron-netinstall-x86_64.iso
Assignee: bugsquad => zen25000
What is the output of: rpm -qa|grep -E "grub2|mageia-theme"
(In reply to Barry Jackson from comment #3) > What is the output of: > rpm -qa|grep -E "grub2|mageia-theme" Answer: sh: rpm: command not found This I expected, since we are talking about the bootable iso for network installation Mageia6, and not the full system
(In reply to Alexey Nedobezhkin from comment #4) > (In reply to Barry Jackson from comment #3) > > What is the output of: > > rpm -qa|grep -E "grub2|mageia-theme" > > Answer: > sh: rpm: command not found > > This I expected, since we are talking about the bootable iso for network > installation Mageia6, and not the full system Well yes, so would I ;) I meant from within the running new installation. However I suspect that your net-install was using a bad mirror, as with current cauldron I cannot reproduce this.
You could do a net-install upgrade of it using a different good mirror. see: https://mirrors.mageia.org/status
Visited several mirrors, all the disk image is dated 18-Sep-2016. You just run the disc in EFIx64? Link to my image http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64/install/images/Mageia-Cauldron-netinstall-x86_64.iso Share the link to your image, I'll check with Your way
(In reply to Alexey Nedobezhkin from comment #7) > Visited several mirrors, all the disk image is dated 18-Sep-2016. You just > run the disc in EFIx64? > > Link to my image > http://ftp.cc.uoc.gr/mirrors/linux/mageia/distrib/cauldron/x86_64/install/ > images/Mageia-Cauldron-netinstall-x86_64.iso > > Share the link to your image, I'll check with Your way. That is the same image I used to test, but it's the mirror that you use to do the net-install that may have been out of date. When you get to the mirror step, don't use the default "Install Mageia 6 Cauldron" option as that will use $MIRRORLIST but select to use a custom http mirror and type it in manually. Try: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/
Alexey is right! grub.cfg and the theme declare the wrong image name. Barry: Alexey doesn't talk about the stage 2 installation. He's got the latest netinstall iso from the mirrors (18.09.2016). It's about the very first grub2 boot screen that is configured on the iso. The result of the misconfig is: the missing background image. Background is simply black.
CC: (none) => shybluenight
Thank you! I with my poor knowledge of English was difficult to convey that message.
(In reply to Chris B from comment #9) > Alexey is right! > grub.cfg and the theme declare the wrong image name. > > Barry: Alexey doesn't talk about the stage 2 installation. He's got the > latest netinstall iso from the mirrors (18.09.2016). > > It's about the very first grub2 boot screen that is configured on the iso. > The result of the misconfig is: the missing background image. Background is > simply black. Thanks Chris, I may have used a slightly older image and so did not see this when I tested in VM. This looks like a problem in the .iso generation, so I will re-assign back to bug squad.
Assignee: zen25000 => bugsquadSeverity: minor => normal
The iso contains two copies of the correct image but the theme.txt is looking for "Mageia5-grub2-1024x768.png". 1 It needs /EFI/BOOT/themes/grub2-mageia-default.png removing as it is duplicated at /home/baz/BUGS/EFI/BOOT/themes/maggy/grub2-mageia-default.png (which is normally a symlink to the first in a Mageia instalation). 2. It needs /EFI/BOOT/themes/maggy/theme.txt editing to look for "grub2-mageia-default.png" at line 7
CC: (none) => zen25000
commit 99f72d1fbd43327d0295bf75de9ecc241887f235 Author: Thomas Backlund <tmb@...> Date: Tue Sep 27 18:59:53 2016 +0300 fix background theme image name (mga#19468) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=99f72d1fbd43327d0295bf75de9ecc241887f235
Also in /EFI/BOOT/grub.cfg declared: if loadfont ${prefix}/fonts/unicode.pf2 But file unicode.pf2 not present in /EFI/BOOT/fonts
Yes - well spotted - this was in the previous iso.
(In reply to Mageia Robot from comment #13) > commit 99f72d1fbd43327d0295bf75de9ecc241887f235 > Author: Thomas Backlund <tmb@...> > Date: Tue Sep 27 18:59:53 2016 +0300 > > fix background theme image name (mga#19468) > --- > Commit Link: > > http://gitweb.mageia.org/software/drakx/commit/ > ?id=99f72d1fbd43327d0295bf75de9ecc241887f235 (In reply to Alexey Nedobezhkin from comment #14) > Also in /EFI/BOOT/grub.cfg declared: > if loadfont ${prefix}/fonts/unicode.pf2 > But file unicode.pf2 not present in /EFI/BOOT/fonts (In reply to Barry Jackson from comment #15) > Yes - well spotted - this was in the previous iso. So closing as FIXED. Please reopen if needed
Status: NEW => RESOLVEDCC: (none) => marja11Resolution: (none) => FIXED
(In reply to Marja van Waes from comment #16) > > So closing as FIXED. > > Please reopen if needed Re-opening as I think this was only partly fixed. If unicode.pf2 is not present in /EFI/BOOT/fonts in the next iso then it too will load in only text mode.
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
(In reply to Barry Jackson from comment #17) > > Re-opening as I think this was only partly fixed. > > If unicode.pf2 is not present in /EFI/BOOT/fonts in the next iso then it too > will load in only text mode. Assigning to the isobuilders, then :-)
Assignee: bugsquad => isobuild
Is this bug still valid for 6sta2?
Keywords: (none) => 6sta1, NEEDINFOSummary: [6sta1 netinstall] Error in maggy theme file for GRUB2 netinstall => netinstall] Error in maggy theme file for GRUB2 netinstall
(In reply to Marja van Waes from comment #19) > Is this bug still valid for 6sta2? yes. there are also 2 x "grub2-mageia-default.png" #1 is in EFI/BOOT/themes #2 is in EFI/BOOT/themes/maggy
CC: (none) => westel
Keywords: 6sta1, NEEDINFO => 6sta2
This bug is only about the netinstall isos. This bug is only about starting the iso in uefi mode. Fixed: the naming of the images. Though they are added in two directories, as pointed out by Ben. Not fixed: unicode.pf2 is not present in /EFI/BOOT/fonts, as pointed out by Barry Result: starts in text mode only.
CC: (none) => thierry.vignaudSummary: netinstall] Error in maggy theme file for GRUB2 netinstall => [netinstall] Error in maggy theme file for GRUB2 netinstall (pathes of img + font)
(In reply to Chris B from comment #21) > This bug is only about the netinstall isos. > This bug is only about starting the iso in uefi mode. > > Fixed: the naming of the images. Though they are added in two directories, > as pointed out by Ben. In an installed system one is a link to the other, for the netinstall iso the real file is only needed in the maggy directory. The one in themes can be removed. > Not fixed: unicode.pf2 is not present in /EFI/BOOT/fonts, as pointed out by > Barry > > Result: starts in text mode only.
still valid, changing to release blocker
Priority: Normal => release_blocker
Thomas, any pointer on how the netinstall ISOs are built? I'd like to investigate and fix this config issue, but I'm not sure what package/software is responsible for generating those ISOs.
CC: (none) => tmb
See images/ subdir in drakx's git & drakx-installer-images/SPECS/drakx-installer-images.spec in SVN
Thanks Thierry. The font loading is defined here: http://gitweb.mageia.org/software/drakx/tree/images/grub2.config#n8 The fonts folder from /boot/grub2 is supposed to be copied over here: http://gitweb.mageia.org/software/drakx/tree/images/make_boot_img#n358 But the required font seems not to be shipped as /boot/grub2/fonts/unicode.pf2 in grub2-common: http://sophie.zarb.org/rpms/775328a37f4d1ffba0df2766b66437bf/files Instead it's in /usr/share/grub/unicode.pf2 So either make_boot_img should be fixed to copy it from /usr/share/grub/unicode.pf2, or grub2 should be fixed to ship its font in the fonts folder. @ Barry, Thierry, what's the best solution?
Source RPM: (none) => drakx-installer-images-2.43-16.mga6Status comment: (none) => drakx-installer-images relies on /boot/grub2/fonts/unicode.pf2, but it's actually shipped as /usr/share/grub/unicode.pf2 in grub2-common
(In reply to Rémi Verschelde from comment #26) > Thanks Thierry. > > The font loading is defined here: > http://gitweb.mageia.org/software/drakx/tree/images/grub2.config#n8 > > The fonts folder from /boot/grub2 is supposed to be copied over here: > http://gitweb.mageia.org/software/drakx/tree/images/make_boot_img#n358 > > But the required font seems not to be shipped as > /boot/grub2/fonts/unicode.pf2 in grub2-common: > http://sophie.zarb.org/rpms/775328a37f4d1ffba0df2766b66437bf/files > Instead it's in /usr/share/grub/unicode.pf2 > > So either make_boot_img should be fixed to copy it from > /usr/share/grub/unicode.pf2, or grub2 should be fixed to ship its font in > the fonts folder. > > @ Barry, Thierry, what's the best solution? It is correct in the grub2 package - grub2-install expects it at /usr/share/grub/unicode.pf2 and copies it to the fonts folder itself as required. So, make_boot_img should be fixed to copy it for the iso.
So basically adding `_ "cp -f /usr/share/grub/unicode.pf2 .boot_iso/EFI/BOOT/fonts/";` after http://gitweb.mageia.org/software/drakx/tree/images/make_boot_img#n358 should do the trick. I can commit that later on if there's no objection.
commit 98745313cf51ccec856788ba768f67587fd1701c Author: Thomas Backlund <tmb@...> Date: Wed Apr 26 21:49:36 2017 +0300 add missing unicode.pf2 in /EFI/BOOT/fonts/ (mga#19468) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=98745313cf51ccec856788ba768f67587fd1701c
Thanks Thomas! Should now be fixed with drakx-installer-images-2.44-1.mga6.
Status: REOPENED => RESOLVEDResolution: (none) => FIXED