bootcdwrite(1)
π bootcdwrite β the girlies are building bootable ISOs tonight π
okay so bestie, we're deep in the bootcd utils today, and the star of the show is bootcdwrite from the bootcdwrite(1) manual. it's giving main character energy for anyone who's ever wanted to turn a whole running Linux system into a shiny bootable ISO. no cap. let's get into it.
β¨ NAME β¨
bootcdwrite β build a bootable iso image from a running system πΈ
that's it. that's the vibe. one job, done fabulously.
π SYNOPSIS π
bootcdwrite [-i|-s|-m] [-d debug_runtime_config] -- [-h|--help]
[-c|--conf CONF] [--only_floppy] [-y|--yes] [--mokcrtder
MOKCRTDER] [--variable_from_bootcdwrite.conf(5) value]
[--function_from_bootcdwrite.conf(5) definition]
she's got OPTIONS, she's got flags, she's got that little -- moment in the middle. iconique behavior honestly. π
π¦ DESCRIPTION π¦
okay so the whole point of bootcdwrite is that it writes a Linux Installation to an iso image. yes, literally. it can even copy a system that's mounted per NFS onto a local iso. and then you just... copy that iso to a CD or a DVD with standard tools. done. slay. β¨
here's the part where you have to pay attention, bestie, because it actually matters:
it's important that the kernel can access the cdrom on the system where you want to boot from the CD, without having to load any modules. because to load modules from CD, the kernel must have access to CD before. (yes, it's a whole chicken-and-egg situation, we know π) if this is not the case, you have first to create a new kernel with CD-support built in.
lowkey that's the entire ballgame right there. kernel needs CD access built in, fr fr.
now, if something goes wrong with bootcdwrite, the user will be given the chance to correct the problem. π«Ά and listen, bootcdwrite starts many commands. so many. if a command exits with an exit code != 0, or if a command produces unknown output on stdout or stderr, the command and the output will be shown to the user. and then he gets the option to:
- exit
- retry the failed command
- ignore the failed command
three choices, zero panic. you got this. π
π OPTIONS π
okay here comes the full menu, no skips, no skipsies, we are listing every single one:
-i|-s|-mβ runbootcdwritein interactive, silent or minimal control mode. seeshellia(1)for this standard shellia options. pick your vibe: chatty, quiet, or bare essentials. π-ddebug_runtime_config β runbootcdwritein debug mode. seeshellia(1)for this standard shellia options. for when you need to see everything. π-c|--confCONF β use thebootcdwriteconfig options from file CONF. the default is:
CONF=/etc/bootcd/bootcdwrite.conf
that's the home base config right there. π
-h|--helpβ print help and exit. the classic. she shows you the way and then dips. π--only_floppyβ only a bootfloppy (to boot an existing bootcd) has to be created. tiny floppy moment, no full CD required. π-y|--yesβ answer always yes. yes bestie, we're saying yes to everything, no more prompts. π--mokcrtderMOKCRTDER β if an own Machine Owner Key (MOK) is needed to boot the created bootcd, with secure boot enabled, this option can install the public MOK Certificate in DER format (MOKCRTDER) to the EFI partition of the bootcd, to be loaded manually in BIOS. seehttps://wiki.debian.org/SecureBoot.
and if secure boot is not used, or if a standard Debian signed Kernel is used on a system with the standard Microsoft Platform Key (PK) installed in BIOS, this option is not needed. so don't stress about it unless you actually need it, okay? πΈ
--variable_from_bootcdwrite.conf(5)value β variables or functions listed inbootcdwrite.conf(5)can be overwritten from command line. for example a variable calledVARIABLEwill get the valueVALUEwith the option:--VARIABLE VALUE. yes, you can just... yell over the config file from the command line. π--function_from_bootcd2disk.conf(5)definition β functions listed inbootcdwrite.conf(5)can be overwritten from command line. for example a functionfun() { echo "hello world"; }could be defined with the option:
--fun 'fun() { echo "hello world"; }'
custom function injected straight from the shell. chef's kiss. ππ₯
π SEE ALSO π
go read these next, bestie, they're all in the family:
bootcd(7)bootcd2disk(1)bootcdflopcp(1)bootcdmk2diskconf(1)bootcdwrite.conf(5)bootcd2disk.conf(5)
the whole bootcd cinematic universe right there. iykyk. π
π AUTHOR π
bernd@bschu.de
License: GNU General Public License, version 3
πΈ COPYRIGHT πΈ
Bernd Schumacher <bernd@bschu.de> (2007-2020)
aaaand that's the whole page! π«Ά this one's bootcdwrite(1), version 0.1, dated 2020-08-07, straight out of the bootcd utils crew. now go build that iso, bestie β you're literally the main character of this boot process. periodt. πβ¨ππ¦
π¦ where this page comes from
- ubuntu stonking: bootcd 6.11.2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms