help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading multiboot failed


From: Randy Goldenberg
Subject: Re: Loading multiboot failed
Date: Thu, 25 Jan 2024 15:42:27 -0800

I'm having difficulty following your line of thought.

My suggestion is to disable CSM and Secureboot.

Cheers,

On Thu, Jan 25, 2024 at 3:36 PM Markbiophysicist <markbiophysicist@gmail.com>
wrote:

> No, I didn't it. And I have just flashed my BIOS to the latest version
> (PCB H81M-K Asus - BIOS Version 3802) to check this possibility but I found
> that the error was in the USB creation with Rufus. I selected a wrong
> option.
>
> Now, when I try to boot from USB using the option CMS/UEFI this runs. But
> if I would install again the system I would get same error in the time to
> install grub. I know it because I already tried some days ago.
>
>
>
> El vie, 26 ene 2024, 0:21, Randy Goldenberg <randy.goldenberg@gmail.com>
> escribió:
>
>> The error message you provided advises disabling "CSM/Legacy mode" in
>> your computer's firmware.  Did you do that?
>>
>> If you did, is "Secure boot" enabled in your computer's firmware?  If so,
>> turn it off and try booting from your Kali installation media again.
>>
>> On Thu, Jan 25, 2024 at 3:07 PM Markbiophysicist <
>> markbiophysicist@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I can't understand is why an operative system is installed in UEFI mode
>>> and
>>> another in legacy mode. The one that is installed in UEFI mode is
>>> Windows,
>>> but Kali cannot be installed in UEFI mode. I can't find the right
>>> option. I
>>> have to create another USB to fix this problem. However, a while ago I
>>> had
>>> Windows and Debian installed with dual boot without having any
>>> installation
>>> problems.
>>>
>>> There must be some way to have the bootloader properly installed. At the
>>> moment I boot from the UEFI boot menu. I attach a screenshot where you
>>> can
>>> see the startup options that the machine offers me. If I choose P4, it
>>> starts Kali Linux (with installed Grub). If I choose Windows Boot Manager
>>> (P1), it starts Windows 10. If I choose only P1, it starts Kali Linux
>>> (same). The grub has an item for booting from Windows created manually by
>>> me, but this one isn't working.
>>>
>>> If I prove to install Kali again to take advantage from os-probe during
>>> the
>>> installation process, I get an error. This throws it even though I have
>>> passed the partitioned process without any trouble.
>>>
>>> It seems to get installed the multiboot system without errors, surely I
>>> would have to erase all my disks and applying a new format to them again.
>>> And that is not possible by now.
>>>
>>> Please, some idea to resolve it.
>>>
>>> Thanks for your attention.
>>>
>>>
>>>
>>>
>>>
>>> ---------- Forwarded message ---------
>>> De: Markbiophysicist <markbiophysicist@gmail.com>
>>> Date: jue, 25 ene 2024, 20:04
>>> Subject: Re: Loading multiboot failed
>>> To: Andrei Borzenkov <arvidjaar@gmail.com>
>>>
>>>
>>> Okay, thanks for your information and help, it means i need to reinstall
>>> Kali in UEFI mode and doing so i will recover the control of my computer
>>> again. :-(.
>>>
>>> Thank you very much. Best regards
>>>
>>> El jue, 25 ene 2024 a las 19:12, Andrei Borzenkov (<arvidjaar@gmail.com
>>> >)
>>> escribió:
>>>
>>> > On 25.01.2024 18:57, Markbiophysicist wrote:
>>> > > Hello,
>>> > >
>>> > > Already from the Kali installer itself I have had problems with dual
>>> > boot.
>>> > > The problem is that the other previously installed operating system
>>> does
>>> > > not recognize me. (Windows 10).
>>> > >
>>> >
>>> > Do you mean that Windows is not offered in GRUB menu? Because Windows
>>> > most certainly is not expected to recognize Linux.
>>> >
>>> > > I have modified the /etc/default/grub file to enable the following
>>> > > configuration key:
>>> > > GRUB_DISABLE_OS_PROBER="false"
>>> > >
>>> > > I have done some testing by modifying the /etc/grub.d/40-custom file
>>> and
>>> > > adding custom entries and then running 'sudo update-grub' and
>>> testing the
>>> > > results. None have been successful.
>>> > >
>>> >
>>> > "It does not work" is not very useful. Explain what you did, what were
>>> > the results (what was on the screen, what errors, what happened etc).
>>> >
>>> > > The last attempt gave me the following error:
>>> > > invalid signature
>>> > >
>>> >
>>> > Well, EFI binary does not have standard boot sector signature expected
>>> > by legacy BIOS GRUB.
>>> >
>>> > > Please, I would appreciate it if you could tell me if there is any
>>> way to
>>> > > solve it or if there is a configuration error.
>>> > >
>>> > > The output of the bootinfo analysis script is as follows:
>>> > >
>>> > >                   Boot Info Script 0.78      [09 October 2019]
>>> > >
>>> > >
>>> > > ============================= Boot Info Summary:
>>> > > ===============================
>>> > >
>>> > >   => No boot loader is installed in the MBR of /dev/sda.
>>> > >   => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at
>>> > sector
>>> > >      3051722792 of the same hard drive for core.img. core.img is at
>>> this
>>> > >      location and looks for (,gpt3)/boot/grub. It also embeds
>>> following
>>> > >      components:
>>> > >
>>> > >      modules
>>> > >
>>> > >
>>> >
>>> ---------------------------------------------------------------------------
>>> > >      fshelp ext2 part_gpt biosdisk
>>> > >
>>> > >
>>> >
>>> ---------------------------------------------------------------------------
>>> > >
>>> > > sda1:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       vfat
>>> > >      Boot sector type:  Windows 8/2012: FAT32
>>> > >      Boot sector info:  No errors found in the Boot Parameter Block.
>>> > >      Operating System:
>>> > >      Boot files:        /efi/Boot/bootx64.efi /efi/kali/grubx64.efi
>>> > >                         /efi/Microsoft/Boot/bootmgfw.efi
>>> > >                         /efi/Microsoft/Boot/bootmgr.efi
>>> > >                         /efi/Microsoft/Boot/memtest.efi
>>> > >
>>> > > sda2:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:
>>> > >      Boot sector type:  -
>>> > >      Boot sector info:
>>> > >
>>> > > sda3:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       ntfs
>>> > >      Boot sector type:  Windows 8/2012: NTFS
>>> > >      Boot sector info:  No errors found in the Boot Parameter Block.
>>> > >      Operating System:
>>> > >      Boot files:        /Windows/System32/winload.exe
>>> > >
>>> > > sda4:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       ntfs
>>> > >      Boot sector type:  Windows 8/2012: NTFS
>>> > >      Boot sector info:  No errors found in the Boot Parameter Block.
>>> > >      Operating System:
>>> > >      Boot files:
>>> > >
>>> > > sdb1:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       ntfs
>>> > >      Boot sector type:  Windows 8/2012: NTFS
>>> > >      Boot sector info:  No errors found in the Boot Parameter Block.
>>> > >      Operating System:
>>> > >      Boot files:
>>> > >
>>> > > sdb2:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       swap
>>> > >      Boot sector type:  -
>>> > >      Boot sector info:
>>> > >
>>> > > sdb3:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       ext4
>>> > >      Boot sector type:  -
>>> > >      Boot sector info:
>>> > >      Operating System:  Kali GNU/Linux Rolling
>>> > >      Boot files:        /boot/grub/grub.cfg /etc/fstab
>>> > >                         /boot/grub/i386-pc/core.img
>>> > >
>>> > > sdb4:
>>> > >
>>> >
>>> __________________________________________________________________________
>>> > >
>>> > >      File system:       ntfs
>>> > >      Boot sector type:  Unknown
>>> > >      Boot sector info:  No errors found in the Boot Parameter Block.
>>> > >      Operating System:
>>> > >      Boot files:
>>> > >
>>> >
>>> > Apparently Windows is installed for UEFI boot and Linux is installed
>>> for
>>> > legacy boot. os-prober will only check for the matching Windows
>>> > installation - if Linux is booted in legacy mode, it will not look for
>>> > Windows in UEFI mode.
>>> > ...
>>> >
>>> > >
>>> > > menuentry "Windows 10" {
>>> > > set root='(hd1,1)'
>>> > > insmod part_gpt
>>> > > insmod fat
>>> > > insmod chain
>>> > > chainloader /EFI/Microsoft/Boot/bootmgr.efi
>>> > > }
>>> >
>>> > You cannot chainload EFI binary when booted in legacy BIOS mode.
>>> >
>>>
>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]