Description of problem: at the completion of the live install, installation of bootloader takes about 15 minutes- much longer than the CI install Version-Release number of selected component (if applicable): Mageia-6-sta1-LiveDVD-PLASMA5-x86_64-DVD.iso DATE.txt: Sun May 22 15:00:00 CEST 2016 How reproducible: Steps to Reproduce: 1.boot above .iso in UEFI mode and start installer 2.choose location of bootloader 3.start installation of bootloader
Created attachment 7855 [details] UEFI Plasma5 Live install
Keywords: (none) => 6sta1
I remember that Lewis had a similar issue during Mageia 5 testing due to os-prober choking on another Linux system, so CC'ing Lewis and Barry to investigate this possibility.
CC: (none) => lewyssmith, zen25000
Could you please test with latest os-prober in cauldron: os-prober-1.71-8
Assignee: bugsquad => tmbKeywords: (none) => NEEDINFOCC: (none) => marja11
(In reply to Barry Jackson from comment #3) > Could you please test with latest os-prober in cauldron: > os-prober-1.71-8 how do I make the live-installer use os-prober-1.71-8?.
(In reply to ben mcmonagle from comment #4) > (In reply to Barry Jackson from comment #3) > > Could you please test with latest os-prober in cauldron: > > os-prober-1.71-8 > > how do I make the live-installer use os-prober-1.71-8?. Add online medias before starting the install.
This looks like bug 16010 I have lived with this problem since. At each kernel upgrade, there is a 10m pause for the new bootloader installation. No errors signalled. This is put down to os-prober: see Comment 32 in that bug. Same problem with Manjaro. When doing a Mageia installation, if (for the Classic) one clicked on the summary screen 'configure bootloader' - necessary at the time (M5) to enforce Grub2 graphical - , *that* took 10m before returning. And there was then another 10m wait subsequently while it did its final bootloader installation. For Mageia 6, Classic, the bootloader looked correctly pre-set i.e. did not need configuring further, there was still the final 10m pause when it was installed. Yet to try a 'Live' ISO.
Created attachment 7860 [details] installer report with online media added, installed os-prober-1.71-8 before starting. still takes a long time to install bootloader
Created attachment 7861 [details] UEFI Classical Installer report also takes a very long time to complete bootloader installation
Summary: [6sta1] UEFI Live Plasma install takes about 15 min to install bootloader => [6sta1] UEFI x86-64 install takes about 15 min to install bootloader, Live and Classical Installer
How long does it take os-prober to run stand-alone on the installed system? su os-prober
(In reply to Barry Jackson from comment #9) > How long does it take os-prober to run stand-alone on the installed system? > su > os-prober To whom are you adressing this, Barry? And for Mageia 5 &/or 6? For myself, I know Mageia 5 os-prober runs 10 minutes. I can try 6 if you like.
Lewis - It was to you for Mga6, but test after the latest update to grub2 that Thierry has patched - https://bugs.mageia.org/show_bug.cgi?id=16010
Lewis/Ben - see https://bugs.mageia.org/show_bug.cgi?id=18565
From Bug 16010 Comment 59, which I think should be closed and continued in *this* one. Testing x64 real EFI hardware Mageia 6 os-prober-1.71-6.mga6 grub2-common-2.02-0.git10457.5.mga6 grub2-efi-2.02-0.git10457.5.mga6 grub2-mageia-theme-2.02-0.git10457.5.mga6 Note that the grub2 version is advanced from that cited to try in Comment 56. Mageia 6 Classic install is on sda11. # time os-prober /dev/sda10:Korora release 20 (Peach):Fedora:linux /dev/sda12:Mageia 5 (5):Mageia:linux /dev/sda13:Mageia 5 (5):Mageia1:linux /dev/sda14:LMDE MATE Edition (1):LinuxMint:linux /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /dev/sda8:Manjaro Linux (16.06-rc1):ManjaroLinux:linux /dev/sda9:openSUSE 12.3 (x86_64):SuSE:linux real 6m20.970s # time update-grub Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.6.0-desktop-1.mga6 Found initrd image: /boot/initrd-4.6.0-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Korora release 20 (Peach) on /dev/sda10 Found Mageia 5 (5) on /dev/sda12 Found Mageia 5 (5) on /dev/sda13 Found LMDE MATE Edition (1) on /dev/sda14 Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi Found Manjaro Linux (16.06-rc1) on /dev/sda8 Found openSUSE 12.3 (x86_64) on /dev/sda9 done real 7m53.911s Well, better than 10m.
(In reply to Barry Jackson from comment #12) > Lewis/Ben - see https://bugs.mageia.org/show_bug.cgi?id=18565 No BTRFS nor LVM here.
Subsequent to the test in Comment 13 above, re-boot showed a *text* menu; but which worked.
and my resultts: Testing x64 real EFI hardware Mageia 6 os-prober-1.71-8.mga6.x86_64 grub2-common-2.02-0.git10457.5.mga6.x86_64 grub2-efi-2.02-0.git10457.5.mga6.x86_64 grub2-mageia-theme-2.02-0.git10457.5.mga6.noarch Mageia 6 Classical install is on sde17 # time os-prober /dev/sdb3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde19:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde3:Mageia 6 (6):Mageia6:linux /dev/sde31:Mageia 6 (6):Mageia7:linux /dev/sde33:Mageia 6 (6):Mageia8:linux /dev/sde35:Mageia 6 (6):Mageia9:linux /dev/sde37:Mageia 6 (6):Mageia10:linux /dev/sde39:Mageia 5 (5):Mageia11:linux /dev/sde41:Mageia 6 (6):Mageia12:linux /dev/sde7:unknown Linux distribution:Linux:linux (failed 6sta1 install from weekend) /dev/sde9:Mageia 6 (6):Mageia13:linux real 2m33.508s (this was more than 7 minutes before update) # time update-grub Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.6.0-desktop-1.mga6 Found initrd image: /boot/initrd-4.6.0-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdb3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 6 (6) on /dev/sde33 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 6 (6) on /dev/sde41 Found unknown Linux distribution on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 10m26.642s also No BTRFS nor LVM here. also text menu for grub2 after above
(In reply to Lewis Smith from comment #15) > Subsequent to the test in Comment 13 above, re-boot showed a *text* menu; > but which worked. Re- the text menu - I think this is inevitable now that grub2 no longer Recommends grub2-mageia-theme. I don't really understand why Thierry removed the Recommends as it is not *always* drakboot that installs grub2, as in this case. Lewis and Ben - just install grub2-mageia-theme and run update-grub2.
(In reply to Barry Jackson from comment #17) It's _always_ drakboot that installs grub2 else it's done manually and the ones who it manually can handle it. Else there's no way drakboot can enforce the choice between text & gfx as the needed pkg is already there and grub2'll automatically choose gfx. (In reply to ben mcmonagle from comment #16) > # time os-prober (...) > real 2m33.508s (this was more than 7 minutes before update) > > # time update-grub (...) > real 10m26.642s That's still too much... :-( I'm thinking we should offer a "detect foreign OS" checkbox in drakboot so that one decides to install/removes os-prober. (SuSe has such as "probe foreign OS" checkbox...) grub-probe/os-prober are still too slow. Stopping updates by more 10mn is still way too much... There's also a script just caching os-prober here: https://github.com/GalliumOS/ubiquity/blob/master/compat/os-prober It would need doing a recheck from times to times though
CC: (none) => thierry.vignaud
And grub2-common should stops recommending os-prober for that checkbox to take effect until os-prober can run under a sane deadline...
Barry, I see you blindly removed all FC patches for replacing them by SuSe ones. As stated, suse enables to disable os-prober. Some of the FC patches were _needed_ for speeing up os-prober. I've readded them and explained why they're needed. Plese don't remove them again. To all: Can you test grub2-2.02-0.git10457.2.mga6 + os-prober-1.71-9.mga6 from core/updates_testing once it finishes building and land on your favorite mirror? For me, on a very fast machine with not much extra OS, /bin/time -v os-prober wents from 2s to 0.4s I would like results from slower machines with more extra partitions with other OSes.
(In reply to Thierry Vignaud from comment #20) > To all: > Can you test grub2-2.02-0.git10457.2.mga6 + os-prober-1.71-9.mga6 from > core/updates_testing once it finishes building and land on your favorite > mirror? Testing M6 x64 real EFI hardware with the following OS's installed: sda2 = ESP (where the Win bootloader is found) sda4 = Win8.1 sda8 = Manjaro sda9 = OpenSuse 12.3 sda10 = Korora 20 sda11 = Mageia 6 sda12 = Mageia 5 sda13 = another Mageia 5 sda14 = LMDE M6 Updates Testing did not have grub2-2.02-0.git10457.2.mga6, it already seems to have been superseded & updated on my M6 system (see my test Comment 13): grub2-common-2.02-0.git10457.5.mga6 grub2-efi-2.02-0.git10457.5.mga6 grub2-mageia-theme-2.02-0.git10457.5.mga6 and updated: os-prober-1.71-9.mga6 Bingo! Compare my Comment 6. Thanks to Barry especially + Thierry. # time os-prober /dev/sda10:Korora release 20 (Peach):Fedora:linux /dev/sda12:Mageia 5 (5):Mageia:linux /dev/sda13:Mageia 5 (5):Mageia1:linux /dev/sda14:LMDE MATE Edition (1):LinuxMint:linux /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /dev/sda8:Manjaro Linux (16.06-rc1):ManjaroLinux:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux real 0m23.131s # time update-grub Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.6.0-desktop-1.mga6 Found initrd image: /boot/initrd-4.6.0-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Korora release 20 (Peach) on /dev/sda10 Found Mageia 5 (5) on /dev/sda12 Found Mageia 5 (5) on /dev/sda13 Found LMDE MATE Edition (1) on /dev/sda14 Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi Found Manjaro Linux (16.06-rc1) on /dev/sda8 Found openSUSE 12.3 (x86_64) on /dev/sda9 done real 1m59.085s So the culprit really was os-prober, not grub2. Please for Mageia 5 ASAP.
@Ben Let us wait until the next *viable* M6 ISOs are available, and if their EFI bootloader installation goes OK, we can then close this bug. Better to jump that hurdle first, rather than close it immediately if you get the same satisfactory results on an updated already installed system.
(In reply to Lewis Smith from comment #21) > So the culprit really was os-prober, not grub2. Please for Mageia 5 ASAP. Those patches are already part of mga5's os-prober (eg: os-prober-1.65-9.6.mga5)
Barry I don't know why you removed all FC patches in order to put all SuSe fixes just for one bug with btrfs (you could have switch to the suse btrfs patch) but I think you'd better check we didn't loose any other fixes...
Blocks: (none) => 416
Source RPM: (none) => grub2, os-prober
my latest results: Testing x64 real EFI hardware Mageia 6 os-prober-1.71-9.mga6.x86_64 grub2-common-2.02-0.git10457.5.mga6.x86_64 grub2-efi-2.02-0.git10457.5.mga6.x86_64 grub2-mageia-theme-2.02-0.git10457.5.mga6.noarch # time os-prober /dev/sdb3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde19:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde3:Mageia 6 (6):Mageia6:linux /dev/sde31:Mageia 6 (6):Mageia7:linux /dev/sde33:Mageia 6 (6):Mageia8:linux /dev/sde35:Mageia 6 (6):Mageia9:linux /dev/sde37:Mageia 6 (6):Mageia10:linux /dev/sde39:Mageia 5 (5):Mageia11:linux /dev/sde41:Mageia 6 (6):Mageia12:linux /dev/sde7:unknown Linux distribution:Linux:linux /dev/sde9:Mageia 6 (6):Mageia13:linux real 2m20.217s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.6.0-desktop-1.mga6 Found initrd image: /boot/initrd-4.6.0-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdb3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 6 (6) on /dev/sde33 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 6 (6) on /dev/sde41 Found unknown Linux distribution on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 9m12.688s both slightly faster by a few seconds Im not sure that a normal user would have 40+ partitions though
Even if os-prober is now faster, update-grub2 is still taking too much time...
(In reply to Thierry Vignaud from comment #23) > (In reply to Lewis Smith from comment #21) > > So the culprit really was os-prober, not grub2. Please for Mageia 5 ASAP. > Those patches are already part of mga5's os-prober (eg: > os-prober-1.65-9.6.mga5) So why, on the same box, Mageia 5: grub2-efi-2.02-0.git9752.18.4.mga5 grub2-mageia-theme-2.02-0.git9752.18.4.mga5 os-prober-1.65-9.6.mga5 # time os-prober /dev/sda10:Korora release 20 (Peach):Fedora:linux /dev/sda11:Mageia 6 (6):Mageia:linux /dev/sda13:Mageia 5 (5):Mageia1:linux /dev/sda14:LMDE MATE Edition (1):LinuxMint:linux /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /dev/sda8:Manjaro Linux (16.06-rc1):ManjaroLinux:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux real 11m54.969s ? I wonder why my latest M6 experience is so different from Ben's, using the same os-prober & grub2. Just a question of the number of discs/partitions? Me: 1 disc, 14 partitions; Ben several discs, 40+ partitions. The times are vaguely in proportion.
commit 8847eda6f7f8aaad07931290f1a37a5e44f7a426 Author: Thierry Vignaud <thierry.vignaud@...> Date: Mon Jun 6 11:12:04 2016 +0200 enable to (un)install os-prober thus enabling to prevent slow boot (mga#16010, mga#18538) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=8847eda6f7f8aaad07931290f1a37a5e44f7a426 Bug links: Mageia https://bugs.mageia.org/16010 https://bugs.mageia.org/18538
valid for: Mageia-6-sta1-i586-DVD.iso DATE.txt: Mon Jun 6 23:20:56 CEST 2016
Hardware: x86_64 => All
It would be good if you could you try enabling cauldron repos during an upgrade of that install to see if current cauldron packages improve this? (Not sure if that is easily done or not from the installer) ;)
Drakx offers that if you do a DVD install (obviously not if you're doing a network installation). Note that on summary step, you can now disable os-prober ("probe foreign OS"). That should make it fast. cc-ing: Anne & Thomas: what do you think about not installing os-prober by default (aka remove the recommends on it from grub2) & make drakx auto pick it if we detect a Windows partition (it would be even better to check it really contains an OS). Else it's up to the user to check in the ""probe foreign OS" checkbox in: - either the bootloader config at summary step - or in drakboot
CC: (none) => ennael1, tmb
(In reply to Thierry Vignaud from comment #31) > Drakx offers that if you do a DVD install (obviously not if you're doing a > network installation). > > Note that on summary step, you can now disable os-prober ("probe foreign > OS"). > That should make it fast. > > cc-ing: Anne & Thomas: what do you think about not installing os-prober by > default (aka remove the recommends on it from grub2) Please no. > & make drakx auto pick > it if we detect a Windows partition (it would be even better to check it > really contains an OS). Why only Windows? Sounds like you want to write a new mga-prober to decide whether to use os-prober /o\ > Else it's up to the user to check in the ""probe foreign OS" checkbox in: > - either the bootloader config at summary step > - or in drakboot Yes that's OK but please default it to checked. Does this slow os-prober issue affect more than two users? (Ben and Lewis). Even on my old pIII with two Windows installs it takes only a couple of seconds.
Giving it has been reported on lots of distros, yes it affects more than 2 users. And don't forget that those who go along up to bother finding mga bugzilla, creating a bugzilla account, filling in a bug, ... are _not_ the bulk of our users...
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=16010
I wouldn't be for enabling os-prober just based on having detected Windows partitions. The examples we had where os-prober was slow was actually for detecting other _Linux_ partitions, and dozens of them. I'd be more for the checkbox option, making os-prober _opt-out_ (i.e. it's ticked on by default, and there would be a warning that it might be slow, so people can choose to skip it). We could maybe also rely on diskdrake to show a warning for users with more than e.g. 8 partitions, to tell them that OS probing might take a long time, and they might want to do it post-install instead.
"Probe foreign OS". May be not very clear for 'not so tech' users. Possibly 'Add other systems to menu' or suchlike?
(In reply to Barry Jackson from comment #35) > "Probe foreign OS". May be not very clear for 'not so tech' users. > Possibly 'Add other systems to menu' or suchlike? I agree. Maybe something like: 'Add other installed systems to the bootloader (detection of those systems might take some time)'
(In reply to Barry Jackson from comment #35) That's the string apprently used by SuSe so it's somewhat known
See eg: https://www.suse.com/documentation/sles-12/book_sle_admin/data/sec_grub2_yast2_config.html
I'm not convinced that's any good reason to copy them. It's so bad that they have to explain what it means! "Probe Foreign OS When selected, the boot loader searches for other systems like Windows or other Linux installations." "Search for other systems" then? I dread to think how "Probe foreign OS" could appear in some translations :)
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19047
See Also: https://bugs.mageia.org/show_bug.cgi?id=19047 => (none)
some info: maybe for Mga_6 errata, known installer issues? when I had 21 systems installed: Mageia-6-RC-i586-DVD.iso DATE.txt: Sat Aug 13 15:42:09 CEST 2016 md5sum: e6f153469350ac7cce80d10d47f96222 would fail with grub2 install failure, reducing this # to 17 allows os_prober to complete before time-out. just a side note: Mga5 never fails to re-install with UEFI in same system.
This looks the same terminal - not original - problem as Bug 16010 (now closed); and Bug 15752. If somebody Bugzilla responsible agrees that 15752 & this bug 18538 are effectively duplicates, I suggest closing one of them appropriately: probably the other. Looking back at 16010 re the long time to run os-prober, hence do installations & kernel updates, I have a significant addition (which I shall post also on 15752): Early in that closed bug Barry asked about a certain partition 10; comments 5 & 12. Real EFI/GPT hardware: It happens that I have recently removed Korora [ex Fedora] which was on partition 10, because of its very intrusive nature in NVRAM & the ESP, probably due to it doing 'secure boot'. At the same time I *increased* the number of partitions to 16. I have noticed since that os-prober (at least; yet to try a kernel upgrade or new installation) happens much faster, at least for Mageia 5, yet to try 6. From up-to-date Mageia 5: # time os-prober /dev/sda11:Mageia 6 (6):Mageia:linux /dev/sda13:Mageia 5 (5):Mageia1:linux /dev/sda14:LMDE MATE Edition (1):LinuxMint:linux /dev/sda16:Mageia 5 (5):Mageia2:linux /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /dev/sda8:Manjaro Linux (16.10):ManjaroLinux:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux real 0m25.038s which suggests that the presence of Korora/Fedora *did* matter, rather than the number of partitions.
I first came across this in the installer during the pretesting of the Mga6 sta2 64-bit LiveDVD isos. I was testing on an older machine with an existing Windows XP partition that I haven't used in a while, and a Mga5 KDE install, on two hard drives. I was installing into existing partitions that I have been using for testing, on the same drive as the XP partition. I can't remember now whether I didn't notice the check box, or did and didn't understand what it was for and just left it alone, unchecked, and went ahead with the installation. Imagine my surprise when I rebooted, and instead of seeing the expected choice of three OSes, I only saw one! I thought it was a bug, but after some discussion with the other testers I learned of this bug report, and the reason for the check box. Installing again, with the box checked, did NOT take an inordinate amount of time to complete, but I only have three OSes on that machine. Just my opinion, but I believe the box should be checked by default, and that there should be a more informative reason for it posted where it would be better noticed. I'm thinking here of a Linux novice, installing Mageia for the first time. If that user had been expecting his existing OS to appear in the boot menu alongside Mageia, and didn't see it, I can easily see him jumping to the conclusion that his old OS had been destroyed by Mageia during the install, and panicking about it. Not at all a desirable situation, if you ask me.
CC: (none) => andrewsfarm
commit 4941a2af6dc4ad94abeee810d6e0eb6e2bf241cb Author: Thierry Vignaud <thierry.vignaud@...> Date: Sun Dec 11 18:27:56 2016 +0100 describe what skipping os-prober does (mga#18538) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=4941a2af6dc4ad94abeee810d6e0eb6e2bf241cb
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=19997
On real EFI/GPT hardware, M6 sta2 and M5 I have noticed recently installing M6 that both end bootloader steps, which always used to take 10m each, are now down to 2-3m. Whether this is down to new something, or my recent removal of Korora/Fedora, I know not. @Ben: have you noticed any improvement lately?
(In reply to Lewis Smith from comment #44) > On real EFI/GPT hardware, M6 sta2 and M5 > > > @Ben: have you noticed any improvement lately? sadly, no. But I will run "time os-prober" again, just to get some real times
@ben I have updated to os-prober-1.74 (in updates_testing only for now) Could you see if it makes any difference to the timings and also check for any regressions? Thanks, Barry
(In reply to Barry Jackson from comment #46) > @ben > I have updated to os-prober-1.74 (in updates_testing only for now) > > Could you see if it makes any difference to the timings and also check for > any regressions? > > Thanks, > Barry I apologise in advance for for the longwinded reply: Fresh install Plasma5 x86_64 (from Live) os-prober-1.71-11.mga6.x86_64 time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde19:Mageia 6 (6):Mageia5:linux /dev/sde27:Mageia 6 (6):Mageia6:linux /dev/sde29:Mageia 6 (6):Mageia7:linux /dev/sde3:Mageia 6 (6):Mageia8:linux /dev/sde31:Mageia 6 (6):Mageia9:linux /dev/sde35:Mageia 6 (6):Mageia10:linux /dev/sde37:Mageia 6 (6):Mageia11:linux /dev/sde39:Mageia 5 (5):Mageia12:linux /dev/sde41:Mageia 5 (5):Mageia13:linux /dev/sde5:Mageia 6 (6):Mageia14:linux /dev/sde7:Mageia 6 (6):Mageia15:linux /dev/sde9:Mageia 6 (6):Mageia16:linux real 2m14.235s grub2-common-2.02-0.git10463.5.mga6.x86_64 grub2-2.02-0.git10463.5.mga6.x86_64 grub2-efi-2.02-0.git10463.5.mga6.x86_64 grub2-mageia-theme-2.02-0.git10463.5.mga6.noarch # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.4-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.4-desktop-2.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 15m54.559s checked default online repos: os-prober-1.71-12.mga6.x86_64 replaced default online repos to : http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64 installed os-prober-1.74-1.mga6.x86_64 time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde29:Mageia 6 (6):Mageia6:linux /dev/sde3:Mageia 6 (6):Mageia7:linux /dev/sde31:Mageia 6 (6):Mageia8:linux /dev/sde35:Mageia 6 (6):Mageia9:linux /dev/sde37:Mageia 6 (6):Mageia10:linux /dev/sde39:Mageia 5 (5):Mageia11:linux /dev/sde41:Mageia 5 (5):Mageia12:linux /dev/sde5:Mageia 6 (6):Mageia13:linux /dev/sde7:Mageia 6 (6):Mageia14:linux /dev/sde9:Mageia 6 (6):Mageia15:linux real 0m28.420s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.8-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.8-desktop-1.mga6.img Found linux image: /boot/vmlinuz-4.9.4-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.4-desktop-2.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 6m59.239s rebooted to Mageia grub2 graphic -ok "advanced" options display expected multiple kernel options system boots back to desktop - ok no regressions noted looks good thank you Ben
Thanks Ben that looks encouraging, although the total time in the first case is around 7x the time taken by os-prober alone, whereas in the second case it is around 14x. How that will scale with more systems on board I'm not sure. It would have been good to also compare with os-prober-1.71-12.mga6.x86_64 which is similar to os-prober-1.71-11 but with a few more Fedora patches applied (most of these same patches are also in the 1.74 package) It is also in updates_testing as you found. Any chance? ;) Cheers, Barry
Gnome x86_64 (Live install) updated to latest (sde31) (os-prober-1.71-11.mga6.x86_64) # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde19:Mageia 6 (6):Mageia5:linux /dev/sde27:Mageia 6 (6):Mageia6:linux /dev/sde29:Mageia 6 (6):Mageia7:linux /dev/sde3:Mageia 6 (6):Mageia8:linux /dev/sde33:Mageia 6 (6):Mageia9:linux /dev/sde35:Mageia 6 (6):Mageia10:linux /dev/sde37:Mageia 6 (6):Mageia11:linux /dev/sde39:Mageia 5 (5):Mageia12:linux /dev/sde41:Mageia 5 (5):Mageia13:linux /dev/sde5:Mageia 6 (6):Mageia14:linux /dev/sde7:Mageia 6 (6):Mageia15:linux /dev/sde9:Mageia 6 (6):Mageia16:linux real 2m13.886s (grub2-common-2.02-0.git10463.5.mga6.x86_64 grub2-2.02-0.git10463.5.mga6.x86_64 grub2-efi-2.02-0.git10463.5.mga6.x86_64 grub2-mageia-theme-2.02-0.git10463.5.mga6.noarch) # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.8-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.8-desktop-1.mga6.img Found linux image: /boot/vmlinuz-4.9.4-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.4-desktop-2.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde33 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 8m54.906s urpme os-prober removing os-prober-1.71-11.mga6.x86_64 enable repo: http://mirrors.ustc.edu.cn/mageia/distrib/cauldron/x86_64 urpmi os-prober installing os-prober-1.71-12.mga6.x86_64.rpm # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde19:Mageia 6 (6):Mageia5:linux /dev/sde27:Mageia 6 (6):Mageia6:linux /dev/sde29:Mageia 6 (6):Mageia7:linux /dev/sde3:Mageia 6 (6):Mageia8:linux /dev/sde33:Mageia 6 (6):Mageia9:linux /dev/sde35:Mageia 6 (6):Mageia10:linux /dev/sde37:Mageia 6 (6):Mageia11:linux /dev/sde39:Mageia 5 (5):Mageia12:linux /dev/sde41:Mageia 5 (5):Mageia13:linux /dev/sde5:Mageia 6 (6):Mageia14:linux /dev/sde7:Mageia 6 (6):Mageia15:linux /dev/sde9:Mageia 6 (6):Mageia16:linux real 2m17.188s change mirrors: http://mirror.aarnet.edu.au/pub/mageia/distrib/cauldron/x86_64 # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.8-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.8-desktop-1.mga6.img Found linux image: /boot/vmlinuz-4.9.4-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.4-desktop-2.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde33 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 9m8.834s # urpme os-prober removing os-prober-1.71-12.mga6.x86_64 # urpmi os-prober installing os-prober-1.74-1.mga6.x86_64.rpm # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde29:Mageia 6 (6):Mageia6:linux /dev/sde3:Mageia 6 (6):Mageia7:linux /dev/sde33:Mageia 6 (6):Mageia8:linux /dev/sde35:Mageia 6 (6):Mageia9:linux /dev/sde37:Mageia 6 (6):Mageia10:linux /dev/sde39:Mageia 5 (5):Mageia11:linux /dev/sde41:Mageia 5 (5):Mageia12:linux /dev/sde5:Mageia 6 (6):Mageia13:linux /dev/sde7:Mageia 6 (6):Mageia14:linux /dev/sde9:Mageia 6 (6):Mageia15:linux real 0m15.591s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.8-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.8-desktop-1.mga6.img Found linux image: /boot/vmlinuz-4.9.4-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.4-desktop-2.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde33 Found Mageia 6 (6) on /dev/sde35 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 6m34.317s not sure why the Gnome is much faster initially than the Plasma5
(In reply to Barry Jackson from comment #46) > I have updated to os-prober-1.74 (in updates_testing only for now) > Trying M5_64 real EFI box BEFORE the latest update: os-prober-1.65-9.6.mga5 # time os-prober /dev/sda10:Mageia 6 (6):Mageia:linux /dev/sda11:Mageia 6 (6):Mageia1:linux /dev/sda13:Mageia 6 (6):Mageia2:linux /dev/sda14:LMDE MATE Edition (1):LinuxMint:linux /dev/sda16:Mageia 5 (5):Mageia3:linux /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /dev/sda8:Manjaro Linux (16.10):ManjaroLinux:linux /dev/sda9:openSUSE 12.3 (x86_64):SUSE:linux real 0m25.089s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-tmb-desktop Found initrd image: /boot/initrd-desktop.img Found linux image: /boot/vmlinuz-linus Found initrd image: /boot/initrd-linus.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found linux image: /boot/vmlinuz-4.4.45-desktop-1.mga5 Found initrd image: /boot/initrd-4.4.45-desktop-1.mga5.img Found linux image: /boot/vmlinuz-4.4.39-tmb-desktop-1.mga5 Found initrd image: /boot/initrd-4.4.39-tmb-desktop-1.mga5.img Found linux image: /boot/vmlinuz-4.4.39-desktop-1.mga5 Found initrd image: /boot/initrd-4.4.39-desktop-1.mga5.img Found linux image: /boot/vmlinuz-4.4.39-1.mga5 Found initrd image: /boot/initrd-4.4.39-1.mga5.img Found linux image: /boot/vmlinuz-4.4.36-desktop-2.mga5 Found initrd image: /boot/initrd-4.4.36-desktop-2.mga5.img Found Mageia 6 (6) on /dev/sda10 Found Mageia 6 (6) on /dev/sda11 Found Mageia 6 (6) on /dev/sda13 Found LMDE MATE Edition (1) on /dev/sda14 Found Mageia 5 (5) on /dev/sda16 Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi Found Manjaro Linux (16.10) on /dev/sda8 Found openSUSE 12.3 (x86_64) on /dev/sda9 done real 2m26.388s This - particularly os-prober - is *much* faster than it used to be. I have already noted this speed improvement somewhere. Both commands shown used to take 10m. I could not find os-prober in Updates Testing, via MCC, or: # urpmi --media '[Core ]Updates Testing' os-prober [No pkg named] os-prober 'coffee' is my normal repository. Perhaps the command was wrong. Await correction.
Thanks Ben and Lewis, @Lewis Thanks for trying, however no need now for any more tests - it is too broken. It was actually Cauldron not Mga5 where I was asking for tests, sorry if I did not make that clear. Anyhow, as I said don't bother now. @Ben Thanks again, It seems that 1.74 will have benefits when it's other issues are resolved. At present it's missing some patches that fix btrfs problems. Neil is currently attempting to incorporate these which is not easy as so much has changed in this new version. Barry
updated system to latest Cinnamon only install from sta2 x86_64.iso (I needed to remove some installed systems to complete the install) # urpmf -f --name -m os-prober os-prober-1.71-11.mga6.x86_64:Core Release # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde29:Mageia 6 (6):Mageia6:linux /dev/sde3:Mageia 6 (6):Mageia7:linux /dev/sde31:Mageia 6 (6):Mageia8:linux /dev/sde39:Mageia 5 (5):Mageia9:linux /dev/sde41:Mageia 5 (5):Mageia10:linux /dev/sde5:Mageia 6 (6):Mageia11:linux /dev/sde7:Mageia 6 (6):Mageia12:linux /dev/sde9:Mageia 6 (6):Mageia13:linux real 1m55.407s urpmf -f --name -m grub2 grub2-common-2.02-0.git10463.5.mga6.x86_64 grub2-2.02-0.git10463.5.mga6.x86_64: grub2-efi-2.02-0.git10463.5.mga6.x86_64 # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.11-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.11-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 10m24.047s # urpmf -f --name -m os-prober os-prober-1.74-2.mga6.x86_64 # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde27:Mageia 6 (6):Mageia5:linux /dev/sde29:Mageia 6 (6):Mageia6:linux /dev/sde3:Mageia 6 (6):Mageia7:linux /dev/sde31:Mageia 6 (6):Mageia8:linux /dev/sde39:Mageia 5 (5):Mageia9:linux /dev/sde41:Mageia 5 (5):Mageia10:linux /dev/sde5:Mageia 6 (6):Mageia11:linux /dev/sde7:Mageia 6 (6):Mageia12:linux /dev/sde9:Mageia 6 (6):Mageia13:linux real 2m12.826s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.12-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.12-desktop-1.mga6.img Found linux image: /boot/vmlinuz-4.9.11-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.11-desktop-2.mga6.img Found linux image: /boot/vmlinuz-4.9.11-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.11-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde31 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 8m0.555s
(In reply to ben mcmonagle from comment #52) > updated system to latest > Cinnamon only install from sta2 x86_64.iso Is this bug still valid for the newest 6sta2 isos?
Summary: [6sta1] UEFI x86-64 install takes about 15 min to install bootloader, Live and Classical Installer => UEFI x86-64 install takes about 15 min to install bootloader, Live and Classical InstallerKeywords: 6sta1 => 6sta2
CC: andrewsfarm => (none)
(In reply to Marja van Waes from comment #53) > (In reply to ben mcmonagle from comment #52) > > updated system to latest > > Cinnamon only install from sta2 x86_64.iso > > > Is this bug still valid for the newest 6sta2 isos? yes :(
(In reply to ben mcmonagle from comment #54) > (In reply to Marja van Waes from comment #53) > > (In reply to ben mcmonagle from comment #52) > > > updated system to latest > > > Cinnamon only install from sta2 x86_64.iso > > > > > > Is this bug still valid for the newest 6sta2 isos? > > yes :( What is the timing with the current 1.74-3 for comparison with the others?
(In reply to Barry Jackson from comment #55) > > What is the timing with the current 1.74-3 for comparison with the others? # urpmf -f --name -m os-prober os-prober-1.74-2.mga6.x86_64 # time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde19:Mageia 6 (6):Mageia5:linux /dev/sde27:Mageia 6 (6):Mageia6:linux /dev/sde29:Mageia 6 (6):Mageia7:linux /dev/sde3:Mageia 6 (6):Mageia8:linux /dev/sde37:Mageia 6 (6):Mageia9:linux /dev/sde39:Mageia 5 (5):Mageia10:linux /dev/sde41:Mageia 5 (5):Mageia11:linux /dev/sde5:Mageia 6 (6):Mageia12:linux /dev/sde7:Mageia 6 (6):Mageia13:linux /dev/sde9:Mageia 6 (6):Mageia14:linux real 1m53.166s # urpmf -f --name -m grub2 grub2-common-2.02-0.git10463.5.mga6.x86_64 grub2-2.02-0.git10463.5.mga6.x86_64 grub2-efi-2.02-0.git10463.5.mga6.x86_64 grub2-mageia-theme-2.02-0.git10463.5.mga6 # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.13-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.13-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 8m47.720s update system # urpmf -f --name -m os-prober os-prober-1.74-3.mga6.x86_64:Core Release (distrib1) os-prober-1.74-3.mga6.i586:Core 32bit Release (distrib31) [root@localhost ~]# time os-prober /dev/sdc3:Mageia 5 (5):Mageia:linux /dev/sde11:Mageia 6 (6):Mageia1:linux /dev/sde13:Mageia 6 (6):Mageia2:linux /dev/sde15:Mageia 6 (6):Mageia3:linux /dev/sde17:Mageia 6 (6):Mageia4:linux /dev/sde19:Mageia 6 (6):Mageia5:linux /dev/sde27:Mageia 6 (6):Mageia6:linux /dev/sde29:Mageia 6 (6):Mageia7:linux /dev/sde3:Mageia 6 (6):Mageia8:linux /dev/sde37:Mageia 6 (6):Mageia9:linux /dev/sde39:Mageia 5 (5):Mageia10:linux /dev/sde41:Mageia 5 (5):Mageia11:linux /dev/sde5:Mageia 6 (6):Mageia12:linux /dev/sde7:Mageia 6 (6):Mageia13:linux /dev/sde9:Mageia 6 (6):Mageia14:linux real 1m58.174s # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.13-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.13-desktop-2.mga6.img Found linux image: /boot/vmlinuz-4.9.13-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.13-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img Found Mageia 5 (5) on /dev/sdc3 Found Mageia 6 (6) on /dev/sde11 Found Mageia 6 (6) on /dev/sde13 Found Mageia 6 (6) on /dev/sde15 Found Mageia 6 (6) on /dev/sde17 Found Mageia 6 (6) on /dev/sde19 Found Mageia 6 (6) on /dev/sde27 Found Mageia 6 (6) on /dev/sde29 Found Mageia 6 (6) on /dev/sde3 Found Mageia 6 (6) on /dev/sde37 Found Mageia 5 (5) on /dev/sde39 Found Mageia 5 (5) on /dev/sde41 Found Mageia 6 (6) on /dev/sde5 Found Mageia 6 (6) on /dev/sde7 Found Mageia 6 (6) on /dev/sde9 done real 8m32.838s
Hum... os-prober used to dominate grub2 runtime. Can you try 2 things? 1) run update2-grub under strace: strace -rTf -e file,process /bin/update-grub2 &>/tmp/strace-grub2.txt Then attach the resulting /tmp/strace-grub2.txt file here 2) Run grub2 after disabling os-prober set GRUB_DISABLE_OS_PROBER=true in /etc/default/grub Then time update-grub2
(In reply to Thierry Vignaud from comment #57) > Hum... > os-prober used to dominate grub2 runtime. > Can you try 2 things? > 1) run update2-grub under strace: > strace -rTf -e file,process /bin/update-grub2 &>/tmp/strace-grub2.txt > Then attach the resulting /tmp/strace-grub2.txt file here strace-grub2.txt is greater than 1GB strace-grub2.zip is greater than 61MB strace-grub2.tar.xz is greater than 40MB too large to attach. Can I e-mail it to you? > 2) Run grub2 after disabling os-prober > set GRUB_DISABLE_OS_PROBER=true in /etc/default/grub > Then time update-grub2 # time update-grub2 Generating grub configuration file ... Found theme: /boot/grub2/themes/maggy/theme.txt Found linux image: /boot/vmlinuz-4.9.13-desktop-2.mga6 Found initrd image: /boot/initrd-4.9.13-desktop-2.mga6.img Found linux image: /boot/vmlinuz-4.9.13-desktop-1.mga6 Found initrd image: /boot/initrd-4.9.13-desktop-1.mga6.img Found linux image: /boot/vmlinuz-desktop Found initrd image: /boot/initrd-desktop.img done real 1m0.722s This is a similar time if I "rescue" the system and re-install the bootloader
(In reply to ben mcmonagle from comment #58) > > > This is a similar time if I "rescue" the system and re-install the bootloader except that all system partitions are identified and added to the grub2 menu
yes, you can mail the logs to me or upload it to some file sharing service. Note that on mga, you can compress it further by using "xz -9 --text" I wonder what is doing update-grub2 (really grub2-mkconfig) when it runs os-prober on your system....
M6_STA2 up to date 8 March 2017. 16 disc partitions, 9 OS's. os-prober: 1.74.3 grub2-efi: 2.02.0 os-prober took 21s update-grub took 2m26s both very much faster than the 'old' 10m for each.
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=20777
I suppose it is solved by now If not please reopen and state version
Status: NEW => RESOLVEDCC: (none) => friResolution: (none) => OLD