WRAPLINUX(1)

✨ WRAPLINUX(1) ✨

okay bestie, so this is a manual page from the wraplinux corner of the universe, and the author is H. Peter Anvin. it's a little tool that takes your Linux kernel and makes it into something else. iconic behaviour honestly. πŸ’–


🌸 NAME 🌸

wraplinux β€” create an ELF or NBI file from a Linux kernel, with optional initrds if that's the vibe you're going for. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

wraplinux [-EMNlhV][-p 'kernel parameters'][-i filename]... [-o output filename] kernel

like… that's it. that's the whole thing. she's compact. πŸ’…


πŸ’« DESCRIPTION πŸ’«

So basically: you hand her a Linux kernel file, and optionally some initrd files too (as many as you want, she's not gonna complain), and she hands you back a file in either ELF or NBI format. that's the whole job. no cap. ✨


πŸ‘‘ OPTIONS πŸ‘‘

  • kernel β€” the kernel filename. yes, it's a positional argument, not a flag. she's not like other girls. 🌟
  • -p 'kernel parameters', --params 'kernel parameters' β€” the kernel commandline parameters. heads up bestie, these probably need to be quoted, so wrap 'em in quotes unless you enjoy chaos. 😭
  • -i initrd, --initrd initrd β€” an initial ramdisk/ramfs filename. you can use this option multiple times, so go off, stack those initrds. πŸ“
  • -o filename, --output filename β€” the output filename. if you don't give one, it defaults to stdout. main character energy: just blasting bytes at your terminal. πŸ’œ
  • -E, --elf β€” output in ELF format. this is the default, she's the baseline, the moment. 🌈
  • -M, --multiboot β€” output in ELF format but with a Multiboot header attached. it's giving "ELF but make it grub-friendly". πŸ”₯
  • -N, --NBI β€” output in NBI format. different format, different era. ⭐
  • -l, --load-high β€” load the Linux kernel and the initrd files entirely above 1 MB. this is the default for --multiboot, because Grub compatibility said so. 🫢
  • --no-load-high β€” overrule that default for --multiboot, and load the appropriate components of the Linux kernel below 1 MB instead, as required by the particular Linux kernel format version. it's niche, it's specific, it's lowkey doing the most, but sometimes you need it. πŸ’€
  • -h, --help β€” display a brief help message. a little snack of information. πŸŽ€
  • -V, --version β€” print the program version. slay, tell me who you are. πŸ’…

🧚 AUTHOR 🧚

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


Copyright Β© 2008 rPath, Inc. Copyright Β© 2009-2010 Intel Corporation

This is free software; see the source for copying conditions.

bestie listen. there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. nada. protect yourself. 😭

and that's the whole page, we're done here! this was wraplinux from the wraplinux manual, version-dated 28 May 2010, and yes she's an old queen but she still serves. mwah. πŸ’‹βœ¨

πŸ“¦ where this page comes from