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.
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.
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.
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.
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 / .
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.
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:
apt install curl git live-build cdebootstrap debootstrap
git clone git: //git.kali.org/live-build-config.git
cd live-build-config
sed -i 's / 686-pae / 686 / g' auto / config
./build.sh --distribution potassium-rolling --arch i386 --verbose
See more: