grub2-mkconfig produces multiple boot entries in grub2 boot menu.

2021-04-09 Thread George R Goffe via test
Hi, I wrote this problem as a bug, Bug ID: 1945821, a few days ago. Has anyone else seen this? Best regards, George... ___ test mailing list -- test@lists.fedoraproject.org To unsubscribe send an email to test-le...@lists.fedoraproject.org Fedora Code

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-31 Thread stan
On Wed, 31 Jan 2018 13:58:52 -0800 Kevin Fenzi wrote: > Hey stan. > > I ran into this same issue here. It seems it's caused by > environment-modules. There's a bug on it: > > https://bugzilla.redhat.com/show_bug.cgi?id=1539856 Thanks, that's it! I checked, and that package was updated on the

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-31 Thread Kevin Fenzi
Hey stan. I ran into this same issue here. It seems it's caused by environment-modules. There's a bug on it: https://bugzilla.redhat.com/show_bug.cgi?id=1539856 kevin signature.asc Description: OpenPGP digital signature ___ test mailing list -- test

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-31 Thread stan
On Wed, 31 Jan 2018 07:40:43 +0100 Adam Williamson wrote: > That's definitely weird! My first thought would be that it's possibly > a profile bug; check ~/.bash_profile , ~/.bashrc and /etc/profile.d/ > for anything that looks odd. Try as a different user; does it happen > there? The behavior se

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-30 Thread Adam Williamson
this. There is no issue with dracut or > grub2-mkconfig themselves. That's definitely weird! My first thought would be that it's possibly a profile bug; check ~/.bash_profile , ~/.bashrc and /etc/profile.d/ for anything that looks odd. Try as a different user; does it happen there? --

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-30 Thread stan
is, the problem is in the automatic routing of command output to less, like systemd does. Not sure why bash would suddenly start doing this. There is no issue with dracut or grub2-mkconfig themselves. ___ test mailing list -- test@lists.fedoraproject.org To unsubscribe send an email to test-le...@lists.fedoraproject.org

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128 [Solved]

2018-01-30 Thread stan
ing up the journal files, which went over > > 500MB in like two days. And due to a new kernel bug in 4.15, hence > > the bisecting, I'm running kernel 4.14. I just did dracut -f and > > grub2-mkconfig with this combination and it works fine. > > I have selinux in

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread Adam Williamson
On Sun, 2018-01-28 at 18:57 -0700, stan wrote: > On Mon, 29 Jan 2018 01:34:38 +0100 > Adam Williamson wrote: > > Thanks for the reply. > > > Hi Stan! One *possible* source of this might be a recent glibc change: > > > > * Fri Jan 19 2018 Björn Esser - > > 2.26.9000-46 > > - Remove deprecated l

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread stan
On Mon, 29 Jan 2018 01:34:38 +0100 Adam Williamson wrote: Thanks for the reply. > Hi Stan! One *possible* source of this might be a recent glibc change: > > * Fri Jan 19 2018 Björn Esser - > 2.26.9000-46 > - Remove deprecated libcrypt, gets replaced by libxcrypt > > you could try downgrading

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread stan
, hence the > bisecting, I'm running kernel 4.14. I just did dracut -f and > grub2-mkconfig with this combination and it works fine. I have selinux in enforcing mode, so that could be it. I'll try setting enforcing to 0 and booting into an earlier kernel.

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread Adam Williamson
On Sun, 2018-01-28 at 11:49 -0700, stan wrote: > Just compiled a custom kernel. When I tried to create a custom > initramfs, the job seemed to create the file, but hung indefinitely in > D status, with call_r. Trying to recreate the grub.cfg file by running > grub2-mkconfig al

Re: dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread Chris Murphy
On Sun, Jan 28, 2018 at 11:49 AM, stan wrote: > Just compiled a custom kernel. When I tried to create a custom > initramfs, the job seemed to create the file, but hung indefinitely in > D status, with call_r. Trying to recreate the grub.cfg file by running > grub2-mkconfig al

dracut and grub2-mkconfig hang indefinitely in rawhide, in uninterruptable sleep - 20180128

2018-01-28 Thread stan
Just compiled a custom kernel. When I tried to create a custom initramfs, the job seemed to create the file, but hung indefinitely in D status, with call_r. Trying to recreate the grub.cfg file by running grub2-mkconfig also went into uninterruptable sleep. When I ran this two weeks ago

grub2-mkconfig warning please don't use old title

2014-07-03 Thread Chris Murphy
I'm getting this on a clean Rawhide UEFI install, which includes grub2-2.02-0.6.fc21.x86_64. [root@localhost ~]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.16.0-0.rc3.git2.1.fc21.x86_64 Found initrd image:

[SOLVED] Re: grub2-mkconfig not picking up all kernels on another partition

2013-06-24 Thread Frank McCormick
On 06/23/2013 10:04 PM, Frank McCormick wrote: On 06/23/2013 08:18 PM, Matthew Miller wrote: On Sun, Jun 23, 2013 at 03:54:33PM -0600, Chris Murphy wrote: bash -x grub2-mkconfig -o /boot/grub2/grub.cfg Post the result somewhere, then post the URL here. Sounds like an OS Prober issue, which is

Re: grub2-mkconfig not picking up all kernels on another partition

2013-06-23 Thread Matthew Miller
On Sun, Jun 23, 2013 at 03:54:33PM -0600, Chris Murphy wrote: > bash -x grub2-mkconfig -o /boot/grub2/grub.cfg > Post the result somewhere, then post the URL here. Sounds like an OS Prober > issue, which is more problematic on UEFI than BIOS usually. Try fpaste: $ echo foo |fpaste

F19 grub2-mkconfig makes F18 partition fail to run

2013-03-27 Thread Chuck Forsberg WA7KGX N2469R
I installed today's F19 rsync on my office machine. As usual, the install discovered the Win7 partition but not the Spherical Cow partition. After installing memtest and running memtest-seup I copied/pasted the displayed command to update grub.cfg. Upon rebooting and selecting Spherical Cow the s

Re: grubby vs. grub2-mkconfig

2012-04-17 Thread Tom H
upport this messy >> setup then? > > Because the reverse is true - requiring a tool to modify grub.cfg > is plain wrong, modifying it manually is the only way to go. What > we should do is get rid of all the template files and grub2-mkconfig > and just ship grubby. (One of the prime reas

Re: grubby vs. grub2-mkconfig

2012-04-17 Thread Adam Williamson
port this messy > > setup then? > > Because the reverse is true - requiring a tool to modify grub.cfg > is plain wrong, modifying it manually is the only way to go. What > we should do is get rid of all the template files and grub2-mkconfig > and just ship grubby. (One of the pr

Re: grubby vs. grub2-mkconfig

2012-04-17 Thread Tom Horsley
modify grub.cfg is plain wrong, modifying it manually is the only way to go. What we should do is get rid of all the template files and grub2-mkconfig and just ship grubby. (One of the prime reasons grub replaced lilo was that you didn't have to remember to run some stupid tool after editi

grubby vs. grub2-mkconfig

2012-04-17 Thread Adam Pribyl
There are at least two bugs that sum the confusion and remains in F17: https://bugzilla.redhat.com/show_bug.cgi?id=755272 https://bugzilla.redhat.com/show_bug.cgi?id=768106 In short: kernel install adds option to grub.cfg using grubby, while grub2-mkconfig generates a different menuentries

Re: Grub2 mkconfig

2012-02-23 Thread Adam Williamson
On Thu, 2012-02-23 at 14:14 -0600, Chris Adams wrote: > Once upon a time, Adam Williamson said: > > On Thu, 2012-02-23 at 09:40 -0600, Chris Adams wrote: > > > That's what I used to do, but it didn't work for me with F16 and GRUB2. > > > I get a warning that I shouldn't install GRUB2 to a partitio

Re: Grub2 mkconfig

2012-02-23 Thread Chris Adams
Once upon a time, Adam Williamson said: > On Thu, 2012-02-23 at 09:40 -0600, Chris Adams wrote: > > That's what I used to do, but it didn't work for me with F16 and GRUB2. > > I get a warning that I shouldn't install GRUB2 to a partition and then > > an error about there not being enough space. >

Re: Grub2 mkconfig

2012-02-23 Thread Adam Williamson
On Thu, 2012-02-23 at 09:40 -0600, Chris Adams wrote: > Once upon a time, Michael Schwendt said: > > Is it a single /boot partition shared by multiple dists? > > If so, that has always been just an ugly work-around to escape from having > > to repartition. I prefer individual partitions for each d

Re: Grub2 mkconfig

2012-02-23 Thread Chris Adams
Once upon a time, Michael Schwendt said: > Is it a single /boot partition shared by multiple dists? > If so, that has always been just an ugly work-around to escape from having > to repartition. I prefer individual partitions for each dist plus > installing each dist's boot loader in the partition

Re: Grub2 mkconfig

2012-02-23 Thread Michael Schwendt
On Wed, 22 Feb 2012 10:38:16 -0500, TD (Timothy) wrote: > It's not the recovery mode entry that bothers me, but the fact that for > all of the kernels in my boot parttion gets assigned to F17 or what > every the last distro installed. Maybe the mkconfig program isn't samrt > enought or maybe I sho

Re: Grub2 mkconfig

2012-02-23 Thread Tom H
uot;/boot" for all your distros. I don't have copies of "10_linux", "grub2-mkconfig", and "grub2-mkconfig_lib" (or maybe it's not renamed in Fedora and is "grub-mkconfig_lib") but I suspect that it's not only the "menuentry" titles

Re: Grub2 mkconfig

2012-02-22 Thread Tom H
st is home > > I know my setup is not typical and tweaking boot will always happen What do you expect grub2 to do? Why don't you maintain a custom file in "/etc/grub.d/" and delete/move/"chmod -x" the ones that you don't want to be run by "grub2-mkconfig&

Re: Grub2 mkconfig

2012-02-22 Thread T.C. Hollingsworth
oot parttion gets assigned to F17 or what > every the last distro installed. Maybe the mkconfig program isn't samrt > enought or maybe I should go ahead and write my own. You share a boot partition between all the distros? Yeah, grub2-mkconfig as it stands really has no way of figurin

Re: Grub2 mkconfig

2012-02-22 Thread Timothy Davis
On Wed, 2012-02-22 at 08:22 -0700, T.C. Hollingsworth wrote: > On Wed, Feb 22, 2012 at 8:06 AM, Timothy Davis wrote: > > Once again grub2 has installed dozens (at least 20) different entries in my > > boot menu. I understand that Fedora is bleeding edge and not for the feint > > of heart > > I acc

Re: Grub2 mkconfig

2012-02-22 Thread Clyde E. Kunkel
On 02/22/2012 10:06 AM, Timothy Davis wrote: Once again grub2 has installed dozens (at least 20) different entries in my boot menu. I understand that Fedora is bleeding edge and not for the feint of heart I accept that and have no problem tweaking anything. But come on now! I feel like I should j

Re: Grub2 mkconfig

2012-02-22 Thread T.C. Hollingsworth
On Wed, Feb 22, 2012 at 8:06 AM, Timothy Davis wrote: > Once again grub2 has installed dozens (at least 20) different entries in my > boot menu. I understand that Fedora is bleeding edge and not for the feint > of heart > I accept that and have no problem tweaking anything. But come on now! I feel

Grub2 mkconfig

2012-02-22 Thread Timothy Davis
Once again grub2 has installed dozens (at least 20) different entries in my boot menu. I understand that Fedora is bleeding edge and not for the feint of heart I accept that and have no problem tweaking anything. But come on now! I feel like I should just rewrite the mkconfig program. My system is

Re: Fedora 16 grub2-mkconfig

2011-11-03 Thread Nicolae Ghimbovschi
at 13:11, Michael Schwendt wrote: > On Thu, 3 Nov 2011 11:52:16 +0100, MS (Michael) wrote: > >> On Thu, 3 Nov 2011 11:34:53 +0200, NG (Nicolae) wrote: >> >> > After running grub2-mkconfig -o /boot/grub2/grub.cfg, I saw that >> > /boot/grub2/grub.cfg was

Re: Fedora 16 grub2-mkconfig

2011-11-03 Thread Michael Schwendt
On Thu, 3 Nov 2011 11:52:16 +0100, MS (Michael) wrote: > On Thu, 3 Nov 2011 11:34:53 +0200, NG (Nicolae) wrote: > > > After running grub2-mkconfig -o /boot/grub2/grub.cfg, I saw that > > /boot/grub2/grub.cfg was not updated. > > > > grub2-mkconfig -o /boot/grub2/gr

Re: Fedora 16 grub2-mkconfig

2011-11-03 Thread Michael Schwendt
On Thu, 3 Nov 2011 11:34:53 +0200, NG (Nicolae) wrote: > After running grub2-mkconfig -o /boot/grub2/grub.cfg, I saw that > /boot/grub2/grub.cfg was not updated. > > grub2-mkconfig -o /boot/grub2/grub.cfg > Generating grub.cfg ... > Found linux image: /boot/vmlinuz-3.1.0-5.f

Fedora 16 grub2-mkconfig

2011-11-03 Thread Nicolae Ghimbovschi
Hello, I need help with a GRUB2 issue. Yesterday I did a preupgrade from F15 to F16. I've added a new custom menu entry for grub in /etc/grub.d/40_custom After running grub2-mkconfig -o /boot/grub2/grub.cfg, I saw that /boot/grub2/grub.cfg was not updated. grub2-mkconfig -o /boot/