{"id":1152,"date":"2013-03-27T21:02:55","date_gmt":"2013-03-27T19:02:55","guid":{"rendered":"http:\/\/www.ccpeine.de\/?p=1152"},"modified":"2019-01-13T15:23:49","modified_gmt":"2019-01-13T14:23:49","slug":"how-to-build-kali-linux-32-bit-with-lxde-and-german-language","status":"publish","type":"post","link":"https:\/\/www.ccpeine.de\/?p=1152","title":{"rendered":"How to build Kali-Linux with German environment + 32-bit + LXDE"},"content":{"rendered":"<p>This is, how to build kali\/i386 with preconfigured German language and keyboard layout. I made it 32-bit, as it is aimed for running on smaller computers like my EEEPC 1005HGO. There is also several and useful software added, which are not in kali by default. These are based of my special needs and, on the other hand, also a great improvement for the general use. For example a browser or skype for communications.<br \/>\nNote: This description will be updated from time to time. So stay tuned.<\/p>\n<p><!--more--><\/p>\n<h3><strong>Last Update: 2014-08-20<\/strong><\/h3>\n<p><strong><span style=\"color: #ff0000;\">NEWS:<\/span> KALI 1.0.8 is out! It has now UEFI-Support, so now it can boot EFI-images, got bugs fixed, which were described here some time ago and got also added new aplications (i.e. Iceweasel).\u00a0 <\/strong><\/p>\n<p><span style=\"color: #ff0000;\"><strong><span style=\"text-decoration: underline;\">Important:<\/span> Please note, that in the boot menu &#8222;EFI Boot Menu&#8220;\u00a0 only appears, when there is an EFI-BIOS existent!\u00a0Otherwise it appears only as &#8222;Boot Menu&#8220;.<\/strong><\/span><\/p>\n<p><strong>First of all, take a look at kali site for documentation and how to build for different windowmanagers. Here we chose LXDE and commented out Gnome.<br \/>\n<\/strong><\/p>\n<h3><span style=\"text-decoration: underline;\">Prerequisits:\u00a0<\/span><\/h3>\n<p>After the last repo change, you cannot use the live-build of your linux system. Instead you <strong>MUST<\/strong> use the live-build in kali-linux itself. To do so, download a kali live image the kali website according to the hardware on which you want to build your kali image.<\/p>\n<p>You have to create a bootable live-cd and boot from it. Connect the running kali with the internet. Once this is done, install the packages &#8222;live-build&#8220; and &#8222;apt-cacher-ng&#8220; by using apt or aptitude. I suppose, you are experienced with these tools. In the next step, mount the partition on which you want to build kali to a mountpoint. In this example I suggest to use<strong> \/mnt<\/strong> as mountpoint. <strong>You have to use a new live-build environment due to the massiv changes in latest version 1.0.8<\/strong>. So go into \/mnt and enter the following command:<\/p>\n<p><strong>git clone\u00a0git:\/\/git.kali.org\/live-build-config.git<\/strong><\/p>\n<p>The live-build directory and its structure will now be created.<\/p>\n<p>You are now ready to follow the steps below.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Package and Configurations<\/strong><\/span><\/p>\n<p>1. Thank the KALI-team for your great work!<\/p>\n<p>2. Create a new file &#8222;~\/live-build-config\/config\/package-lists\/<strong>mylist.chroot.list<\/strong>&#8220; and put here all the additional packages you want to have. You may download mine, which you can get <a title=\"mylist.list.chroot\" href=\"http:\/\/www.ccpeine.de\/downloads\/mylist.list.chroot\">here<\/a>.<\/p>\n<p>&#8211; I suggest to add a fine browser. Iceweasel is now added by default in kali but I suggest to add<strong> iceweasel-l10n-de <\/strong>so it is in<strong> German<br \/>\n<\/strong><\/p>\n<p>&#8211; An e-mail application will be nice, too? Add <strong>icedove<\/strong> and<strong> icedove-l10n-de <\/strong>(for smaller systems like netbooks or older notebooks you might prefer <strong>claws-mail<\/strong>, <strong>claws-mail-plugins<\/strong> and <strong>claws-mail-plugins-extra<\/strong> instead)<\/p>\n<p>&#8211; if you are not happy with network-manager, you can add<strong> wicd-gtk<\/strong><\/p>\n<p><strong>&#8211;<\/strong> I personally miss<strong> lynx, bluewho, mc, <\/strong>and as my hardware is mostly by Nvidia, I add<strong>\u00a0 nvidia-glx, nvidia-kernel-dkms<\/strong> and<strong> libgl1-nvidia-glx<\/strong><\/p>\n<p>&#8211; If you MUST use Oracle java, create a debian package with the &#8222;<strong>make-jpkg<\/strong>&#8220; script (from a Debian or Ubuntu system). <strong>ATTENTION: You cannot build this in Debian\/jessie, you have to build in debian\/wheezy or better, in kali itself. I suggest to do this way:<\/strong><\/p>\n<p>&#8211; download kali livefile system, and boot it (as already described above)<\/p>\n<p>&#8211; mount the partition where live-build resides and download the jre-**.tgz there.<\/p>\n<p>&#8211; \u00a0now build it with &#8218;fakeroot make-jpkg jre-**.tgz&#8216;<\/p>\n<p>&#8211; put the newly build &#8218;oracle-***.deb&#8216; into the required place.<\/p>\n<p>Any prebuilt packages (whatever-bla.deb), which are not available\/downloadable from the kali- or debian-repository, has to be put into your &#8222;~\/live-build-config\/config\/<strong>packages.chroot<\/strong>\/&#8220;-folder.<\/p>\n<p><strong>Take care, they are named to debian standard name conditions!<\/strong><\/p>\n<p>For example, I entered the packages for &#8222;<strong>jnetmap-*<\/strong>&#8220; and &#8222;<strong>oracle- java-<\/strong>*&#8220; into this folder. To rename the <strong>&#8222;jNetmap-latest.deb<\/strong>&#8222;-Package into debian-style, use the command &#8222;<strong>dpkg-name jNetmap-latest.deb<\/strong>&#8220; and put the new package into the mentioned folder. If you are lazy, you can download latest jnetmap from <a title=\"jnetmap_0.5.4_all.deb\" href=\"http:\/\/www.ccpeine.de\/downloads\/jnetmap_0.5.4_all.deb\">here<\/a>.<\/p>\n<p>&#8211; I missed Skype!<strong> Downloading the Debian\/Ubuntu package from skype&#8217;s site and put it into the folder, where I already put jnetmap (see above) requires pulseaudio.<\/strong> So add <strong>pulseaudio<\/strong> in the <strong>mylist.conf<\/strong>.\u00a0 <span style=\"color: #ff0000;\"><strong>If you want to run skype without pulseaudio, you need to download my patched version<\/strong><\/span>. It is 4.2.0.11 but shows as 4.3.0.37. Download it <a title=\"skype-debian-4.2.0.11-2_i386.deb\" href=\"http:\/\/www.ccpeine.de\/downloads\/skype-debian-4.2.0.11-2_i386.deb\">here<\/a>.<\/p>\n<p>&#8211; Woah, I missed <strong>etherape<\/strong>, so I added this, too (02. apr. 2014)<\/p>\n<p>When you are finished with all prerequisits (adding packages, building and renaming packages, copying everything to the right place), you are ready for the fun part: Downloading and building.<\/p>\n<h3><span style=\"text-decoration: underline;\"><strong>Building<\/strong><\/span><\/h3>\n<p>For English environment you go into your ~\/live-build-config directory and run the following command to have a clear build environment:<\/p>\n<p>lb clean &#8211;purge &amp;&amp; lb config &#8211;architecture i386 &amp;&amp; lb build<\/p>\n<p>For <strong>German keyboard and environment <\/strong>you have to run this command:<strong><br \/>\n<\/strong><\/p>\n<p>lb clean &#8211;purge &amp;&amp; lb config &#8211;architecture i386 &#8211;bootappend-live &#8222;boot=live noconfig=sudo username=root hostname=kali ignore_uuid locales=de_DE.UTF-8 keyboard-layouts=de keyboard-variants=nodeadkeys&#8220; &amp;&amp; lb build<\/p>\n<p>I made a script for these, which makes things easier. You can download it <a title=\"eeepc-build.sh\" href=\"http:\/\/www.ccpeine.de\/downloads\/eeepc-build.sh\">here.<\/a><\/p>\n<p>This will download, unpack, install and create the ISO-image for you. The file will be named <strong>binary.hybrid.iso<\/strong>. If anything goes wrong, check the file <strong>binary.log. <\/strong>Feel free, to contact me at &#8222;<strong>kontakt (at) ullrich-it.de<\/strong>&#8220; if you have questions.<\/p>\n<p><strong>And as said above: This documentation will be improved from time to time. So stay tuned!<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>Hints: You can add the command<\/p>\n<p><strong>&amp;&amp; wodim binary.hybrid.iso<\/strong><\/p>\n<p>to the command and put an empty DVD in your burner. This will automatically burn the resulting ISO. If you are building regularly, you will see, that <strong>apt-cacher-ng <\/strong>avoids you to download all the packages again and again.<\/p>\n<p>Good luck folks! Have joy!<\/p>\n<p>Best regards<\/p>\n<p>Hans-J. Ullrich (Ullrich-IT-Consult, admin<strong>)<\/strong><\/p>\n<p><strong>Warning: Kali-Linux is software, which is defined by \u00a7202 STGB and \u00a7203 STGB (German &#8222;Hackerparagraphs&#8220;). So do not misuse this software! Otherwise you could be prosecuted.<br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is, how to build kali\/i386 with preconfigured German language and keyboard layout. I made it 32-bit, as it is aimed for running on smaller computers like my EEEPC 1005HGO. There is also several and useful software added, which are not in kali by default. These are based of my special needs and, on the [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1152","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=\/wp\/v2\/posts\/1152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1152"}],"version-history":[{"count":0,"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=\/wp\/v2\/posts\/1152\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ccpeine.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}