Skip to contentSkip to conversation

How to deal with `multiboot` and compressed files

DISCUSSION Paul Menzel 3 participants 3 messages Apr 15, 2017

lore
Share & tools
lore
#0 lore raw

Dear GRUB folks,

The payloads for coreboot are normally LZMA compressed, as there is only little room on a flash ROM chip. Vladimir adapted SeaBIOS so it’s Multiboot compatible, so that SeaBIOS and the VGA Option can be easily loaded from the hard disk, and not the flash ROM chip.

Trying to load such a compressed with the multiboot command¹, it does abort with the message, that the Multiboot header cannot be found.

Is the the multiboot command supposed to be able to deal with compressed files?

If not, could you please tell me, if there is a way to load such a compressed file, and how?

Thanks,

Paul

¹ By the way, the command multiboot and multiboot2 are not listed in the overview of the GRUB manual [1].

[1] https://www.gnu.org/software/grub/manual/html_node/Command_002dline-and-menu-entry-commands.html#Command_002dline-and-menu-entry-commands

#1 lore raw

15.04.2017 19:47, Paul Menzel пишет:

Quoted 8 lines

Dear GRUB folks,

The payloads for coreboot are normally LZMA compressed, as there is only little room on a flash ROM chip. Vladimir adapted SeaBIOS so it’s Multiboot compatible, so that SeaBIOS and the VGA Option can be easily loaded from the hard disk, and not the flash ROM chip.

Quoted 9 lines

Trying to load such a compressed with the multiboot command¹, it does abort with the message, that the Multiboot header cannot be found.

Is the the multiboot command supposed to be able to deal with compressed files?

If not, could you please tell me, if there is a way to load such a compressed file, and how?

Try

insmod xzio

before multiboot command.

#2 lore raw
In reply to Paul Menzel
Quoted 11 lines · On Sun, Apr 16, 2017, 02:48 Paul Menzel <[email protected]>…

Dear GRUB folks,

The payloads for coreboot are normally LZMA compressed, as there is only little room on a flash ROM chip. Vladimir adapted SeaBIOS so it’s Multiboot compatible, so that SeaBIOS and the VGA Option can be easily loaded from the hard disk, and not the flash ROM chip.

Trying to load such a compressed with the multiboot command¹, it does abort with the message, that the Multiboot header cannot be found.

Coreboot SELF format is not multiboot-compatible.

Quoted 24 lines

Is the the multiboot command supposed to be able to deal with compressed files?

If not, could you please tell me, if there is a way to load such a compressed file, and how?

Thanks,

Paul

¹ By the way, the command multiboot and multiboot2 are not listed in the overview of the GRUB manual [1].

[1]
https://www.gnu.org/software/grub/manual/html_node/Command_002dline-and-menu-entry-commands.html#Command_002dline-and-menu-entry-commands
_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel