Interesting Grub issue

2023-03-01 Thread Aharon Schkolnik
Hi.

I have both Fedora and Windows 10 installed on my computer.
I can boot either using bios settings.
I have grub installed, and can boot to it.
The grub menu shows me 3 linux kernels and UEFI firmware.
It does not show me Windows.
In the attached grub.cfg file there is the following entry:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sdc3)' --class windows --class os
$menuentry_id_option 'osprober-efi-3C10-1AFF' {
insmod part_gpt
insmod fat
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3
--hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3  3C10-1AFF
else
  search --no-floppy --fs-uuid --set=root 3C10-1AFF
fi
chainloader /efi/Microsoft/Boot/bootmgfw.efi
}

The entry is there, but it doesn't show when the machine boots/

Any ideas?


grub.cfg
Description: Binary data
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Help ! /lib64/libglib-2.0.so.0: file too short

2023-03-01 Thread borissh1983
On Wednesday, 1 March 2023 9:36:33 IST Aharon Schkolnik wrote:
> Pretty sure was corrupted file system (maybe connected to electrical
> issues).
> 
> Managed to save /home.
> 
> Reinstalled Fedora.
> 
> Long night.
> 
> Most everything seems to be working.
> 
> Only issue so far is that GRUB doesn't find my Windows installation.
> 

does osprober able to find it ? if not , perhaps that fs had been also 
corrupted, you may be able to fix it via 

ntfsfix /dev/xxx
and then mount -o remove_hibernatefile -t ntfs-3g /dev/xxx

I strongly recommend you to check your smart logs.




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il