[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB can't chainload Windows under Secure Boot
From: |
Andrei Borzenkov |
Subject: |
Re: GRUB can't chainload Windows under Secure Boot |
Date: |
Sat, 10 Dec 2016 18:01:09 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
10.12.2016 17:53, Giovanni Santini пишет:
> Il 09/12/2016 16:55, Andrei Borzenkov ha scritto:
>>
>> Sorry, it is 64 bit, please change it to
>>
>> grub_error (GRUB_ERR_BAD_OS, "cannot load image: %08" PRIuGRUB_UINT64_T,
>> (grub_int64_t) status)
>>
>
> Ok, I've changed the error log message with this line and I got
> 9223372036854775810
> You want an hex...? Or is this error fine?
>
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.
- 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, 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 <=
- 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