Results 1 to 8 of 8

Thread: Kali Linux Network PXE install

  1. #1

    Kali Linux Network PXE install

    Booting and installing Kali over the network (PXE) can be useful from a single laptop install with no CDROM or USB ports, to enterprise deployments supporting preseeding of the Kali installation.

    To read the full document, check our Installing Kali Linux over Network PXE article.


    If you have any issues with this procedure, please post them in this thread.

  2. #2
    Junior Member
    Join Date
    Mar 2013
    Posts
    1

    Error booting from network: PXE-E53: No Boot Filename Received

    Tried to install booting over network (PXE) as described to the article. Couldn't find a way to avoid message:

    PXE-E53: No Boot Filename Received

    Is there anyone that tried this method and made it work?

    Thank you.

  3. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    1
    I've been trying (and failing) to use cobbler to install Kali 1.0.6 for the past few days. This is my first attempt at PXE booting debian and I had no idea that it would be so much more involved than RHEL, the system works great for booting CentOS.

    So far I've gotten to the point where it boots to the installer, but then it stops at a Bad Archive Mirror message. I had imported the full iso into cobbler and replaced the /install/initrd.gz and linux files with ones provided by netboot to the article.

    Through the preseed file I setup in cobbler, I've attempted to direct the install to use the cobbler http hosted image to install from but it just doesn't want to work. When the bad archive error message appears you have the option of selecting the archive to use, I try pointing it at the cobbler hosted URL for /dists/kali/ (I tried stable as well) but the installer complains that the Release file is not valid. I double checked to make sure that the URL I specify for the archive is accessible and the Release file is there.

    Does anyone have any ideas what might solve the Debian archive issue for me? Does it need to point to a full Debian mirror? These hosts are not internet facing so they can't just reach out to the official repos but I can get a local mirror if that's what it takes.

    A couple of other things:
    1) Does anyone know the proper kernel options to provide so that this doesn't ask for a keyboard layout on install? We want this to be a completely unattended process. I've tried adding the following but it still asks me, I feel like everything I find on the internet might be outdated so these options aren't working properly for me:
    keyboard-configuration/modelcode=SKIP keyboard-configuration/layout="English (US)" keyboard-configuration/variant="English (US)"

    2) Examples or guidance for a preseed file to use with PXE booting kali would be awesome, I'm sure some of my frustrations are rooted in something wrong in there.

    Thanks for any help!

  4. #4
    Junior Member
    Join Date
    Jun 2014
    Posts
    2

    Network Install Kali (PXE) with Serva

    Read here how to Network Install Kali (PXE) with Serva
    http://www.vercot.com/~serva/an/NonWindowsPXE3.html
    it really works and I didn't have to touch my DHCP server.

  5. #5
    Junior Member
    Join Date
    Aug 2015
    Posts
    1
    Hello

    Does someone have the netboot image for Kali 2.0 ? still the old version on the article :<

  6. #6
    Junior Member
    Join Date
    Jun 2014
    Posts
    2
    Serva now PXE boots Kalix from v1.1.0a to v2016.1
    http://www.vercot.com/~serva/an/NonWindowsPXE3.html
    it uses the regular Kali distribution ISOs and a tiny additional initrd that fixes the PXE stuff. It works.

  7. #7
    Senior Member
    Join Date
    Feb 2016
    Location
    California
    Posts
    112
    In a PXE environment the PXE client minimally must receive:
    1. IP address
    2. TFTP server IP address
    3. Boot filename
    This info is sometimes provided by a single DHCP server (which is PXE enabled) or
    by a regular DHCP server (non PXE enabled) providing only IPs and a complementary proxyDHCP server
    only providing the rest of the PXE related parameters.

    In your case it looks like (despite which method you are using)
    the Boot filename info is missing from the DHCP/proxyDHCP offer.

    You can easily check this by running a Wireshark capture at your DHCP/proxyDHCP server
    and see if the DHCPOFFER contains the Boot filename info or not. or looks like a typical DHCP/proxyDHCP miss-configuration
    ------------------Contact: Skype : Gh0sT.sh ( 0 -->Zero )-------------------
    |
    /vvvvvvvvvvvv \-------------------------------------------------------------------------,,
    |^^^^^^^^ /===================================--""
    ################################################
    ----------The quieter you become,The more you will able to hear-----------
    ################################################

  8. #8
    Junior Member
    Join Date
    Apr 2016
    Posts
    4
    Following the provided instructions provided from the link

    http://docs.kali.org/installation/ka...rk-pxe-install

    and I reach point were I type "service dnsmasq restart" in Terminal.


    I am followed by the response:

    "Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details."

    Where are my errors? I can provide the dnsmasq.conf file and any other information needed to resolve this issue and help me continue the Network PXE install

Posting Permissions

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