[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB can't chainload Windows under Secure Boot
From: |
Giovanni Santini |
Subject: |
Re: GRUB can't chainload Windows under Secure Boot |
Date: |
Fri, 9 Dec 2016 16:31:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Il 09/12/2016 04:41, Andrei Borzenkov ha scritto:
> Edit grub-core/loader/efi/chainloader.c, print EFI status when loading
> fails, then we at least know why it fails. This is in function
> grub_cmd_chainloader, after call to b->load_image.
>
> status = efi_call_6 (b->load_image, 0, grub_efi_image_handle, file_path,
> boot_image, size,
> &image_handle);
> if (status != GRUB_EFI_SUCCESS)
> {
> if (status == GRUB_EFI_OUT_OF_RESOURCES)
> grub_error (GRUB_ERR_OUT_OF_MEMORY, "out of resources");
> else
> grub_error (GRUB_ERR_BAD_OS, "cannot load image");
>
> goto fail;
> }
>
> Change to
>
> grub_error (GRUB_ERROR_BAD_OS, "cannot load image: %08x", status)
>
>
Line changed, the error code is
00000002
Hope this give some clues.
--
Giovanni Santini
My blog: http://giovannisantini.tk
My code: https://git{hub,lab}.com/ItachiSan
My GPG: 2FADEBF5
- Re: GRUB can't chainload Windows under Secure Boot, (continued)
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/08
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/09
- Re: GRUB can't chainload Windows under Secure Boot,
Giovanni Santini <=
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/09
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/10
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/10
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/10
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/10
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/12
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/14
- Re: GRUB can't chainload Windows under Secure Boot, Giovanni Santini, 2016/12/15
- Re: GRUB can't chainload Windows under Secure Boot, Andrei Borzenkov, 2016/12/15