logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

wraplinux - Create an ELF or NBI file from a Linux kernel with optional initrds.

Author

       Written by H. Peter Anvin <hpa@zytor.com>.

Description

       Takes a Linux kernel file and optional initrd files and outputs an ELF or NBI format file.

Name

       wraplinux - Create an ELF or NBI file from a Linux kernel with optional initrds.

Options

kernel Kernel filename.

       -p 'kernelparameters', --params 'kernelparameters'
              Kernel commandline parameters (probably needs to be quoted.)

       -iinitrd, --initrdinitrd
              Initial ramdisk/ramfs filename. This option may occur multiple times.

       -ofilename, --outputfilename
              Output filename (default stdout).

       -E, --elf
              Output in ELF format (default).

       -M, --multiboot
              Output in ELF format with a Multiboot header.

       -N, --NBI
              Output in NBI format.

       -l, --load-high
              Load  the  Linux  kernel  and  initrd  files  entirely  above  1  MB (default for --multiboot, for
              compatibility with Grub).

           --no-load-high
              Overrule the default for --multiboot (and load the appropriate  components  of  the  Linux  kernel
              below 1 MB as required by the particular Linux kernel format version).

       -h, --help
              Display a brief help message.

       -V, --version
              Print the program version.

Synopsis

wraplinux [-EMNlhV][-p 'kernelparameters'][-ifilename]... [-ooutputfilename] kernel

See Also