Whonix Source Code Introduction
Introduction into Whonix source code.
Contents
Introduction[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Introduction
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Introduction|Introduction]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Introduction](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Introduction)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Introduction](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Introduction)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Introduction]Introduction[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
This chapter is dedicated to give an introduction into the Whonix source code. If you prefer to read and understand the source code just by reading scripts you may skip this optional chapter. It can be quite difficult to get started with hacking existing big complex projects.
build-steps[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#build-steps
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#build-steps|build-steps]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[build-steps](https://www.whonix.org/wiki/Dev/Source_Code_Intro#build-steps)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[build-steps](https://www.whonix.org/wiki/Dev/Source_Code_Intro#build-steps)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#build-steps]build-steps[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
This is a high level overview. Whonix-Example-Implementation can currently be build in nine steps. (There is also a derivative-maker script, which automates these eight steps for your convenience.)
- *_prepare-build-machine
- *_export-libvirt-xml
- *_create-debian-packages
- *_create-raw-image
- *_install-packages
- *_run-chroot-scripts-post-d
- *_convert-raw-to-qcow2
- *_convert-raw-to-vdi
- *_create-vbox-vm
- *_export-vbox-vm
- *_create-report
help-steps[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#help-steps
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#help-steps|help-steps]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[help-steps](https://www.whonix.org/wiki/Dev/Source_Code_Intro#help-steps)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[help-steps](https://www.whonix.org/wiki/Dev/Source_Code_Intro#help-steps)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#help-steps]help-steps[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Boring methods, which are required by the build-steps above.
- delete-vbox-vm
- mount-raw
- chroot-raw
- unchroot-raw
- unmount-raw
- pre gets sourced by all other scripts.
- variables gets sourced by all other scripts.
derivative-maker[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#derivative-maker
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#derivative-maker|derivative-maker]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[derivative-maker](https://www.whonix.org/wiki/Dev/Source_Code_Intro#derivative-maker)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[derivative-maker](https://www.whonix.org/wiki/Dev/Source_Code_Intro#derivative-maker)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#derivative-maker]derivative-maker[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Is a script, which simply runs all other build-steps. Actually it is "optional". It has very little functionality besides running all other steps. You are free to run all steps one by one. That is useful for learning and for debugging purposes. In case you want to fix a bug or in case you want to upgrade the distribution or in case you want to switch the operating system or whatever you are better off running the steps manually. Run it with --help to see available switches.
Overview[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Overview
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Overview|Overview]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Overview](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Overview)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Overview](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Overview)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Overview]Overview[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- prepare-build-machine: installs build dependencies and applies a few other required settings for building from source.
- export-libvirt-xml: Copies files from libvirt folder to ~/whonix_binary folder and adds version numbers to them.
- create-debian-packages: Recursively works through packages folder, builds them one by one and adds them to a local APT repository.
- create-raw-image: grml-debootstrap
creates virtual machine images in .raw image format. It keeps care of creating the image, the partition table, grub boot manager, minimal system debootstrap and apt installing all Whonix packages. This step requires most time in the build process.
- install-packages: Installs meta .deb packages whonix-shared-packages-dependencies/recommended, desktop, desktop-kde, kde-accessibility and whonix-*-packages-dependencies/recommended and whonix-workstation-default-applications. Those only include dependencies and recommended packages which are pulled from Debian's apt repository.
- run-chroot-scripts-post-d: Post Chroot Scripts are applied.
- convert-raw-to-qcow2: Only having effect when using --qocw2 switch. The .raw image gets converted to a .qcow2 image. Actually not converted, a new file will be created and the old .raw remains available until cleanup is run or manually deleted or grml-debootstrap runs again. The .raw format is more "generic". VirtualBox does not support raw (.raw) images, but .vdi and .vmdk (and others).
- convert-raw-to-vdi: The .raw image gets converted to a .vdi image. (Actually not converted, as explained above.)
- create-vbox-vm: A virtual machine (VirtualBox) will be created and the .vdi image will be attached.
Modularity[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Modularity
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Modularity|Modularity]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Modularity](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Modularity)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Modularity](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Modularity)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Modularity]Modularity[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
All steps could be easily replaced to add support for additional virtualizers, operating systems and so on. The numbers before the script names (20_..., 25_..., 30..., ...) are honored by derivative-maker (using run-parts), which runs these steps in lexical order. Therefore you can easily add steps to the beginning or the end or even wretch steps in between.
File sizes[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#File_sizes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#File_sizes|File sizes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[File sizes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#File_sizes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[File sizes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#File_sizes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#File_sizes]File sizes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Do not get shocked by file sized. Initially the .raw is created with a size of 100 GB, but it will actually only take a fraction of that space on the harddrive. This is because .raw .vdi and .vmdk are all sparse files, which means they do not take their maximum size, but only as much data as really is inside these images.
Chroot Scripts[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Chroot_Scripts
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Chroot_Scripts|Chroot Scripts]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Chroot Scripts](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Chroot_Scripts)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Chroot Scripts](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Chroot_Scripts)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Chroot_Scripts]Chroot Scripts[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
packages/kicksecure/initializer-dist/usr/libexec/initializer-dist/chroot-scripts-post.d/
Summary[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Summary
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Summary|Summary]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Summary](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Summary)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Summary](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Summary)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Summary]Summary[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Thus, given the nature of the build step orientated scripts, you can easily work on the different aspects of Whonix. For example, once you have created a clean virtual machine with the operating system only, you can make a copy, run either the gateway or the workstation copy routine or Chroot Scripts as often as you need to test your changes and if something goes wrong, go back to backup. You don't have to build everything from scratch again. [1]
Another Introduction[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Another_Introduction
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Another_Introduction|Another Introduction]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Another Introduction](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Another_Introduction)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Another Introduction](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Another_Introduction)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Another_Introduction]Another Introduction[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
It is really not that difficult after all. If you like, you could read Manually Creating Whonix, which is a similar topic, which covers part of this in other words.
Debugging[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Debugging
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Debugging|Debugging]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Debugging](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Debugging)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Debugging](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Debugging)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Debugging]Debugging[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Stuff you may find helpful for debugging.
Build Configuration[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Configuration
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Build_Configuration|Build Configuration]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Build Configuration](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Configuration)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Build Configuration](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Configuration)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Configuration]Build Configuration[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
See Build Configuration.
Building without derivative-maker main script[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Building_without_derivative-maker_main_script
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Building_without_derivative-maker_main_script|Building without derivative-maker main script]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Building without derivative-maker main script](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Building_without_derivative-maker_main_script)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Building without derivative-maker main script](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Building_without_derivative-maker_main_script)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Building_without_derivative-maker_main_script]Building without derivative-maker main script[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
most basic[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#most_basic
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#most_basic|most basic]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[most basic](https://www.whonix.org/wiki/Dev/Source_Code_Intro#most_basic)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[most basic](https://www.whonix.org/wiki/Dev/Source_Code_Intro#most_basic)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#most_basic]most basic[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Example using an apt cache (apt-cacher-ng) and building qcow2 images.
sudo apt install apt-cacher-ng
cd derivative-maker
sudo ./build-steps.d/*_prepare-build-machine --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_export-libvirt-xml --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_create-debian-packages --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_create-raw-image --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_install-packages --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_run-chroot-scripts-post-d --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_convert-raw-to-qcow2 --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_convert-raw-to-vdi --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_create-vbox-vm --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_export-vbox-vm --build --target qcow2 --flavor whonix-gateway
sudo ./build-steps.d/*_create-report --build --target qcow2 --flavor whonix-gateway
optional[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#optional
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#optional|optional]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[optional](https://www.whonix.org/wiki/Dev/Source_Code_Intro#optional)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[optional](https://www.whonix.org/wiki/Dev/Source_Code_Intro#optional)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#optional]optional[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
For example for a qcow2 build, the following steps can be safely skipped, since these would be doing nothing anyway.
- *_convert-raw-to-vdi
- *_export-vbox-vm
- *_create-report (not in use currently)
When first creating a gateway build and then building a workstation build (or vice versa) the following steps do not need to be repeated:
- *_prepare-build-machine
- *_create-debian-packages
Mount and inspect images[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Mount_and_inspect_images
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Mount_and_inspect_images|Mount and inspect images]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Mount and inspect images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Mount_and_inspect_images)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Mount and inspect images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Mount_and_inspect_images)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Mount_and_inspect_images]Mount and inspect images[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Less Important Goodies[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Less_Important_Goodies
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Less_Important_Goodies|Less Important Goodies]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Less Important Goodies](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Less_Important_Goodies)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Less Important Goodies](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Less_Important_Goodies)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Less_Important_Goodies]Less Important Goodies[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Unpacking .ova images[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Unpacking_.ova_images
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Unpacking_.ova_images|Unpacking .ova images]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Unpacking .ova images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Unpacking_.ova_images)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Unpacking .ova images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Unpacking_.ova_images)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Unpacking_.ova_images]Unpacking .ova images[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
If you want for some reason to unpack an .ova, for example to get the .vdmk image, you can use tar.
Click = Copy Copied to clipboard! tar -xvf Whonix-Gateway.ova
Will show:
Click = Copy Copied to clipboard! Whonix-Gateway.ovf Whonix-Gateway-disk1.vmdk
Converting .vmdk images to .raw images[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Converting_.vmdk_images_to_.raw_images
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Converting_.vmdk_images_to_.raw_images|Converting .vmdk images to .raw images]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Converting .vmdk images to .raw images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Converting_.vmdk_images_to_.raw_images)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Converting .vmdk images to .raw images](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Converting_.vmdk_images_to_.raw_images)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Converting_.vmdk_images_to_.raw_images]Converting .vmdk images to .raw images[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Click = Copy Copied to clipboard! #qemu-img info Whonix-Gateway-disk1.vmdk
Click = Copy Copied to clipboard! qemu-img convert Whonix-Gateway-disk1.vmdk -O raw Whonix-Gateway.raw
Click = Copy Copied to clipboard! #qemu-img info Whonix-Gateway.raw
Build Script Features[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Script_Features
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Build_Script_Features|Build Script Features]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Build Script Features](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Script_Features)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Build Script Features](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Script_Features)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Build_Script_Features]Build Script Features[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
See https://www.kicksecure.com/wiki/Dev/Derivative-Maker
Notes[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Notes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Notes|Notes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Notes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Notes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Notes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Notes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Notes]Notes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
sudo ~/derivative-maker/packages/kicksecure/developer-meta-files/debug-steps/interactive-chroot-raw --target raw --flavor whonix-host-xfce --build --freedom false
Why not Replace grml-debootstrap with 'X'?[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Why_not_Replace_grml-debootstrap_with_.27X.27.3F
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Why_not_Replace_grml-debootstrap_with_.27X.27.3F|Why not Replace grml-debootstrap with 'X'?]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Why not Replace grml-debootstrap with 'X'?](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Why_not_Replace_grml-debootstrap_with_.27X.27.3F)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Why not Replace grml-debootstrap with 'X'?](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Why_not_Replace_grml-debootstrap_with_.27X.27.3F)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Why_not_Replace_grml-debootstrap_with_.27X.27.3F]Why not Replace grml-debootstrap with 'X'?[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Whonix developers are not remotely close to exhausting grml-debootstrap
's extensive feature-set yet. [2]
There are two sorts of VM image creation tools:
- [A] Those that use virtualization, boot the image and perform actions.
- [B] Those that use
chroot
(or maybesystemd-spawn
).
[A] is incompatible with Whonix design principles due to files being created during boot, such as entropy seeds. This is a less clean method and is not suitable for redistribution. Similar to Distro Morphing vs Builds.
In either case it would be necessary to compare:
- The image created by grml-debootstrap versus the new tool.
- Create an image twice using the new tool and inspect the diff.
Related:
dm-prepare-release[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#dm-prepare-release
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#dm-prepare-release|dm-prepare-release]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[dm-prepare-release](https://www.whonix.org/wiki/Dev/Source_Code_Intro#dm-prepare-release)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[dm-prepare-release](https://www.whonix.org/wiki/Dev/Source_Code_Intro#dm-prepare-release)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#dm-prepare-release]dm-prepare-release[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
dm-prepare-release is responsible for:
- Creation of a unified
.ova
image orlibvirt.xz
archive. - Creation of torrent files.
- Creation of hash sum files.
- Creation of digital software signatures.
- Adding the license agreement.
- Adding the disclaimer.
- Redistribution.
See Also[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#See_Also
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#See_Also|See Also]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[See Also](https://www.whonix.org/wiki/Dev/Source_Code_Intro#See_Also)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[See Also](https://www.whonix.org/wiki/Dev/Source_Code_Intro#See_Also)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#See_Also]See Also[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
Footnotes[edit]
Copy or share this direct link!
Click = Copy
Copied to clipboard!
https://www.whonix.org/wiki/Dev/Source_Code_Intro#Footnotes
Click below ↴ = Copy to Clipboard
Click = Copy
Copied to clipboard!
[[Dev/Source_Code_Intro#Footnotes|Footnotes]]
Copy as Wikitext
Click = Copy
Copied to clipboard!
[Footnotes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Footnotes)
for Discourse, reddit, GitHub
Click = Copy
Copied to clipboard!
[Footnotes](https://www.whonix.org/wiki/Dev/Source_Code_Intro#Footnotes)
Copy as Markdown
Click = Copy
Copied to clipboard!
[url=https://www.whonix.org/wiki/Dev/Source_Code_Intro#Footnotes]Footnotes[/url]
Copy as phpBB
Click below ↴ = Open social URL with share data
We don't use embedded scripts
This share button is completely self-hosted by this webserver. No scripts from any of the social networks are embedded on this webserver. See also
Social Share Button.
- ↑ If something would go wrong, you would have to reinstall the whole operating system every time again. That's why we use separate steps.
- ↑
https://forums.whonix.org/t/replacing-grml-debootstrap-debos-build-platform/5582/3


Copy as Wikitext

for Discourse, reddit, GitHub

Copy as Markdown

Copy as phpBB Click below ↴ = Open social URL with share data











We believe security software like Whonix needs to remain open source and independent. Would you help sustain and grow the project? Learn more about our 13 year success story and maybe DONATE!