Crates.io | bootinfo |
lib.rs | bootinfo |
version | 0.2.0 |
source | src |
created_at | 2018-01-15 16:41:23.088027 |
updated_at | 2018-02-03 21:46:31.711746 |
description | A tool for displaying boot info from a binary such as a Multiboot-compliant file. |
homepage | |
repository | https://github.com/jcreekmore/bootinfo |
max_upload_size | |
id | 46951 |
size | 155,304 |
A tool for displaying boot information out of a binary file. For example, it will parse and display the Multiboot and Multiboot2 headers from a Multiboot-compliant binary.
To install:
$ cargo install bootinfo
To run on a binary:
$ bootinfo /boot/xen.gz
Multiboot Header
Magic : 0x1badb002
Flags : [page-aligned-modules, request-memory-map] (0x00000003)
Checksum : 0xe4524ffb
Multiboot2 Header
Magic : 0xe85250d6
Arch : 0x00000000
Header Len : 0x00000088
Checksum : 0x17adaea2
Tag: Information Request (1)
Flags : [required] (0x0000)
Size : 16 bytes
Types : [4, 6]
Tag: Module Alignment (6)
Flags : [required] (0x0000)
Size : 8 bytes
Tag: Relocatable (10)
Flags : [optional] (0x0001)
Size : 24 bytes
Min Addr : 0x200000
Max Addr : 0xffffffff
Align : 0x200000
Preference : maximum
Tag: Flags (4)
Flags : [optional] (0x0001)
Size : 12 bytes
Console : 0x2
Tag: Framebuffer (5)
Flags : [optional] (0x0001)
Size : 20 bytes
Width : 0
Height : 0
Depth : 0
Tag: EFI Boot Services (7)
Flags : [optional] (0x0001)
Size : 8 bytes
Tag: EFI amd64 Entry (9)
Flags : [optional] (0x0001)
Size : 12 bytes
Entry : 0x38405d