I did a update form Ubuntu 22.04 to 24.04, and ran into a lots of problems - programs that did not start etc. I had problems to roll back to 22.04 and decided to install Debian 12, dual boot with Win 12. EFI system.
I could not boot after that, but ended with grub>. With Boot-repair I hoped to fix the problem, from the report:
chroot /mnt/boot-sav/sda7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda7 update-grub
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-25-amd64
Found initrd image: /boot/initrd.img-6.1.0-25-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
I manged to boot into debian but not Win10 from grub>:
grub> set root=(hd0,gpt7)
grub> linux /vmlinuz root=/dev/sda7
grub> initrd /initrd.img
grub> boot
From Grub optimizer - see attached files. All seems to be OK. I have been doing sudo grub-update with no effect. I don`t think it is a hardware problem, so no inxi. /dev/sda9 is my /home ext4.
Do I have 2 installs of Grub? Some tips?
I could not boot after that, but ended with grub>. With Boot-repair I hoped to fix the problem, from the report:
chroot /mnt/boot-sav/sda7 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda7 update-grub
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-6.1.0-25-amd64
Found initrd image: /boot/initrd.img-6.1.0-25-amd64
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
I manged to boot into debian but not Win10 from grub>:
grub> set root=(hd0,gpt7)
grub> linux /vmlinuz root=/dev/sda7
grub> initrd /initrd.img
grub> boot
From Grub optimizer - see attached files. All seems to be OK. I have been doing sudo grub-update with no effect. I don`t think it is a hardware problem, so no inxi. /dev/sda9 is my /home ext4.
Do I have 2 installs of Grub? Some tips?