Running the command see these lines? But line 186 in 50mounted-tests is just a "fi" line??
grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... /usr/libexec/os-probes/50mounted-tests: line 186: 1820513 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820535 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820562 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null Adding boot menu entry for UEFI Firmware Settings ...
Noticed some grub updates in latest dnf updates
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 8/3/25 06:55, Michael D. Setzer II via users wrote:
Running the command see these lines? But line 186 in 50mounted-tests is just a "fi" line??
grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... /usr/libexec/os-probes/50mounted-tests: line 186: 1820513 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820535 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820562 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null Adding boot menu entry for UEFI Firmware Settings ...
Noticed some grub updates in latest dnf updates
I have just done an update and the update did indeed update the grub2 packages, and when I ran grub2-mkconfig I got the segmentation fault as well, but for me the process still produced the Fedora Menu entries, the Windows 11 menu entry and the Ubuntu menu entries. The one thing I did notice was the generated menus were now centered in the screen instead of the top left and the menus were displayed in a lower resolution, so much so that the menu font display was horrible.
regards, Steve
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 8 Mar 2025 at 10:48, Stephen Morris wrote:
Date sent: Sat, 8 Mar 2025 10:48:46 +1100 Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? To: users@lists.fedoraproject.org From: Stephen Morris steve.morris.au@gmail.com Send reply to: Community support for Fedora users users@lists.fedoraproject.org
On 8/3/25 06:55, Michael D. Setzer II via users wrote:
Running the command see these lines? But line 186 in 50mounted-tests is just a "fi" line??
grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... /usr/libexec/os-probes/50mounted-tests: line 186: 1820513 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820535 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 1820562 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null Adding boot menu entry for UEFI Firmware Settings ...
Noticed some grub updates in latest dnf updates
I have just done an update and the update did indeed update the grub2 packages, and when I ran grub2-mkconfig I got the segmentation fault as well, but for me the process still produced the Fedora Menu entries, the Windows 11 menu entry and the Ubuntu menu entries. The one thing I did notice was the generated menus were now centered in the screen instead of the top left and the menus were displayed in a lower resolution, so much so that the menu font display was horrible.
regards, Steve
Thanks for Info. I've got two old acer notebooks that had windows 7, and I upgraded to Fedora, but left the windows 7 on. So, noticed they had the Segment faults. So, wasn't sure if it was only an issue with setups with windows 7 or what. I have 5 other machines with Fedora only, and they don't get error messages. Don't have any other machines with Fedora and other versions of windows. Have two mini PCs, but they came with just windows 11, and have added Fedora to them yet.
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
Michael D. Setzer II wrote:
Running the command see these lines? But line 186 in 50mounted-tests is just a "fi" line?? grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ...
I see this aswell during homebrewed kernel install. Box has a second disk with win10 (first disk was disconnected during win10 install)
... INSTALL /boot Generating grub configuration file ... /usr/libexec/os-probes/50mounted-tests: line 186: 271279 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 271301 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null /usr/libexec/os-probes/50mounted-tests: line 186: 271324 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null Found Windows Boot Manager on /dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings ...
Also updated F41 Workstation yesterday (which is a W11 dual-boot setup). I think the issue is not with the tests file but with grub2-mount, which was likely changed in the update. The update may have some vuln patches and perhaps some regressions. Trying to find out.
Action Package Reason Repository Upgrade grub2-common-1:2.12-19.fc41.noarch Dependency updates Upgrade grub2-tools-minimal-1:2.12-19.fc41.x86_64 Dependency updates Upgrade grub2-tools-extra-1:2.12-19.fc41.x86_64 User updates Upgrade grub2-tools-efi-1:2.12-19.fc41.x86_64 User updates Upgrade grub2-tools-1:2.12-19.fc41.x86_64 Dependency updates Upgrade grub2-efi-x64-modules-1:2.12-19.fc41.noarch User updates Upgrade grub2-efi-x64-1:2.12-19.fc41.x86_64 User updates Upgrade libguestfs-1:1.55.6-1.fc41.x86_64 Dependency updates Upgrade libguestfs-appliance-1:1.55.6-1.fc41.x86_64 Dependency updates Upgrade libguestfs-xfs-1:1.55.6-1.fc41.x86_64 Weak Dependency updates
Replaced grub2-common-1:2.12-15.fc41.noarch Dependency @System Replaced grub2-efi-x64-1:2.12-15.fc41.x86_64 User @System Replaced grub2-efi-x64-modules-1:2.12-15.fc41.noarch User @System Replaced grub2-tools-1:2.12-15.fc41.x86_64 Dependency @System Replaced grub2-tools-efi-1:2.12-15.fc41.x86_64 User @System Replaced grub2-tools-extra-1:2.12-15.fc41.x86_64 User @System Replaced grub2-tools-minimal-1:2.12-15.fc41.x86_64 Dependency @System Replaced libguestfs-1:1.55.3-2.fc41.x86_64 Dependency @System Replaced libguestfs-appliance-1:1.55.3-2.fc41.x86_64 Dependency @System Replaced libguestfs-xfs-1:1.55.3-2.fc41.x86_64 Weak Dependency @System
❯ grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... /usr/libexec/os-probes/50mounted-tests: line 186: 92508 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null Found Windows Boot Manager on /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings ... Detecting snapshots ... Found snapshot: 2025-03-08 12:00:00 | .snapshots/854/snapshot | single | timeline Found snapshot: 2025-03-08 00:47:35 | .snapshots/853/snapshot | single | 6.13.5-200.fc41.x86_64: Post-Boot (Bad Grub Update) Found snapshot: 2025-03-08 00:31:11 | .snapshots/852/snapshot | single | 6.13.5-200.fc41.x86_64: Pre-Boot (Bad Grub Update) Found snapshot: 2025-03-08 00:20:22 | .snapshots/851/snapshot | post | dnf upgrade Found snapshot: 2025-03-08 00:20:15 | .snapshots/850/snapshot | pre | dnf upgrade
Trying to figure out how to resolve this situation. I don't use Windows so may just wipe that volume, and then os-probe or grub2-mount won't error this.
Running os-prober on its own also reveals this seg fault.
❯ sudo os-prober /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /usr/libexec/os-probes/50mounted-tests: line 186: 224295 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null
On 8 Mar 2025 at 13:53, Camina Shell via users wrote:
Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? To: users@lists.fedoraproject.org Date sent: Sat, 08 Mar 2025 13:53:50 -0000 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Camina Shell via users users@lists.fedoraproject.org Copies to: Camina Shell fedoraproject.5cqga@passfwd.com
Running os-prober on its own also reveals this seg fault.
❯ sudo os-prober /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /usr/libexec/os-probes/50mounted-tests: line 186: 224295 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null --
Did some test on 50mounted-tests? Says line is 186, but that is just a "fi" line? Put an echo $partition "XXX" line before that set of if's, and got nothing to show on screen?? Then changed the echo with a
/tmp/XXX on end, and it then showed partitione sda1 2 and 3?
These are ntfs partitions? /dev/sda2: LABEL="SYSTEM RESERVED" BLOCK_SIZE="512" UUID="2036488536485DC2" TYPE="ntfs" PARTUUID="7c819ab2-02" /dev/sda3: LABEL="Acer" BLOCK_SIZE="512" UUID="6C224AD8224AA744" TYPE="ntfs" PARTUUID="7c819ab2-03" /dev/sda1: LABEL="PQSERVICE" BLOCK_SIZE="512" UUID="1C0647FA0647D384" TYPE="ntfs" PARTUUID="7c819ab2-01"
These are not mounted partitions, so not sure why it is having an issue with them. Perhaps something should ignore "ntfs" type partitions. But perhaps someone with more understanding would see what is needed to not get these segment faults.
Thanks. I run grub2-mkconfig when I create new versions of my g4l project to update boot menu, so noticed it.
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 8 Mar 2025 at 13:53, Camina Shell via users wrote:
Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? To: users@lists.fedoraproject.org Date sent: Sat, 08 Mar 2025 13:53:50 -0000 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Camina Shell via users users@lists.fedoraproject.org Copies to: Camina Shell fedoraproject.5cqga@passfwd.com
Running os-prober on its own also reveals this seg fault.
❯ sudo os-prober /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /usr/libexec/os-probes/50mounted-tests: line 186: 224295 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null --
Did a test with grub2-probe and it gives same Segmentation fault on nfts partitions. Note book had 9 partitions.
for a in $(cat /proc/partitions | grep sda. | cut -b26-40); do echo -n /dev/$a" " ; grub2-probe -d /dev/$a; done /dev/sda1 Segmentation fault (core dumped) /dev/sda2 Segmentation fault (core dumped) /dev/sda3 Segmentation fault (core dumped) /dev/sda4 grub2-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map. /dev/sda5 ext2 /dev/sda6 grub2-probe: error: ../grub-core/kern/fs.c:123:unknown filesystem. /dev/sda7 ext2 /dev/sda8 ext2 /dev/sda9 ext2
Also, noticed /etc/filesystems and /proc/filesystems don't have ntfs??
Partitions on this notebook.
/dev/sda1 2048 39847935 39845888 19G 27 Hidden NTFS WinRE /dev/sda2 * 39847936 40052735 204800 100M 7 HPFS/NTFS/exFAT /dev/sda3 40052736 379084799 339032064 161.7G 7 HPFS/NTFS/exFAT /dev/sda4 379084800 1953523711 1574438912 750.8G 5 Extended /dev/sda5 714633216 716730367 2097152 1G 83 Linux /dev/sda6 716732416 724756479 8024064 3.8G 82 Linux swap / Solaris /dev/sda7 724758528 835887103 111128576 53G 83 Linux /dev/sda8 835889152 1953523711 1117634560 532.9G 83 Linux /dev/sda9 379086848 714631167 335544320 160G 83 Linux
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 9 Mar 2025 at 5:37, Michael D. Setzer II via user wrote:
To: Community support for Fedora users users@lists.fedoraproject.org Date sent: Sun, 09 Mar 2025 05:37:13 +1000 Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? Priority: normal Send reply to: mikes@guam.net, Community support for Fedora users users@lists.fedoraproject.org From: "Michael D. Setzer II via users" users@lists.fedoraproject.org Copies to: Camina Shell fedoraproject.5cqga@passfwd.com, "Michael D. Setzer II" mikes@guam.net
On 8 Mar 2025 at 13:53, Camina Shell via users wrote:
Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? To: users@lists.fedoraproject.org Date sent: Sat, 08 Mar 2025 13:53:50 -0000 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Camina Shell via users users@lists.fedoraproject.org Copies to: Camina Shell fedoraproject.5cqga@passfwd.com
Running os-prober on its own also reveals this seg fault.
❯ sudo os-prober /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi /usr/libexec/os-probes/50mounted-tests: line 186: 224295 Segmentation fault (core dumped) grub2-mount "$partition" "$tmpmnt" 2> /dev/null --
Did a test with grub2-probe and it gives same Segmentation fault on nfts partitions. Note book had 9 partitions.
for a in $(cat /proc/partitions | grep sda. | cut -b26-40); do echo -n /dev/$a" " ; grub2-probe -d /dev/$a; done /dev/sda1 Segmentation fault (core dumped) /dev/sda2 Segmentation fault (core dumped) /dev/sda3 Segmentation fault (core dumped) /dev/sda4 grub2-probe: error: cannot find a GRUB drive for /dev/sda4. Check your device.map. /dev/sda5 ext2 /dev/sda6 grub2-probe: error: ../grub-core/kern/fs.c:123:unknown filesystem. /dev/sda7 ext2 /dev/sda8 ext2 /dev/sda9 ext2
Also, noticed /etc/filesystems and /proc/filesystems don't have ntfs??
Partitions on this notebook.
/dev/sda1 2048 39847935 39845888 19G 27 Hidden NTFS WinRE /dev/sda2 * 39847936 40052735 204800 100M 7 HPFS/NTFS/exFAT /dev/sda3 40052736 379084799 339032064 161.7G 7 HPFS/NTFS/exFAT /dev/sda4 379084800 1953523711 1574438912 750.8G 5 Extended /dev/sda5 714633216 716730367 2097152 1G 83 Linux /dev/sda6 716732416 724756479 8024064 3.8G 82 Linux swap / Solaris /dev/sda7 724758528 835887103 111128576 53G 83 Linux /dev/sda8 835889152 1953523711 1117634560 532.9G 83 Linux /dev/sda9 379086848 714631167 335544320 160G 83 Linux
Actually rebooted machine to check what windows option was showing, and found that there was no option to select windows from the grub2 menu?? Looking at grub.cfg found. ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ###
Then manually added this to have it have an option for windows? The worked fine to boot the windows, but will require manually updating grub.cfg after running a grub2-mkconfig or other similar process.
### BEGIN /etc/grub.d/30_os-prober ### menuentry "Windows 7" { insmod ntfs set root=(hd0,2) # Modify this to match your Windows partition chainloader +1 } ### END /etc/grub.d/30_os-prober ###
Note both machines had Windows 7 from Acer installed, and don't seem to be be EFI setup, so just the regular ntldr setup.
Hadn't booted machine to Windows 7 for a long time, but had worked fine in past? So, issue is bigger than an error message that does make a difference?
Thanks.
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
Great findings! I may give it a go... I'm deciding whether or not to just purge the W11 volume as I don't use it anyway. That said, I've been hunting down what changes, and been looking at the commits to the grub area. Only found some nice security updates but nothing so far as to shine light on this issue.
https://github.com/rhboot/grub2/commits/fedora-41/
I especially like this one. Even after decrypting disk (TPM or manual), you'd now need to enter pass to edit kernel params etc. https://github.com/rhboot/grub2/commit/5050f7b71334b474abe4b7c5253d1600d35eb...
Anyway, here's hoping they find this issue and patch it.
On 8 Mar 2025 at 23:21, Camina Shell via users wrote:
Subject: Re: getting core dump with grub2-mkconfig on systems with windows7 partitions?? (No windows menu entry?) To: users@lists.fedoraproject.org Date sent: Sat, 08 Mar 2025 23:21:29 -0000 Send reply to: Community support for Fedora users users@lists.fedoraproject.org From: Camina Shell via users users@lists.fedoraproject.org Copies to: Camina Shell fedoraproject.5cqga@passfwd.com
Great findings! I may give it a go... I'm deciding whether or not to just purge the W11 volume as I don't use it anyway. That said, I've been hunting down what changes, and been looking at the commits to the grub area. Only found some nice security updates but nothing so far as to shine light on this issue.
https://github.com/rhboot/grub2/commits/fedora-41/
I especially like this one. Even after decrypting disk (TPM or manual), you'd now need to enter pass to edit kernel params etc. https://github.com/rhboot/grub2/commit/5050f7b71334b474abe4b7c5253d1600d35eb...
Anyway, here's hoping they find this issue and patch it.
Just as a temp fix. I created this file so that it creates entry. Again, mine is for windows 7, so yours might need some modification.
/etc/grub.d# cat 42_custom # !/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry "Windows 7" { insmod ntfs set root=(hd0,2) # Modify this to match your Windows partition chainloader +1 }
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+ Michael D. Setzer II - Computer Science Instructor (Retired) mailto:mikes@guam.net mailto:msetzerii@gmail.com mailto:msetzerii@gmx.com Guam - Where America's Day Begins G4L Disk Imaging Project maintainer http://sourceforge.net/projects/g4l/ +------------------------------------------------------------+
On 9/3/25 10:21, Camina Shell via users wrote:
Great findings! I may give it a go... I'm deciding whether or not to just purge the W11 volume as I don't use it anyway. That said, I've been hunting down what changes, and been looking at the commits to the grub area. Only found some nice security updates but nothing so far as to shine light on this issue.
https://github.com/rhboot/grub2/commits/fedora-41/
I especially like this one. Even after decrypting disk (TPM or manual), you'd now need to enter pass to edit kernel params etc. https://github.com/rhboot/grub2/commit/5050f7b71334b474abe4b7c5253d1600d35eb...
Anyway, here's hoping they find this issue and patch it.
I've done a bit more investigation on this issue that I am getting as well. Unlike Michael's situation I am getting the Windows entry in the grub menus after running grub2-mkconfig as well as the Fedora and Ubuntu entries. The reason the segmentation-fault is specified as being line 186 is I believe because the grub2-mount statement on line 177 which is part of the if statement/if block starting at line 175 and ending at line 186. The grub2-probe statement on line 179 also segmentation faults if it is executed. That if block is trying to determine the partition type for all unmounted partitions that can be seen on the pc (I have 5 ntfs partitions on my machine and if I mount the 3 partitions I want to be able to access the segmentation fault only occurs twice, if those 3 partitions are not mounted then I get 5 segmentation faults). If I mount the 3 windows partitions I want mounted, as specified in /etc/fstab where I am specifying the ntfs-3g driver, and I look at those mount points in /proc/self/mountinfo, they are mounted using driver fuseblk, which seems to indicate the statement at line 184 has been executed, but I don't know where the output of the debug statements are written to so that I can check. If the statements within that if block starting at line 175 and ending at line 186 are being executed that to me highlights a Fedora or in my case a KDE defect as with grub2-mount segmentation faulting the true condition for the if should not have been triggered. The mount info specifying that the 3 ntfs partitions I have mounted are using the fuseblk driver doesn't impact those partitions being able to be read from or written to. I am getting the Windows entry written to the grub menus because I am using UEFI and the windows entry is being resolved from the UEFI partition which is not ntfs. Grub seems to have lost its ability to understand ntfs partitions but I don't know exactly where or why. Also for a long time I have not been convinced that os-prober has been working properly. The boot entry for Ubuntu seems to be being resolved from the partition that Ubuntu has been installed to, which in my case is /dev/sde1, and not from the UEFI Ubuntu folder in the efi partition as windows is being resolved from, but Ubuntu boots fine. Also if I boot from the grub menus created in Ubuntu and try to boot to Fedora I get a shim error.
regards, Steve
I got in contact with a member of the rehat development team about this issue and they kindly responded with the below, quote:
For the issue you mentioned, we are working on it and for the time being we will drop the culprit patch. Issue has been reported not just by fedora but by the aarch community as you can see in the above links
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2350327 [2] https://gitlab.archlinux.org/archlinux/packaging/packages/grub/-/issues/11
This is great news! Thank you to the devs! And to those who raised the ticket!
Looking forward to this being fixed.
Today's update (on F41) included a version of grub2 that fixed this issue. Thank you to all those who contributed to fixing it!
``` ...
Upgrade grub2-common-1:2.12-20.fc41.noarch Dependency updates Upgrade grub2-tools-minimal-1:2.12-20.fc41.x86_64 Dependency updates Upgrade grub2-tools-extra-1:2.12-20.fc41.x86_64 User updates Upgrade grub2-tools-efi-1:2.12-20.fc41.x86_64 User updates Upgrade grub2-tools-1:2.12-20.fc41.x86_64 Dependency updates Upgrade grub2-efi-x64-modules-1:2.12-20.fc41.noarch User updates Upgrade grub2-efi-x64-1:2.12-20.fc41.x86_64 User updates
...
❯ sudo grub2-mkconfig -o /boot/grub2/grub.cfg Generating grub configuration file ... Found Windows Boot Manager on /dev/nvme2n1p1@/efi/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings ... Detecting snapshots ... Found snapshot: 2025-03-13 11:05:21 | .snapshots/950/snapshot | post | dnf upgrade Found snapshot: 2025-03-13 11:04:12 | .snapshots/949/snapshot | pre | dnf upgrade Found snapshot: 2025-03-13 11:00:00 | .snapshots/948/snapshot | single | timelin ```