[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: |
Sat, 10 Dec 2016 19:29:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
Il 10/12/2016 16:01, Andrei Borzenkov ha scritto:
> No, that's OK. The error is EFI_INVALID_PARAMETER which is rather
> unexpected at this point.
>
> Stab in the dark - could you try to change loading from
>
> status = efi_call_6 (b->load_image, 0, grub_efi_image_handle, file_path,
> boot_image, size,
> &image_handle);
>
>
> into
>
>
> status = efi_call_6 (b->load_image, 0, grub_efi_image_handle, file_path,
> 0, 0,
> &image_handle);
>
> I understand that you are loading file from ESP, so it should be
> directly accessible by firmware.
>
> And yes, please use PRIxGRUB_UINT64_T instead so code is printed in hex,
> it is more readable.
>
So, changes were made, and the error become:
800000000000000e
I am adding the additional patch I've created for testing, just to be
sure I'm doing stuff properly.
--
Giovanni Santini
My blog: http://giovannisantini.tk
My code: https://git{hub,lab}.com/ItachiSan
My GPG: 2FADEBF5
0006-Fixes.patch
Description: Text Data
- Re: GRUB can't chainload Windows under Secure Boot, (continued)
- 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, 2016/12/09
- 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 <=
- 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