Instructions for installing Kali Linux via Network PXE
Starting and installing Potassium over the Internet (PXE) can be useful from installing a single laptop without a CD-ROM or USB port until deploying a business that supports Kali installation.
Starting and installing Potassium over the Internet (PXE) can be useful from installing a single laptop without a CD-ROM or USB port until deploying a business that supports Kali installation.
PXE Server setup
First, we need to install dnsmasq to provide DHCP / TFTP server and then edit the dnsmasq.conf file.
apt-get install dnsmasq
nano /etc/dnsmasq.conf
In dnsmasq.conf, enable DHCP, TFTP and PXE startup, as well as set dhcp scope to suit your environment. If necessary, you can also define your port and DNS server by indicating the dhcp-option as shown below:
interface = eth0
dhcp-range = 192.168.101.100,192.168.101.200.12h
dhcp-boot = pxelinux.0
enable-tftp
tftp-root = / tftpboot /
dhcp-option = 3.192.168.101.1
dhcp-option = 6.8.8.8.8.8.8.4.4
With on-site edits, the dnsmasq service needs to be restarted for the changes to take effect.
restart dnsmasq service
Download Kali PXE Netboot Image
Now, we need to create a folder to store Kali Netboot Image and download the image we want from the Kali repo.
mkdir -p / tftpboot
cd / tftpboot
# for 64 bit systems:
wget http://repo.kali.org/kali/dists/kali-rolling/main/installer-amd64/current/images/netboot/netboot.tar.gz
# for 32 bit systems:
wget http://repo.kali.org/kali/dists/kali-rolling/main/installer-i386/current/images/netboot/netboot.tar.gz
tar zxpf netboot.tar.gz
rm netboot.tar.gz
Configure the target to boot from the network
Everything has been configured, now you can boot the target system and configure it to boot from the network. It will get the IP address from the PXE server and start Kali.
See more:
- How to create customized Potassium ISO
- How to install Kali Linux on your computer
- How to install Kali Linux dual boot Windows
You should read it
- How to install Kali Linux on your computer
- Things you need to know about Kali Linux Image
- How to install Kali Linux on macOS
- How to create customized Potassium ISO
- Instructions for installing Kali Linux on Windows 10 are easier than ever
- How to install Kali Linux reduced version
- How to install NVIDIA drivers on Kali Linux
- How to install Kali Linux dual boot on macOS
- How to install Kali Linux dual boot Windows
- How to install VirtualBox Guest Additions on Kali Linux
- How to update Kali Linux and fix errors when updating
- Learn Forensics Mode in Kali Linux
Maybe you are interested
Warning: New research has identified the corona virus to remain on the mask for more than a week 4 simple ways to open the lid of food cans when there is no opener 9 'unwritten' principles of Warren Buffett '4-7-8' method helps you quickly get a good night's sleep as a child 8 incredible facts about foods around us Why should you practice yoga today?