Kali Linux Live over HTTP
As We know there is amazing feature comes with Kali Linux is live boot, It means we can boot Kali Linux via USB or DVDs, It is not necessary to install Kali Linux on hard disk. Offensive Security added a feature on Kali Linux is booting Kali Linux over HTTP, It means you dont need USB, DVDs, Hard disk to run Kali Linux anymore, you just boot Kali Linux live by LAN adapter over HTTP and RAM.
Booting Kali Linux Over HTTP – OverView
The fundamental reason includes using the Kali Live kernel and initrd for booting, while calling the Kali root filesystem through a HTTP URI. The beginning boot methodology can happen over the system (through PXE) or a minimal USB/CD – while the remote root filesystem is a squashfs image accessed over HTTP via an Apache server.
Requirements To Boot Kali Linux Over HTTP
1.) Installed PXE Boot Server
2.) Kali Linux released ISO
In this sample, we’ll have the initial kernal boot through PXE and we will get the kernel, initrd, and squashfs filesystem we requirement for this activity from a full Kali Linux 1.1.x ISO from inside the “live” directory. We copy the initrd and kernel into the TFTP root folder, while the squashfs filesystem copy into the web root. Follow the given commands and
mkdir /mnt/iso
mount -o loop /root/Desktop/kali-linux-1.1.0a-amd64.iso /mnt/iso/
cp /mnt/iso/live/{initrd.img,vmlinuz} /tftpboot/
cp /mnt/iso/live/filesystem.squashfs /var/www/
apachectl start
In this case, we’ll get the kernel, initrd, and squashfs filesystem from a full Kali Linux 1.1.x ISO (in the “live” direcotry) and afterward continue to boot the kernel and initrd over PXE. When the boot screen shows up, we press the “Esc” button and enter the some boot parameter as shown in video
vmlinuz vga=788 initrd=initrd.img append boot=live components fetch=http://192.168.101.1/filesystem.squashfs
Video Tutorial:
[sociallocker id=2182]
[/sociallocker]