View Issue Details

IDProjectCategoryView StatusLast Update
0004257Kali LinuxKali Package Improvementpublic2017-09-21 13:13
Reportervanguard Assigned Torhertzog  
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Product Version2017.1 
Summary0004257: My very personal kali-live building improvements
Description

Hi folks,

I would like to offer my very personal kali-live building improvements. If you find them not useful, just delete the file here and close this report.

Steps To Reproduce

Kali-Live build

  1. This script helps you to build kali-live for different environments from a kali live system.

NOTE: These scripts are made for my personal environment. Why that? Well, as I am building on different computers,
and need a kali environment for build, but do not want to install kali on the hard drive, I decided to
use a kali-live. To ease things up, I created some scripts, so I do not need to enter the whole commands again and again.
Additionally I want to have a German environment (as I am German) and I wanted to have packages missing in kali.
See my added "mylist.list.chroot", what I have added. Furthermore I prefer LXDE (as it is running fastest on my "slow"
EEEPC 1005HGO) which is 32-bit. I am building on a TB drive, which I mount to "/mnt" and my live-build-config is put on
kali-linux/i386/ so the full path is (as you see in the scripts) "/mnt/kali-linux/i386/live-build-config/". Keep that in mint, when checking the configfiles and scripts I sent with.
In this packed file are also several debian packages (some are not in the repo like umtsmon or eeepc-acpi-scripts, and some are from external sites) I added to the chroot. They are all GPL, but you can check licenses before installing, yourself.
The build in this configuration will be about 3540 GB big, so it fits on a FAT formatted USB-stick. NOTE: Multibootloaders like
XBOOT or YUMI need FAT formatted sticks. Thus I could not install everything I wanted (openvas is missing and veil-catapult, too).
Also metapackage "forensics-full" is missing. Each one would increase the image at about 980MB, so adding all this will increase
the resulting ISO to 6,4GB (nice, when you want just use a single boot USB-stick or a double-layer DVD).

Description how it is recommended to handle as example for 32-bit, German environment and LXDE as window-manager.

Prerequesets:
NOTE: You will need to have a ext2-filesystem (or higher) and you will need at least 25GB free space.

  • Boot kali live system for your build, if you have none, download any latest version from www.kali.org.
  • Mount your harddrive, where your live-build resides to your mountpath in kali-live (mine is /mnt)
  • create the first live-build environment (if you do not have one) like it is described on www.kali.org
  • copy "uit-update.sh" and "uit-build.sh" to your ~/live-build-config/
  • now execute "lb config", which will create the configfiles for your live-build-environment
  • copy "mylist.list.chroot" into ~/live-build-config/package-list/ and edit it to your needs.
  • copy all packages from "packages.chroot/*" into ~/live-build-config/packages.chroot/
  • copy "acng.conf" into your ~/live-build-config/ and edit it, that it points to your future local repo

Once you have done it, check the following:

  1. Checck ./uit-update.sh
    This script is dating your runninmg kali-live up and upgrades or installs all necessary packages for the build.
    You have to make sure, that the paths especially in "acng.conf" are set correctly!

  2. Check ./uit-build.sh
    This script does the actual build. It shall be explained for itself, however, you have to make sure, to set all your
    variables correctly. Note, that ./uit-update.sh and ./uit-build.sh are dependent. Later I might merge these two scripts,
    but today I am happy with these two ones as they give me the most flexibility at the moment.

Once you have vedrified all variables, first execute ./uit-update.sh. This will update your running kali-live and installing and updating all necessary packages.

(Hint: After building your first image, use that for your next build. Makes things much easier!)

Now execute ./uit-build.sh and lean back - everything is done automatically.

Good luck and happy hunting!

Best

Hans-J. Ullrich

Additional Information

This is my very personal change and improvement. If you do not like them, just delete it and close this report.

For any questions, feel free to ask me, i.e. why I have added this special package or why I added this tool or what you do like or not, whatever.

As I said: It is my personal environment, and for me it is working great since years, but note: It is still in development, so things may still look ugly. You are allowed, to improve it. :)

Attached Files
acng.conf (23,487 bytes)
xaa (2,000,000 bytes)

Activities

vanguard

vanguard

2017-09-20 10:37

reporter   ~0007374

Packages follow!

vanguard

vanguard

2017-09-20 10:49

reporter   ~0007375

Sorry guys, cannot upload the whole files, as this system only allows 2MB/file. My fullpacked package is about 45MB big, so I need to look for another solution.
If maybe some maintainer might want to take a look, I can send him directly. The other idea is to use a download link, like pastebin or similar. Thus, of course, means, that you have to trust me (what does it not make easier).

I will add a download link in short time, please be patient.

vanguard

vanguard

2017-09-20 11:01

reporter   ~0007376

As promised, here is the download link for my files. If you do not trust them, feel free, top ask me for direct sendings.

https://transfer.pcloud.com/download.html?code=5Z8hg77ZsnPXRqdn0AuZOacRZ170TlD4PeIjh6iso6mEsxpRPMOeV

Happy hacking!

Hans

rhertzog

rhertzog

2017-09-21 13:13

administrator   ~0007386

I'm sorry but as you say this is "personal" and has little value to be shared by us. Feel free to post your stuff and explanations in a blog but this bug tracker is not meant for this. Thank you.

Issue History

Date Modified Username Field Change
2017-09-20 10:36 vanguard New Issue
2017-09-20 10:36 vanguard File Added: acng.conf
2017-09-20 10:37 vanguard Note Added: 0007374
2017-09-20 10:42 vanguard File Added: xaa
2017-09-20 10:49 vanguard Note Added: 0007375
2017-09-20 11:01 vanguard Note Added: 0007376
2017-09-21 13:13 rhertzog Assigned To => rhertzog
2017-09-21 13:13 rhertzog Status new => closed
2017-09-21 13:13 rhertzog Resolution open => fixed
2017-09-21 13:13 rhertzog Note Added: 0007386