You are not logged in.

#1 2023-12-01 16:31:33

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Grub does not detect Windows MBR partition [Solved]

My bios does not support UEFI, just MBR.

I had installed Windows first, then Pop_OS then finally Arch all in MBR mode triple booting in harmony over the last 3 years.

hikmateustad@hikmateustad-dell ~ % sudo fdisk -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: ST31000524AS    
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbe71a959

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1               63      80324      80262  39.2M de Dell Utility
/dev/sda2  *         81920   27865087   27783168  13.2G  7 HPFS/NTFS/exFAT
/dev/sda3         27865088  237580287  209715200   100G  7 HPFS/NTFS/exFAT
/dev/sda4        237580288 1953521663 1715941376 818.2G  f W95 Ext'd (LBA)
/dev/sda5        237582336  447297535  209715200   100G  7 HPFS/NTFS/exFAT
/dev/sda6        447299584  657014783  209715200   100G  7 HPFS/NTFS/exFAT
/dev/sda7        657016832  929646591  272629760   130G  7 HPFS/NTFS/exFAT
/dev/sda8        929648640 1076449279  146800640    70G  7 HPFS/NTFS/exFAT
/dev/sda9       1076451328 1286166527  209715200   100G  7 HPFS/NTFS/exFAT
/dev/sda10      1286168576 1495883775  209715200   100G  7 HPFS/NTFS/exFAT
/dev/sda11      1495885824 1621714941  125829118    60G 83 Linux
/dev/sda12      1621716992 1638494205   16777214     8G 82 Linux swap / Solaris
/dev/sda13      1638496255 1953521663  315025409 150.2G 83 Linux

Using Arch I recently found out that I had both the linux and linux-zen kernel with corresponding headers files. During kernel updates both kernel would compile with the dkms modules I had.

hikmateustad@hikmateustad-dell ~ % dkms status
acpi_call/1.2.2, 6.6.3-zen1-1-zen, x86_64: installed
nvidia/390.157, 6.6.3-zen1-1-zen, x86_64: installed
rtl88x2bu/5.13.1.r191.980d7cc, 6.6.3-zen1-1-zen, x86_64: installed
v4l2loopback/0.12.7, 6.6.3-zen1-1-zen, x86_64: installed

To save time I wanted to remove linux and linux-headers so I issued

hikmateustad@hikmateustad-dell ~ % sudo pacman -R linux-headers linux

and rebooted to a blank screen.

Then I downloaded the latest arch iso and copied it to my USB using Ventoy booted off it and chrooted into my system /dev/sda13 and installed the linux-zen and linux-zen-headers. Then updated grub with update-grub (aur package) and installed the grub to /dev/sda. Unmounted /mnt and rebooted to no Windows detection

mount /dev/sda13 /mnt
arch-chroot /mnt
pacman -S linux-zen linux-zen-headers
[b]update-grub[/b] <----this is where the trouble began
grub-install /dev/sda

While updating grub I noticed that os-prober did not detect Windows partition, it just detected Pop_OS and to my dismay it seems to have installed in UEFI mode for some unknown reason

hikmateustad@hikmateustad-dell ~ % sudo update-grub               
[sudo] password for hikmateustad: 
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done

Ever since then Arch cannot find Windows partition.

Troubleshooting I downloaded Windows ISO booted off it and fixed my boot and mbr which reinstates the Windows install that I have but does not detect Pop_OS or Arch; just boots directly to Windows. Again I live booted Arch ISO and again chrooted and installed grub to /dev/sda which brings me back to Arch and Pop_OS but no Windows.

Before this error I had an issue where Arch could not load my Windows partitions after a kernel upgrade and to resolve it I had blacklisted ntfs3.


Following are the outputs of several troubleshooting commands. How do I proceed to solve. Thank you in advance for your time.

hikmateustad@hikmateustad-dell ~ % find /mnt                          
/mnt
/mnt/ntfstest
hikmateustad@hikmateustad-dell ~ % ls /sys/firmware                   
acpi  dmi  memmap
hikmateustad@hikmateustad-dell ~ % parted --list
hikmateustad@hikmateustad-dell ~ % sudo os-prober
[sudo] password for hikmateustad: 
/dev/sda11:Pop!_OS 22.04 LTS (22.04):Pop:linux
hikmateustad@hikmateustad-dell ~ % lsblk -f
NAME    FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                                    0   100% /var/lib/snapd/snap/bare/5
loop1                                                                    0   100% /var/lib/snapd/snap/core/15511
loop2                                                                    0   100% /var/lib/snapd/snap/core/16202
loop3                                                                    0   100% /var/lib/snapd/snap/core18/2721
loop4                                                                    0   100% /var/lib/snapd/snap/core18/2785
loop5                                                                    0   100% /var/lib/snapd/snap/core20/1974
loop6                                                                    0   100% /var/lib/snapd/snap/core22/858
loop7                                                                    0   100% /var/lib/snapd/snap/core20/2015
loop8                                                                    0   100% /var/lib/snapd/snap/core22/864
loop9                                                                    0   100% /var/lib/snapd/snap/gnome-3-28-1804/194
loop10                                                                   0   100% /var/lib/snapd/snap/gnome-3-28-1804/198
loop11                                                                   0   100% /var/lib/snapd/snap/gnome-3-34-1804/90
loop12                                                                   0   100% /var/lib/snapd/snap/gnome-3-34-1804/93
loop13                                                                   0   100% /var/lib/snapd/snap/gnome-3-38-2004/119
loop14                                                                   0   100% /var/lib/snapd/snap/gnome-3-38-2004/143
loop15                                                                   0   100% /var/lib/snapd/snap/gnome-42-2204/120
loop16                                                                   0   100% /var/lib/snapd/snap/gnome-42-2204/141
loop17                                                                   0   100% /var/lib/snapd/snap/gtk-common-themes/1519
loop18                                                                   0   100% /var/lib/snapd/snap/gtk-common-themes/1535
loop19                                                                   0   100% /var/lib/snapd/snap/hello-world/29
loop20                                                                   0   100% /var/lib/snapd/snap/ocrthypdf/130
loop21                                                                   0   100% /var/lib/snapd/snap/ocrthypdf/151
loop22                                                                   0   100% /var/lib/snapd/snap/snap-store/638
loop23                                                                   0   100% /var/lib/snapd/snap/snap-store/959
sda                                                                               
├─sda1  vfat   FAT16          5450-4444                                           
├─sda2  ntfs         RECOVERY E6CEDE74CEDE3D0D                                    
├─sda3  ntfs                  7C0A92070A91BF18                       13.1G    87% /run/media/hikmateustad/7C0A92070A91BF18
├─sda4                                                                            
├─sda5  ntfs                  2AC656E8C656B3B3                       30.6G    69% /run/media/hikmateustad/2AC656E8C656B3B3
├─sda6  ntfs                  446A3DAE6A3D9E1C                       13.9G    86% /run/media/hikmateustad/446A3DAE6A3D9E1C
├─sda7  ntfs                  84B026F4B026EBFC                       33.4G    74% /run/media/hikmateustad/84B026F4B026EBFC
├─sda8  ntfs                  82AE5108AE50F5DF                       51.2G    27% /run/media/hikmateustad/82AE5108AE50F5DF
├─sda9  ntfs                  BAA85B99A85B52CD                        5.5G    95% /run/media/hikmateustad/BAA85B99A85B52CD
├─sda10 ntfs                  BCFC6520FC64D664                       57.8G    42% /run/media/hikmateustad/BCFC6520FC64D664
├─sda11 ext4   1.0            a0404ac7-d9cc-4142-b57d-07767b831c86                
├─sda12 swap   1     Swap     3bd12126-275b-45b2-a1df-61033c0795f1                
└─sda13 ext4   1.0   Arch     d6f6d2ae-57c9-4961-bdb1-716f0f93b378   52.2G    59% /
sr0                                                                               
hikmateustad@hikmateustad-dell ~ % find /boot                         
/boot
/boot/grub
/boot/grub/i386-pc
/boot/grub/i386-pc/ldm.mod
/boot/grub/i386-pc/usb_keyboard.mod
/boot/grub/i386-pc/hexdump.mod
/boot/grub/i386-pc/nativedisk.mod
/boot/grub/i386-pc/jfs.mod
/boot/grub/i386-pc/disk.mod
/boot/grub/i386-pc/gcry_rsa.mod
/boot/grub/i386-pc/pbkdf2_test.mod
/boot/grub/i386-pc/msdospart.mod
/boot/grub/i386-pc/multiboot2.mod
/boot/grub/i386-pc/geli.mod
/boot/grub/i386-pc/regexp.mod
/boot/grub/i386-pc/xnu_uuid.mod
/boot/grub/i386-pc/memrw.mod
/boot/grub/i386-pc/lsacpi.mod
/boot/grub/i386-pc/loopback.mod
/boot/grub/i386-pc/iorw.mod
/boot/grub/i386-pc/core.img
/boot/grub/i386-pc/keystatus.mod
/boot/grub/i386-pc/test_blockarg.mod
/boot/grub/i386-pc/play.mod
/boot/grub/i386-pc/testload.mod
/boot/grub/i386-pc/cbmemc.mod
/boot/grub/i386-pc/all_video.mod
/boot/grub/i386-pc/loadenv.mod
/boot/grub/i386-pc/cmp.mod
/boot/grub/i386-pc/gfxterm.mod
/boot/grub/i386-pc/functional_test.mod
/boot/grub/i386-pc/mpi.mod
/boot/grub/i386-pc/dm_nv.mod
/boot/grub/i386-pc/affs.mod
/boot/grub/i386-pc/backtrace.mod
/boot/grub/i386-pc/cmdline_cat_test.mod
/boot/grub/i386-pc/ufs2.mod
/boot/grub/i386-pc/setpci.mod
/boot/grub/i386-pc/cpio_be.mod
/boot/grub/i386-pc/gcry_crc.mod
/boot/grub/i386-pc/modinfo.sh
/boot/grub/i386-pc/legacy_password_test.mod
/boot/grub/i386-pc/sfs.mod
/boot/grub/i386-pc/relocator.mod
/boot/grub/i386-pc/efiemu.mod
/boot/grub/i386-pc/password_pbkdf2.mod
/boot/grub/i386-pc/reboot.mod
/boot/grub/i386-pc/priority_queue.mod
/boot/grub/i386-pc/echo.mod
/boot/grub/i386-pc/gcry_camellia.mod
/boot/grub/i386-pc/ntfscomp.mod
/boot/grub/i386-pc/minix.mod
/boot/grub/i386-pc/mmap.mod
/boot/grub/i386-pc/hfs.mod
/boot/grub/i386-pc/eval.mod
/boot/grub/i386-pc/diskfilter.mod
/boot/grub/i386-pc/reiserfs.mod
/boot/grub/i386-pc/afs.mod
/boot/grub/i386-pc/pci.mod
/boot/grub/i386-pc/mdraid09_be.mod
/boot/grub/i386-pc/search.mod
/boot/grub/i386-pc/cryptodisk.mod
/boot/grub/i386-pc/boottime.mod
/boot/grub/i386-pc/efiemu32.o
/boot/grub/i386-pc/hashsum.mod
/boot/grub/i386-pc/video_bochs.mod
/boot/grub/i386-pc/exfat.mod
/boot/grub/i386-pc/romfs.mod
/boot/grub/i386-pc/video_colors.mod
/boot/grub/i386-pc/pxechain.mod
/boot/grub/i386-pc/video.mod
/boot/grub/i386-pc/syslinuxcfg.mod
/boot/grub/i386-pc/sendkey.mod
/boot/grub/i386-pc/procfs.mod
/boot/grub/i386-pc/probe.mod
/boot/grub/i386-pc/gcry_sha256.mod
/boot/grub/i386-pc/normal.mod
/boot/grub/i386-pc/videotest.mod
/boot/grub/i386-pc/gcry_md4.mod
/boot/grub/i386-pc/usbserial_ftdi.mod
/boot/grub/i386-pc/tar.mod
/boot/grub/i386-pc/time.mod
/boot/grub/i386-pc/part_sun.mod
/boot/grub/i386-pc/read.mod
/boot/grub/i386-pc/linux16.mod
/boot/grub/i386-pc/part_dfly.mod
/boot/grub/i386-pc/zfscrypt.mod
/boot/grub/i386-pc/tr.mod
/boot/grub/i386-pc/raid6rec.mod
/boot/grub/i386-pc/ahci.mod
/boot/grub/i386-pc/gptsync.mod
/boot/grub/i386-pc/at_keyboard.mod
/boot/grub/i386-pc/ext2.mod
/boot/grub/i386-pc/acpi.mod
/boot/grub/i386-pc/adler32.mod
/boot/grub/i386-pc/trig.mod
/boot/grub/i386-pc/bfs.mod
/boot/grub/i386-pc/hfsplus.mod
/boot/grub/i386-pc/cmostest.mod
/boot/grub/i386-pc/minicmd.mod
/boot/grub/i386-pc/crc64.mod
/boot/grub/i386-pc/ls.mod
/boot/grub/i386-pc/fs.lst
/boot/grub/i386-pc/datetime.mod
/boot/grub/i386-pc/date.mod
/boot/grub/i386-pc/lsapm.mod
/boot/grub/i386-pc/xfs.mod
/boot/grub/i386-pc/bswap_test.mod
/boot/grub/i386-pc/help.mod
/boot/grub/i386-pc/ufs1.mod
/boot/grub/i386-pc/zstd.mod
/boot/grub/i386-pc/lsmmap.mod
/boot/grub/i386-pc/uhci.mod
/boot/grub/i386-pc/xzio.mod
/boot/grub/i386-pc/usbserial_usbdebug.mod
/boot/grub/i386-pc/plainmount.mod
/boot/grub/i386-pc/pata.mod
/boot/grub/i386-pc/video_cirrus.mod
/boot/grub/i386-pc/luks2.mod
/boot/grub/i386-pc/usb.mod
/boot/grub/i386-pc/vbe.mod
/boot/grub/i386-pc/bitmap_scale.mod
/boot/grub/i386-pc/wrmsr.mod
/boot/grub/i386-pc/halt.mod
/boot/grub/i386-pc/part_apple.mod
/boot/grub/i386-pc/gcry_dsa.mod
/boot/grub/i386-pc/net.mod
/boot/grub/i386-pc/crypto.lst
/boot/grub/i386-pc/zfsinfo.mod
/boot/grub/i386-pc/partmap.lst
/boot/grub/i386-pc/vga.mod
/boot/grub/i386-pc/minix3.mod
/boot/grub/i386-pc/shift_test.mod
/boot/grub/i386-pc/cmosdump.mod
/boot/grub/i386-pc/ctz_test.mod
/boot/grub/i386-pc/bufio.mod
/boot/grub/i386-pc/newc.mod
/boot/grub/i386-pc/moddep.lst
/boot/grub/i386-pc/morse.mod
/boot/grub/i386-pc/ufs1_be.mod
/boot/grub/i386-pc/cbfs.mod
/boot/grub/i386-pc/pbkdf2.mod
/boot/grub/i386-pc/cpuid.mod
/boot/grub/i386-pc/gcry_blowfish.mod
/boot/grub/i386-pc/crypto.mod
/boot/grub/i386-pc/div_test.mod
/boot/grub/i386-pc/gcry_cast5.mod
/boot/grub/i386-pc/part_dvh.mod
/boot/grub/i386-pc/videoinfo.mod
/boot/grub/i386-pc/gcry_md5.mod
/boot/grub/i386-pc/pgp.mod
/boot/grub/i386-pc/mul_test.mod
/boot/grub/i386-pc/lspci.mod
/boot/grub/i386-pc/cbls.mod
/boot/grub/i386-pc/parttool.lst
/boot/grub/i386-pc/iso9660.mod
/boot/grub/i386-pc/gcry_rijndael.mod
/boot/grub/i386-pc/fshelp.mod
/boot/grub/i386-pc/gcry_tiger.mod
/boot/grub/i386-pc/hfspluscomp.mod
/boot/grub/i386-pc/part_amiga.mod
/boot/grub/i386-pc/elf.mod
/boot/grub/i386-pc/fat.mod
/boot/grub/i386-pc/offsetio.mod
/boot/grub/i386-pc/configfile.mod
/boot/grub/i386-pc/search_fs_uuid.mod
/boot/grub/i386-pc/videotest_checksum.mod
/boot/grub/i386-pc/cpio.mod
/boot/grub/i386-pc/gcry_idea.mod
/boot/grub/i386-pc/drivemap.mod
/boot/grub/i386-pc/gcry_rfc2268.mod
/boot/grub/i386-pc/command.lst
/boot/grub/i386-pc/memdisk.mod
/boot/grub/i386-pc/gcry_seed.mod
/boot/grub/i386-pc/efiemu64.o
/boot/grub/i386-pc/gcry_whirlpool.mod
/boot/grub/i386-pc/video.lst
/boot/grub/i386-pc/f2fs.mod
/boot/grub/i386-pc/lzopio.mod
/boot/grub/i386-pc/part_acorn.mod
/boot/grub/i386-pc/part_plan.mod
/boot/grub/i386-pc/setjmp_test.mod
/boot/grub/i386-pc/terminal.lst
/boot/grub/i386-pc/multiboot.mod
/boot/grub/i386-pc/xnu_uuid_test.mod
/boot/grub/i386-pc/testspeed.mod
/boot/grub/i386-pc/cat.mod
/boot/grub/i386-pc/blocklist.mod
/boot/grub/i386-pc/nilfs2.mod
/boot/grub/i386-pc/bsd.mod
/boot/grub/i386-pc/ohci.mod
/boot/grub/i386-pc/lvm.mod
/boot/grub/i386-pc/mdraid09.mod
/boot/grub/i386-pc/jpeg.mod
/boot/grub/i386-pc/part_msdos.mod
/boot/grub/i386-pc/boot.img
/boot/grub/i386-pc/usbserial_pl2303.mod
/boot/grub/i386-pc/random.mod
/boot/grub/i386-pc/json.mod
/boot/grub/i386-pc/terminfo.mod
/boot/grub/i386-pc/usbtest.mod
/boot/grub/i386-pc/gcry_sha1.mod
/boot/grub/i386-pc/gcry_serpent.mod
/boot/grub/i386-pc/gfxterm_menu.mod
/boot/grub/i386-pc/gcry_sha512.mod
/boot/grub/i386-pc/gfxterm_background.mod
/boot/grub/i386-pc/usbserial_common.mod
/boot/grub/i386-pc/boot.mod
/boot/grub/i386-pc/keylayouts.mod
/boot/grub/i386-pc/rdmsr.mod
/boot/grub/i386-pc/png.mod
/boot/grub/i386-pc/file.mod
/boot/grub/i386-pc/hello.mod
/boot/grub/i386-pc/ata.mod
/boot/grub/i386-pc/gcry_arcfour.mod
/boot/grub/i386-pc/setjmp.mod
/boot/grub/i386-pc/http.mod
/boot/grub/i386-pc/minix2_be.mod
/boot/grub/i386-pc/vga_text.mod
/boot/grub/i386-pc/ntfs.mod
/boot/grub/i386-pc/zfs.mod
/boot/grub/i386-pc/btrfs.mod
/boot/grub/i386-pc/cacheinfo.mod
/boot/grub/i386-pc/gcry_rmd160.mod
/boot/grub/i386-pc/sleep.mod
/boot/grub/i386-pc/part_sunpc.mod
/boot/grub/i386-pc/part_gpt.mod
/boot/grub/i386-pc/afsplitter.mod
/boot/grub/i386-pc/squash4.mod
/boot/grub/i386-pc/luks.mod
/boot/grub/i386-pc/div.mod
/boot/grub/i386-pc/parttool.mod
/boot/grub/i386-pc/legacycfg.mod
/boot/grub/i386-pc/smbios.mod
/boot/grub/i386-pc/udf.mod
/boot/grub/i386-pc/cbtime.mod
/boot/grub/i386-pc/part_bsd.mod
/boot/grub/i386-pc/usbms.mod
/boot/grub/i386-pc/cs5536.mod
/boot/grub/i386-pc/sleep_test.mod
/boot/grub/i386-pc/extcmd.mod
/boot/grub/i386-pc/tftp.mod
/boot/grub/i386-pc/mda_text.mod
/boot/grub/i386-pc/signature_test.mod
/boot/grub/i386-pc/gzio.mod
/boot/grub/i386-pc/gcry_twofish.mod
/boot/grub/i386-pc/aout.mod
/boot/grub/i386-pc/macbless.mod
/boot/grub/i386-pc/truecrypt.mod
/boot/grub/i386-pc/tga.mod
/boot/grub/i386-pc/terminal.mod
/boot/grub/i386-pc/video_fb.mod
/boot/grub/i386-pc/odc.mod
/boot/grub/i386-pc/progress.mod
/boot/grub/i386-pc/biosdisk.mod
/boot/grub/i386-pc/password.mod
/boot/grub/i386-pc/true.mod
/boot/grub/i386-pc/cmp_test.mod
/boot/grub/i386-pc/bitmap.mod
/boot/grub/i386-pc/pxe.mod
/boot/grub/i386-pc/strtoull_test.mod
/boot/grub/i386-pc/minix3_be.mod
/boot/grub/i386-pc/macho.mod
/boot/grub/i386-pc/font.mod
/boot/grub/i386-pc/gcry_des.mod
/boot/grub/i386-pc/gdb.mod
/boot/grub/i386-pc/scsi.mod
/boot/grub/i386-pc/hdparm.mod
/boot/grub/i386-pc/chain.mod
/boot/grub/i386-pc/cbtable.mod
/boot/grub/i386-pc/exfctest.mod
/boot/grub/i386-pc/ehci.mod
/boot/grub/i386-pc/minix2.mod
/boot/grub/i386-pc/search_label.mod
/boot/grub/i386-pc/serial.mod
/boot/grub/i386-pc/xnu.mod
/boot/grub/i386-pc/mdraid1x.mod
/boot/grub/i386-pc/test.mod
/boot/grub/i386-pc/pcidump.mod
/boot/grub/i386-pc/linux.mod
/boot/grub/i386-pc/raid5rec.mod
/boot/grub/i386-pc/spkmodem.mod
/boot/grub/i386-pc/archelp.mod
/boot/grub/i386-pc/datehook.mod
/boot/grub/i386-pc/minix_be.mod
/boot/grub/i386-pc/search_fs_file.mod
/boot/grub/i386-pc/plan9.mod
/boot/grub/i386-pc/gettext.mod
/boot/grub/i386-pc/freedos.mod
/boot/grub/i386-pc/ntldr.mod
/boot/grub/i386-pc/gfxmenu.mod
/boot/grub/grub.cfg
/boot/grub/grubenv
/boot/grub/fonts
/boot/grub/fonts/unicode.pf2
/boot/grub/locale
/boot/grub/locale/zh_CN.mo
/boot/grub/locale/sr.mo
/boot/grub/locale/en@arabic.mo
/boot/grub/locale/lt.mo
/boot/grub/locale/vi.mo
/boot/grub/locale/gl.mo
/boot/grub/locale/ko.mo
/boot/grub/locale/ro.mo
/boot/grub/locale/ja.mo
/boot/grub/locale/en@quot.mo
/boot/grub/locale/en@cyrillic.mo
/boot/grub/locale/it.mo
/boot/grub/locale/uk.mo
/boot/grub/locale/fi.mo
/boot/grub/locale/pa.mo
/boot/grub/locale/nb.mo
/boot/grub/locale/eo.mo
/boot/grub/locale/de.mo
/boot/grub/locale/ru.mo
/boot/grub/locale/pt_BR.mo
/boot/grub/locale/ast.mo
/boot/grub/locale/pl.mo
/boot/grub/locale/pt.mo
/boot/grub/locale/en@hebrew.mo
/boot/grub/locale/en@greek.mo
/boot/grub/locale/ca.mo
/boot/grub/locale/sv.mo
/boot/grub/locale/fr.mo
/boot/grub/locale/sl.mo
/boot/grub/locale/en@piglatin.mo
/boot/grub/locale/hr.mo
/boot/grub/locale/nl.mo
/boot/grub/locale/da.mo
/boot/grub/locale/es.mo
/boot/grub/locale/de@hebrew.mo
/boot/grub/locale/de_CH.mo
/boot/grub/locale/hu.mo
/boot/grub/locale/lg.mo
/boot/grub/locale/zh_TW.mo
/boot/grub/locale/tr.mo
/boot/grub/locale/ka.mo
/boot/grub/locale/id.mo
/boot/grub/themes
/boot/grub/themes/starfield
/boot/grub/themes/starfield/terminal_box_se.png
/boot/grub/themes/starfield/blob_w.png
/boot/grub/themes/starfield/dejavu_bold_14.pf2
/boot/grub/themes/starfield/dejavu_14.pf2
/boot/grub/themes/starfield/terminal_box_c.png
/boot/grub/themes/starfield/dejavu_10.pf2
/boot/grub/themes/starfield/slider_c.png
/boot/grub/themes/starfield/COPYING.CC-BY-SA-3.0
/boot/grub/themes/starfield/terminal_box_s.png
/boot/grub/themes/starfield/slider_s.png
/boot/grub/themes/starfield/boot_menu_e.png
/boot/grub/themes/starfield/boot_menu_ne.png
/boot/grub/themes/starfield/boot_menu_se.png
/boot/grub/themes/starfield/README
/boot/grub/themes/starfield/boot_menu_w.png
/boot/grub/themes/starfield/dejavu_12.pf2
/boot/grub/themes/starfield/terminal_box_n.png
/boot/grub/themes/starfield/boot_menu_n.png
/boot/grub/themes/starfield/terminal_box_ne.png
/boot/grub/themes/starfield/boot_menu_sw.png
/boot/grub/themes/starfield/slider_n.png
/boot/grub/themes/starfield/dejavu_16.pf2
/boot/grub/themes/starfield/terminal_box_w.png
/boot/grub/themes/starfield/terminal_box_sw.png
/boot/grub/themes/starfield/theme.txt
/boot/grub/themes/starfield/boot_menu_c.png
/boot/grub/themes/starfield/terminal_box_nw.png
/boot/grub/themes/starfield/starfield.png
/boot/grub/themes/starfield/boot_menu_s.png
/boot/grub/themes/starfield/boot_menu_nw.png
/boot/grub/themes/starfield/terminal_box_e.png
/boot/initramfs-linux-zen.img
/boot/initramfs-linux-zen-fallback.img
/boot/memtest86+
/boot/memtest86+/memtest.bin
/boot/intel-ucode.img
/boot/syslinux
/boot/syslinux/syslinux.cfg
/boot/vmlinuz-linux-zen

Last edited by hikmateustad (2023-12-02 09:44:39)

Offline

#2 2023-12-01 17:09:08

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Grub does not detect Windows MBR partition [Solved]

The contents of /sys/firmware/ indicate that your machine is booted in non-UEFI mode; the GRUB modules present in /boot/ are also non-UEFI.

To detect Windows and provide a menuentry see https://wiki.archlinux.org/title/GRUB#D … ng_systems & https://wiki.archlinux.org/title/GRUB#Windows (use the "BIOS" [sic] instructions for Windows).

And please edit your post to replace the quote tags with code tags. Thanks.

Offline

#3 2023-12-01 18:43:51

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Re: Grub does not detect Windows MBR partition [Solved]

I did the following and my Windows was detected with errors and I rebooted to find the Windows entry in the grub menu

hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda2 /mnt 
[sudo] password for hikmateustad: 
hikmateustad@hikmateustad-dell ~ % sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
/usr/bin/grub-probe: error: unknown filesystem.
Found Windows 11 on /dev/sda2
/usr/bin/grub-probe: error: unknown filesystem.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo grub-install /dev/sda
[sudo] password for hikmateustad: 
Installing for i386-pc platform.
grub-install: warning: Sector 32 is already in use by the program `FlexNet'; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
grub-install: warning: Sector 33 is already in use by the program `FlexNet'; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
Installation finished. No error reported.
hikmateustad@hikmateustad-dell ~ % 

However when I select Windows entry I get an error in the next screen

Setting partition type of  0x83
erro: invalid signature.

Press any key to continue...

Pressing the any key takes me back to grub menu with Arch Pop and Windows. Arch boots fine...Windows does not.

Troubleshooting I tried this

hikmateustad@hikmateustad-dell ~ % sudo grub-probe -d /dev/sda2 
grub-probe: error: unknown filesystem.
1 hikmateustad@hikmateustad-dell ~ %       

The wiki link states to install ntfs-3g and try so I tried to no avail

hikmateustad@hikmateustad-dell ~ % sudo umount /mnt
hikmateustad@hikmateustad-dell ~ % cd /mnt
hikmateustad@hikmateustad-dell /mnt % ls
ntfstest
hikmateustad@hikmateustad-dell /mnt % cd ..
hikmateustad@hikmateustad-dell / % cd
hikmateustad@hikmateustad-dell ~ % sudo pacman -S ntfs-3g
warning: ntfs-3g-2022.10.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) ntfs-3g-2022.10.3-1

Total Download Size:   0.54 MiB
Total Installed Size:  1.59 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 ntfs-3g-2022.10.3-1-x86_64                          550.9 KiB  1150 KiB/s 00:00 [----------------------------------------------] 100%
(1/1) checking keys in keyring                                                   [----------------------------------------------] 100%
(1/1) checking package integrity                                                 [----------------------------------------------] 100%
(1/1) loading package files                                                      [----------------------------------------------] 100%
(1/1) checking for file conflicts                                                [----------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling ntfs-3g                                                       [----------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Refreshing PackageKit...
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda2 /mnt   
hikmateustad@hikmateustad-dell ~ % sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
/usr/bin/grub-probe: error: unknown filesystem.
Found Windows 11 on /dev/sda2
/usr/bin/grub-probe: error: unknown filesystem.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % 

How do I proceed? Thanks for the right direction.

Offline

#4 2023-12-01 18:54:33

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Grub does not detect Windows MBR partition [Solved]

ArchWiki wrote:

For Windows installed in BIOS mode, mount the Windows system partition (its file system label should be System Reserved or SYSTEM).

Are you sure /dev/sda2 is the Windows system partition? Have you checked the labels?

Offline

#5 2023-12-02 08:48:36

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Re: Grub does not detect Windows MBR partition [Solved]

So I tried all my Windows, boot and recovery partition and none of it works with errors other than /dev/sda2 (Recovery Partition). I do not have a label of System Reserved or System.

hikmateustad@hikmateustad-dell ~ % test -d /sys/firmware/efi && echo efi || echo bios
bios
hikmateustad@hikmateustad-dell ~ % sudo parted -l                                    
[sudo] password for hikmateustad: 
Model: ATA ST31000524AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  41.1MB  41.1MB  primary   fat16           diag
 2      41.9MB  14.3GB  14.2GB  primary   ntfs            boot
 3      14.3GB  122GB   107GB   primary   ntfs
 4      122GB   1000GB  879GB   extended                  lba
 5      122GB   229GB   107GB   logical   ntfs
 6      229GB   336GB   107GB   logical   ntfs
 7      336GB   476GB   140GB   logical   ntfs
 8      476GB   551GB   75.2GB  logical   ntfs
 9      551GB   659GB   107GB   logical   ntfs
10      659GB   766GB   107GB   logical   ntfs
11      766GB   830GB   64.4GB  logical   ext4
12      830GB   839GB   8590MB  logical   linux-swap(v1)  swap
13      839GB   1000GB  161GB   logical   ext4


hikmateustad@hikmateustad-dell ~ % lsblk -f                                    
NAME    FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                                    0   100% /var/lib/snapd/snap/bare/5
loop1                                                                    0   100% /var/lib/snapd/snap/core/16202
loop2                                                                    0   100% /var/lib/snapd/snap/core/15511
loop3                                                                    0   100% /var/lib/snapd/snap/core18/2721
loop4                                                                    0   100% /var/lib/snapd/snap/core18/2785
loop5                                                                    0   100% /var/lib/snapd/snap/core20/1974
loop6                                                                    0   100% /var/lib/snapd/snap/core20/2015
loop7                                                                    0   100% /var/lib/snapd/snap/core22/858
loop8                                                                    0   100% /var/lib/snapd/snap/core22/864
loop9                                                                    0   100% /var/lib/snapd/snap/gnome-3-28-1804/194
loop10                                                                   0   100% /var/lib/snapd/snap/gnome-3-28-1804/198
loop11                                                                   0   100% /var/lib/snapd/snap/gnome-3-34-1804/90
loop12                                                                   0   100% /var/lib/snapd/snap/gnome-3-34-1804/93
loop13                                                                   0   100% /var/lib/snapd/snap/gnome-3-38-2004/119
loop14                                                                   0   100% /var/lib/snapd/snap/gnome-3-38-2004/143
loop15                                                                   0   100% /var/lib/snapd/snap/gnome-42-2204/120
loop16                                                                   0   100% /var/lib/snapd/snap/gnome-42-2204/141
loop17                                                                   0   100% /var/lib/snapd/snap/gtk-common-themes/1519
loop18                                                                   0   100% /var/lib/snapd/snap/gtk-common-themes/1535
loop19                                                                   0   100% /var/lib/snapd/snap/hello-world/29
loop20                                                                   0   100% /var/lib/snapd/snap/ocrthypdf/130
loop21                                                                   0   100% /var/lib/snapd/snap/ocrthypdf/151
loop22                                                                   0   100% /var/lib/snapd/snap/snap-store/638
loop23                                                                   0   100% /var/lib/snapd/snap/snap-store/959
sda                                                                               
├─sda1  vfat   FAT16          5450-4444                                           
├─sda2  ntfs         RECOVERY E6CEDE74CEDE3D0D                                    
├─sda3  ntfs                  7C0A92070A91BF18                                    
├─sda4                                                                            
├─sda5  ntfs                  2AC656E8C656B3B3                                    
├─sda6  ntfs                  446A3DAE6A3D9E1C                       13.9G    86% /run/media/hikmateustad/446A3DAE6A3D9E1C
├─sda7  ntfs                  84B026F4B026EBFC                                    
├─sda8  ntfs                  82AE5108AE50F5DF                       51.2G    27% /run/media/hikmateustad/82AE5108AE50F5DF
├─sda9  ntfs                  BAA85B99A85B52CD                        5.5G    95% /run/media/hikmateustad/BAA85B99A85B52CD
├─sda10 ntfs                  BCFC6520FC64D664                       57.8G    42% /run/media/hikmateustad/BCFC6520FC64D664
├─sda11 ext4   1.0            a0404ac7-d9cc-4142-b57d-07767b831c86   10.2G    77% /run/media/hikmateustad/a0404ac7-d9cc-4142-b57d-07767b831c86
├─sda12 swap   1     Swap     3bd12126-275b-45b2-a1df-61033c0795f1                
└─sda13 ext4   1.0   Arch     d6f6d2ae-57c9-4961-bdb1-716f0f93b378     52G    59% /
sr0                                                                               
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda1 /mnt
hikmateustad@hikmateustad-dell ~ % sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo umount /mnt
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda2 /mnt
hikmateustad@hikmateustad-dell ~ % sudo update-grub         
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
/usr/bin/grub-probe: error: unknown filesystem.
Found Windows 11 on /dev/sda2
/usr/bin/grub-probe: error: unknown filesystem.
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo umount /mnt         
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda3 /mnt
hikmateustad@hikmateustad-dell ~ % sudo update-grub         
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo umount /mnt         
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda5 /mnt
hikmateustad@hikmateustad-dell ~ % sudo update-grub         
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo umount /mnt         
hikmateustad@hikmateustad-dell ~ % sudo mount /dev/sda7 /mnt
hikmateustad@hikmateustad-dell ~ % sudo update-grub         
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % sudo umount /mnt         
hikmateustad@hikmateustad-dell ~ % cd /mnt
hikmateustad@hikmateustad-dell /mnt % ls
ntfstest
hikmateustad@hikmateustad-dell /mnt % cd
hikmateustad@hikmateustad-dell ~ % 

But the common theme in all executions is Adding boot menu entry for UEFI Firmware Settings ... wherein I am confirmed on a MBR system. This is the root cause and I am not alone.

Scouring the Internet I found couple of posts sharing the same concern of loosing dual boot abilities in MBR systems once updating grub. Eg 1  Eg 2

I also chainload Windows 10 and Windows 11 with Pop_OS and Arch. Grub update messed up everything.

This post outlines a manual method but for EFI system. Can someone please adapt it for a MBR system?

Thank you for the assistance.

Offline

#6 2023-12-02 09:44:13

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Re: Grub does not detect Windows MBR partition [Solved]

Well, I've fixed it with a different approach.

As indicated in my post above several people had this same problem after updating grub so I downgraded it and I'm back to normalcy.

Let the following be guide for my future self and others who stumble upon this post.

hikmateustad@hikmateustad-dell ~ % grub-install --version                              
grub-install (GRUB) 2:2.12rc1-5
hikmateustad@hikmateustad-dell ~ % sudo downgrade grub
:: Retrieving packages...
 grub-2:2.06.r591.g6425c12cd-1-x86_64                                                                               6.7 MiB  2.21 MiB/s 00:03 [---------------------------------------------------------------------------------------] 100%
loading packages...
warning: downgrading package grub (2:2.12rc1-5 => 2:2.06.r591.g6425c12cd-1)
resolving dependencies...
looking for conflicting packages...

Packages (1) grub-2:2.06.r591.g6425c12cd-1

Total Installed Size:  32.91 MiB
Net Upgrade Size:      -0.52 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                [---------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                                              [---------------------------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                                                   [---------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                                                             [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) downgrading grub                                                                                                                        [---------------------------------------------------------------------------------------] 100%
:: To use the new features provided in this GRUB update, it is recommended
   to install it to the MBR or UEFI. Due to potential configuration
   incompatibilities, it is advised to run both, installation and generation
   of configuration:
     $ grub-install ...
     $ grub-mkconfig -o /boot/grub/grub.cfg
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating the info directory file...
add grub to IgnorePkg? [y/N] y
hikmateustad@hikmateustad-dell ~ % grub-install --version                              
grub-install (GRUB) 2:2.06.r591.g6425c12cd-1
hikmateustad@hikmateustad-dell ~ % sudo update-grub
Generating grub configuration file ...
Found background: /usr/share/wallpapers/real-wood/real-wood.jpg
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-zen-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Pop!_OS 22.04 LTS (22.04) on /dev/sda11
Found Windows 11 on /dev/sda2
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
hikmateustad@hikmateustad-dell ~ % reboot

Moving on to essential stuff, this wasted couple of hours of my life. AAhhhhh......grub update.

Offline

#7 2023-12-02 11:30:15

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Grub does not detect Windows MBR partition [Solved]

hikmateustad wrote:

several people had this same problem after updating grub so I downgraded it and I'm back to normalcy

So have you filed a bug report upstream? The issue won't get fixed unless the GRUB developers know about it.

Also note that `update-grub` (`grub-mkconfig -o /boot/grub/grub.cfg`) is not needed under Arch because the kernel & initramfs images do not have versioned names. The entire grub-mkconfig script is a bit of a mess really, I don't use it at all.

Offline

#8 2023-12-04 07:10:31

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Re: Grub does not detect Windows MBR partition [Solved]

So have you filed a bug report upstream?

What is the url?

The entire grub-mkconfig script is a bit of a mess really, I don't use it at all.

So what do you do?

Offline

#9 2023-12-04 07:14:00

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Grub does not detect Windows MBR partition [Solved]

hikmateustad wrote:

So have you filed a bug report upstream?

What is the url?

https://www.gnu.org/software/grub/grub-bugs.html

hikmateustad wrote:

The entire grub-mkconfig script is a bit of a mess really, I don't use it at all.

So what do you do?

I write grub.cfg myself.

It's a lot simpler than it sounds:

empty@archlinux ~ % cat /boot/grub/grub.cfg
timeout=0

uuid=b0ff2724-ec6f-4e04-ba54-235652f0a207

menuentry 'Arch' {
   search.fs_uuid $uuid
   linux /arch/boot/vmlinuz-linux rw quiet root=UUID=$uuid rootflags=subvol=arch mitigations=off
   initrd /arch/boot/amd-ucode.img /arch/boot/initramfs-linux.img
}
empty@archlinux ~ %

That example boots a btrfs subvolume, hence the leading /arch/ in the paths.

Offline

#10 2023-12-11 05:03:32

hikmateustad
Member
Registered: 2022-01-23
Posts: 29

Re: Grub does not detect Windows MBR partition [Solved]

Head_on_a_Stick wrote:

I write grub.cfg myself.

It's a lot simpler than it sounds:

Wow... the level of proficiency. If you are this good why do grub devs err; can't you teach them some basics. big_smile

Offline

#11 2023-12-12 05:45:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,771
Website

Re: Grub does not detect Windows MBR partition [Solved]

So how did you solve this? https://wiki.archlinux.org/title/Genera … way_street

I would use

menuentry 'Windows' {
   search.fs_uuid $uuid --set=root
   chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Replace $uuid with the UUID of the EFI system partition.

Offline

Board footer

Powered by FluxBB