Quantcast
Viewing all articles
Browse latest Browse all 2901

Beginners Questions • Re: [Installation] Trying to fix the boot loader of a degraded linux RAID-1 array

Thanks for the help, before reading this I had done the following;

Code:

sudo fdisk -l
then granted myself write permission to the '40_custom' file in /etc/grub.d with the following commands:

Code:

cd /etc/grub.dsudo chmod o+w 40_custom
Open the 40_custom file

Code:

open ./40_custom
Write the following at the bottom of the file with the correct UUID:

Code:

menuentry 'Windows 11' {    search --fs-uuid --no-floppy --set=root [b]MY DRIVE ID HERE[/b]    chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi}
Saved the file and closed the editor then back in the terminal, I removed write permissions.

Code:

sudo chmod o-w 40_custom
Update GRUB using

Code:

sudo update-grub
Reboot my computer, saw the Windows 11 option, but got the following error:

Code:

error: no such device: DA5B-F980error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found.Press any key to continue...
so...
After running your fix this is what I got after running "Update-grub" command:

Code:

sudo update-grubGenerating grub configuration file ...Found background image: /usr/share/images/desktop-base/desktop-grub.pngFound linux image: /boot/vmlinuz-6.1.0-28-amd64Found initrd image: /boot/initrd.img-6.1.0-28-amd64Found linux image: /boot/vmlinuz-6.1.0-27-amd64Found initrd image: /boot/initrd.img-6.1.0-27-amd64Warning: 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.grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.Adding boot menu entry for UEFI Firmware Settings ...done
Going to reboot and see what happens... wish me luck!

Statistics: Posted by JediMaster — 2025-01-09 15:37



Viewing all articles
Browse latest Browse all 2901

Trending Articles