How to create customized Potassium ISO

Building a customized Potassium ISO is easy, interesting and useful. You can configure almost any aspect of your own ISO Kali build using Debian's built-in scripts directly. These scenarios allow developers to easily build system images directly by providing a framework that uses a configuration set to automate and customize all aspects of image building. image.

Building a customized Potassium ISO is easy, interesting and useful. You can configure almost any aspect of your own ISO Kali build using Debian's built-in scripts directly. These scenarios allow developers to easily build system images directly by providing a framework that uses a configuration set to automate and customize all aspects of image building. image. The Kali Linux development team has applied these scripts and they are used to produce the official ISO releases of Kali.

Where should you build your own ISO?

Ideally, you should build your own customized ISO Kali from within a pre-existing Potassium environment.

Get ready - Set up a direct construction system

First, we need to prepare the environment for setting up ISO Kali by installing and setting up its requirements directly with the following commands:

 apt install curl git live-build cdebootstrap 
git clone git: //git.kali.org/live-build-config.git

Now you just need to build an updated Kali ISO by entering the ' live-build-config ' directory and run the build.sh script , as follows:

 cd live-build-config 
./build.sh --distribution potassium-rolling --verbose

The " build.sh " script will take a while to complete, as it downloads all the packages needed to create your own ISO. You can enjoy a cup of coffee while you wait.

Configuration for Kali ISO construction (optional)

If you want to customize your Kali Linux ISO, this section will explain some details. Through potassium-config directory, the live build Kali Linux supports a variety of customization options, available on the Debian direct build support page. Here are some highlights.

Build Potassium with different desktop environments

Since Potassium 2.0, we currently support configurations built for different desktop environments, including KDE, Gnome, E17, I3WM, LXDE, MATE and XFCE. To build on any of these environments, you will use the same syntax as the following:

 # These are the Desktop Environment different options: 
#. / build.sh --distribution potassium-rolling --variant {gnome, kde, xfce, mate, e17, lxde, i3wm} --verbose
# To build an ISO KDE:
./build.sh --distribution potassium-rolling --variant kde --verbose
# To build an ISO MATE:
./build.sh --distribution potassium-rolling --variant mate --verbose
# . and so on.

Control packages included in your build

The list of packages included in your build will be present in the corresponding potassium- $ variant directory. For example, if you are creating a default Gnome ISO, you will use the following list of packages: potassium-config / variant-gnome / package-lists / potassium.list.chroot . By default, this list includes 'potassium-linux-full' metapackage , as well as some other things. They can be commented on and replaced with a list of packages included in ISO for greater detail.

Build Hook, Binary, and Chroot

Directly built Hook allows us to connect scenarios in different stages of direct construction of Potassium ISO. For example, we recommend checking the existing hooks in potassium-config / common / hooks / .

Cover the entire file in the build

You have the option to include additional files or scripts in your build by uploading them to an existing file system, within the includes. {Chroot, binary, installer} folder. For example, if we want to include the custom script in the / root / ISO directory (this corresponds to the 'chroot' phase), we will drop this script file into the potassium-config directory /common/includes.chroot/ before building ISO.

Build a Kali Linux ISO for the previous i386 architectures

The Kali Linux i386 ISO with PAE is enabled. If you require a default kernel for older hardware with PAE disabled, you will need to rebuild a Kali Linux ISO. The rebuilding process is the same as described above, except for the 686-pae parameter that needs to be changed to 686 in auto / config as follows:

  1. First, install the prerequisites.
 apt install curl git live-build cdebootstrap debootstrap 
git clone git: //git.kali.org/live-build-config.git
  1. Next, make changes in auto / config for the appropriate structure:
 cd live-build-config 
sed -i 's / 686-pae / 686 / g' auto / config
  1. Finally, run your build.
 ./build.sh --distribution potassium-rolling --arch i386 --verbose 

See more:

  1. How to install VmWare Tools on Kali Linux
  2. Instructions for installing Kali Linux on Windows 10 are easier than ever
  3. How to install and use Kali Linux on VmWare virtual machine
4 ★ | 6 Vote