Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 50

Thread: Live Build a Custom Kali ISO

  1. #21
    Junior Member
    Join Date
    May 2013
    Posts
    20
    So after I run all of the the lb build what directory is the ISO in?

  2. #22
    Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Quote Originally Posted by no1453 View Post
    I've been attempting to build a non-PAE i386 image, using a virtual machine running a fresh kali-1.0.6 install, amd 64. I've also tried building with the virtual machine being 32 bit.
    I was just hoping that someone else has gotten this error and could point me in the right direction.
    I had no problems (except due to my own stupity & clumsiness) building several non-PAE isos (mate,lxde,xfce & kde as described on this site) on stock 686 1.0.7 inside VirtualBox. Host is CentOS 6.5, 64 bit.

    # lb build -v
    [2014-08-02 19:36:42] lb build -v
    3.0.5-1

    # uname -a
    Linux kali 3.14-kali1-686-pae #1 SMP Debian 3.14.5-1kali1 (2014-06-07) i686 GNU/Linux

    Perhaps that was one of the bugs that got fixed?

  3. #23
    Junior Member
    Join Date
    Jan 2014
    Posts
    8
    Normally one would do the "git clone" into a directory, and run all the lb commands from in there. It should be in there in the top level.

    Or do "find / -iregex ".*\.iso$". It'll turn up somewhere, assuming it didn't fail.

  4. #24
    Junior Member
    Join Date
    Sep 2014
    Posts
    1
    Dear Kali Linux users and Kali Linux support...

    I Try so much times rebuild iso image to I486 hardware architecture but i have an errors such as in this tread...
    no free space,
    or failed to run command '/user/bin/env': No such file or directory


    Every time when i try build iso image i have fail

    I use live 32bit kali linux 1.0.9

    I have one important question to @kalisupport : Why the hell you have compiled version i386, i686 and amd64 but not for i486 on your download page??

    How I can download i486 kali linux? Where?
    I'm tired and i have no idea how to rebuild the iso file because every times i have fail. I use tutorials from your site: http://docs.kali.org/downloading/liv...ustom-kali-iso
    but it no help for me:
    apt-get install git live-build cdebootstrap kali-archive-keyring
    git clone git://git.kali.org/live-build-config.git
    cd live-build-config
    sed -i 's/686-pae/486/g' auto/config
    lb clean
    lb config --architecture i386
    lb build
    Any ideas?

  5. #25
    Junior Member
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1
    Just want to mention that building a full 32bit non PAE iso consumes up to nearly 20GB of disk during the build so if you plan on using Kali on a thumb drive as a build OS make sure you use a big one!

    I tried building with Kali on a 16GB thumb drive using a partition on the Gentoo host box to build in. It worked fine until 'lb build' at which point it bailed with..

    'chroot: failed to run command '/user/bin/env': No such file or directory'

    I fiddled about with symlinks etc. for a while with no success and ended up having to use a bigger thumb drive. Never having worked with Live Build before I have no idea if this is usual behavior or whether there is a work around! Couldn't find anything much on the net about it although it seems a few people have had the same problem however their build circumstance was not clear so nought to be gleaned. Does anyone know anything about this?

    Thanks Very Much for any info or enlightenment on this matter!

  6. #26
    Junior Member
    Join Date
    Feb 2015
    Posts
    1
    Need help.

    I have a computer with only 4 GBytes HDD and I need only the tools for Wi-Fi. Also I don't need the graphics environment. So I've made my own Custom ISO with this 'kali.list.chroot' file:

    ----- begin kali.list.chroot ------
    # kali meta-package depends on everything we want
    kali-linux-wireless
    kali-root-login
    kali-defaults
    kali-menu
    kali-debtags
    kali-archive-keyring
    debian-installer-launcher
    alsa-tools
    cryptsetup
    file-roller

    # provide l10n for everybody
    locales-all
    console-setup
    kbd
    console-data
    console-common

    #if ARCHITECTURES armel armhf
    cgpt
    vboot-utils
    vboot-kernel-utils
    #endif

    #if ARCHITECTURES i386 amd64
    firmware-b43legacy-installer
    firmware-b43-installer
    guymager
    #endif

    # Extra Firmware
    zd1211-firmware
    firmware-ralink
    firmware-realtek
    firmware-iwlwifi
    firmware-intelwimax
    firmware-ipw2x00
    firmware-atheros
    firmware-bnx2
    firmware-libertas
    bluez-firmware
    firmware-brcm80211

    # Graphical desktops depending on the architecture
    #
    # You can replace all the remaining lines with a list of the
    # packages required to install your preferred graphical desktop
    # or you can just comment everything except the package of your
    # preferred desktop.

    #if ARCHITECTURES i386 amd64
    # *** GNOME DESKTOP ***
    #gnome-core
    #gnome-brave-icon-theme
    #gnome-shell-extensions
    #nautilus-open-terminal
    #gnome-orca
    #endif

    #if ARCHITECTURES armel armhf
    # *** XFCE DESKTOP ***
    #xfce4
    #network-manager-gnome
    #network-manager
    #endif

    # *** KDE DESKTOP ***
    # kde-plasma-desktop
    # kdm

    # *** LXDE DESKTOP ***
    # lxde

    # *** Enlightenment DR17 DESKTOP ***
    # e17

    # *** MATE DESKTOP
    # | NOTE: The mate desktop requires other changes to the live config.
    # | See http://docs.kali.org/live-build/cust...op-environment
    # | for details
    # xorg
    # mate-archive-keyring
    # mate-core
    # mate-desktop-environment
    ----- end kali.list.chroot ------

    The ISO is compiling OK but is not working properly. When I start the installation from this ISO I'm getting the message:

    ----- begin message ------
    No kernel modules were found. This is probably due to a mismatch between the kernel used by this version of the installer and the kernel version available in the archive.
    ...
    Continue the install without loading kernel modules?
    ----- begin message ------

    The ISO also can't be run in the live mode. It gets stuck during the load after the message
    root@kali:~# [ 5.950757] pcnet32 0000:02:01.0 eth0: link up

    What I'm doing wrong? How to add kernel modules to the ISO to achieve the proper installation process?

  7. #27
    Junior Member
    Join Date
    Feb 2015
    Location
    Bolivia
    Posts
    1
    Hello,
    I got an Intel Atom N455 netbook [1GB RAM, 16GB SSD] and wanted to install Kali.
    As thomas86, I followed th steps of the page http://docs.kali.org/downloading/liv...ustom-kali-iso:
    apt-get install git live-build cdebootstrap kali-archive-keyring
    git clone git://git.kali.org/live-build-config.git
    cd live-build-config
    sed -i 's/686-pae/486/g' auto/config
    lb clean
    lb config --architecture i386
    lb build
    I got live-image-i386.hybrid.iso.
    So, tried to install to my netbook:

    kali486.jpg

    The live mode is fine, but when I tried to install it with the "Install" and "Graphical install" options of the menu... nothing happened.

    kali486-2.jpg

    So, tried to install from live sesion, but got this:

    kali486-3.jpgkali486-3.jpg

    That message says:
    Live system kernel and installer kernel don't match
    The installer can only be used if the kernel version of live system (3.18.0-kali1-586) and of the installer (3.18.0-kali1-686-pae) are the same.
    I don't want the pae kernel.
    So. How can I solve this mismatch trouble? or how can I change the Installer kernel and not just the live system kernel?.
    Last edited by Rusok; 2015-02-12 at 05:40 PM.

  8. #28
    Junior Member
    Join Date
    Mar 2015
    Posts
    2
    Should be an easy question. When building a custom ISO does the creation include all packages that have been installed by the host os. I have spent a week setting up my kali os on my laptop and would like to create an ISO with all the additional customizations and package installs(like conky, fingerprint scanner etc). That way if I fubar my OS and i thought i have a few times already, I can quickly just reinstall. Im not dual booting and this is the only OS on the HD.
    Thanks for the help!

  9. #29
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    for some reason, when i run lb config, it doesn't generate a kali.list.chroot file, everything else that i know of gets generated. i've done this before a ton of times with no issues but then i had issues with my hard drive so i had to reinstall windows which kali is running in virtualbox so i had to reinstall that as well and every since i reinstalled it, i've had issues. any help would be great! thanks in advance! i've tried searching the net for a while looking for answers with no luck

  10. #30
    Junior Member
    Join Date
    Jun 2015
    Posts
    5
    Quote Originally Posted by hotshot247 View Post
    for some reason, when i run lb config, it doesn't generate a kali.list.chroot file, everything else that i know of gets generated. i've done this before a ton of times with no issues but then i had issues with my hard drive so i had to reinstall windows which kali is running in virtualbox so i had to reinstall that as well and every since i reinstalled it, i've had issues. any help would be great! thanks in advance! i've tried searching the net for a while looking for answers with no luck
    I'm having this same problem!!!! (also I am using virtualbox... so i considered this might be related, except that I got this to work in virtualbox last week)
    git clone git://git.kali.org/live-build-config.git...... lb config...... and no kali.list.chroot. Also I have tried copying a previous version of the file straight from the git... and lb build would whirr for a long while then quit without dropping an iso.

    you are not alone brother, if you find a solution please post it!!! i am really getting behind due to this annoyance.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •