История изменений
Исправление Shushundr, (текущая версия) :
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows, 4 sections
# objdump -h bootx64.efi
bootx64.efi: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000c000 0000000000001000 0000000000001000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00010000 000000000000d000 000000000000d000 0000d000 2**4
CONTENTS, ALLOC, LOAD, DATA
2 mods 00014000 000000000001d000 000000000001d000 0001d000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .reloc 00001000 0000000000031000 0000000000031000 00031000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
# objdump -s --section=.reloc bootx64.efi
0x1000 = 4096 0xd000 = 53248 0x10000 = 65535 0x31000 = 200704
Дальше как-то не идёт…
/efi/boot # ./grub-guess bootx64.efi
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=200704 count=4096 of=reloc.bin
...
# ./grub-guess reloc.bin
Nothing was found in "reloc.bin"!
# dd if=bootx64.efi bs=1 skip=53248 count=65536 of=data.bin
...
# ./grub-guess data.bin
Nothing was found in "data.bin"!
# dd if=bootx64.efi bs=1 skip=4096 count=49152 of=text.bin
...
# ./grub-guess text.bin
Nothing was found in "text.bin"!
Другой упаковщик оказался:
# ./grub-guess --lzma2 ./bootx64.efi >core-image.elf
Found a compressed core image in "./bootx64.efi" at offset 8612 bytes.
# file core-image.elf
core-image.elf: data
# xz -d core-image.elf
xz: core-image.elf: File format not recognized
Дальше непонятно что делать.
Исправление Shushundr, :
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows, 4 sections
# objdump -h bootx64.efi
bootx64.efi: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000c000 0000000000001000 0000000000001000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00010000 000000000000d000 000000000000d000 0000d000 2**4
CONTENTS, ALLOC, LOAD, DATA
2 mods 00014000 000000000001d000 000000000001d000 0001d000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .reloc 00001000 0000000000031000 0000000000031000 00031000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
# objdump -s --section=.reloc bootx64.efi
0x1000 = 4096 0xd000 = 53248 0x10000 = 65535 0x31000 = 200704
Дальше как-то не идёт…
/efi/boot # ./grub-guess bootx64.efi
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=200704 count=4096 of=reloc.bin
...
# ./grub-guess reloc.bin
Nothing was found in "reloc.bin"!
# dd if=bootx64.efi bs=1 skip=53248 count=65536 of=data.bin
...
# ./grub-guess data.bin
Nothing was found in "data.bin"!
# dd if=bootx64.efi bs=1 skip=4096 count=49152 of=text.bin
...
# ./grub-guess text.bin
Nothing was found in "text.bin"!
Другой упаковщик оказался:
# ./grub-guess --lzma2 ./bootx64.efi >core-image.elf
Found a compressed core image in "./bootx64.efi" at offset 8612 bytes.
# file core-image.elf
core-image.elf: data
Дальше непонятно что делать.
Исправление Shushundr, :
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows, 4 sections
# objdump -h bootx64.efi
bootx64.efi: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000c000 0000000000001000 0000000000001000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00010000 000000000000d000 000000000000d000 0000d000 2**4
CONTENTS, ALLOC, LOAD, DATA
2 mods 00014000 000000000001d000 000000000001d000 0001d000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .reloc 00001000 0000000000031000 0000000000031000 00031000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
# objdump -s --section=.reloc bootx64.efi
0x1000 = 4096 0xd000 = 53248 0x10000 = 65535 0x31000 = 200704
Дальше как-то не идёт…
/efi/boot # ./grub-guess bootx64.efi
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=200704 count=4096 of=reloc.bin
...
# ./grub-guess reloc.bin
Nothing was found in "reloc.bin"!
# dd if=bootx64.efi bs=1 skip=53248 count=65536 of=data.bin
...
# ./grub-guess data.bin
Nothing was found in "data.bin"!
# dd if=bootx64.efi bs=1 skip=4096 count=49152 of=text.bin
...
# ./grub-guess text.bin
Nothing was found in "text.bin"!
Исправление Shushundr, :
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows, 4 sections
# objdump -h bootx64.efi
bootx64.efi: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000c000 0000000000001000 0000000000001000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00010000 000000000000d000 000000000000d000 0000d000 2**4
CONTENTS, ALLOC, LOAD, DATA
2 mods 00014000 000000000001d000 000000000001d000 0001d000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .reloc 00001000 0000000000031000 0000000000031000 00031000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
# objdump -s --section=.reloc bootx64.efi
0x1000 = 4096 0xd000 = 53248 0x10000 = 65535 0x31000 = 200704
Дальше как-то не идёт…
/efi/boot # ./grub-guess bootx64.efi
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=200704 count=4096 of=reloc.bin
...
# ./grub-guess reloc.bin
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=53248 count=65536 of=data.bin
...
# ./grub-guess data.bin
Nothing was found in "data.bin"!
# dd if=bootx64.efi bs=1 skip=4096 count=49152 of=text.bin
...
# ./grub-guess text.bin
Nothing was found in "text.bin"!
Исходная версия Shushundr, :
bootx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows, 4 sections
# objdump -h bootx64.efi
bootx64.efi: file format pei-x86-64
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000c000 0000000000001000 0000000000001000 00001000 2**4
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00010000 000000000000d000 000000000000d000 0000d000 2**4
CONTENTS, ALLOC, LOAD, DATA
2 mods 00014000 000000000001d000 000000000001d000 0001d000 2**2
CONTENTS, ALLOC, LOAD, DATA
3 .reloc 00001000 0000000000031000 0000000000031000 00031000 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
# objdump -s --section=.reloc bootx64.efi
0x1000 = 4096 0xd000 = 53248 0x10000 = 65535 0x31000 = 200704
Дальше как-то не идёт…
/efi/boot # ./grub-guess bootx64.efi
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=200704 count=4096 of=core-image.bin
...
# ./grub-guess reloc.bin
Nothing was found in "bootx64.efi"!
# dd if=bootx64.efi bs=1 skip=53248 count=65536 of=data.bin
...
# ./grub-guess data.bin
Nothing was found in "data.bin"!