PDA

View Full Version : Building a complete and offline installer ISO



keshkanti
2020-02-04, 05:18
Hey folks!
I want an ISO that can install all the packages that are prompted in the current installer image without any network connection. This means that all the DEs, metapackages including kali-linux-everything have to be included in the ISO itself. The default mirror for building the ISO and installer should be http://kali.download with kali-last-snapshot repo and not the rolling repo. even the installed Kai Linux must have the same mirror and repo in the sources.list. Please guide me in the process for what modifications, parameters or configurations are needed by the build script to generate such an installer image.

Basically, I intend to build such an ISO every time a new build will be released. The packages will be from the frozen snapshot which will ensure the stability.

sentaclaw
2020-03-23, 02:33
Hi,
https://cdimage.kali.org/kali-2020.1b/kali-linux-2020.1b-installer-amd64.iso
This image contains an offline installation option if you don't configure network. (Don't know if it downloads updated files if an internet connection is established, will find that out later)
After installation, edit /etc/apt/source.list and change
http://http.kali.org/kali kali-rolling main non-free contrib
to
http://http.kali.org/kali kali-last-snapshot main non-free contrib

You will see then that, the downloaded image, is quite the last-snapshot of Kali, so if you dont update Kali, you use the most stable version of Kali-Linux.(Others, pls correct me if I'm wrong!)

Otherwise you need to to create an custom Kali image which includes the right packages and edits the /etc/apt/source.list with the wished repository or, you write the image to an USB drive and change the part where installer appends the source.list with the chosen url (I actually don't know where this part is located). After that you need to write the full USB drive (with it's partitioning table, so you need every byte of the USB drive) to an iso file. It might be possible with
dd if=/dev/sdx of=/path/to/iso/file/isofile.iso bs=512K (Pls someone who knows how this works corrects me)

I'm a beginner but your problem looks for me to see it and solve it like I've written above.

Hope this helps.
Best regard,
sentaclaw.

Enabled
2020-04-13, 20:46
Receiving same message You will see then that, the downloaded image, is quite the last-snapshot of Kali, so if you dont update Kali, you use the most stable version of Kali-Linux.(Others, pls correct me if I'm wrong!)