Results 1 to 17 of 17

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
    Join Date
    2013-Mar
    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
    Join Date
    2014-Apr
    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
    Join Date
    2014-Jun
    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
    Join Date
    2015-Aug
    Posts
    1
    Hello

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

  6. #6
    Join Date
    2014-Jun
    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
    Join Date
    2016-Feb
    Location
    Bangalore
    Posts
    114
    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
    ################################################

    |
    /vvvvvvvvvvvv \-------------------------------------------------------------------------,,
    |^^^^^^^^ /===================================--""

    ################################################
    ----------The quieter you become,The more you will able to hear-----------
    ################################################
    Venkatesh L Sharma https://twitter.com/1337in

  8. #8
    Join Date
    2016-Apr
    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

  9. #9
    Join Date
    2018-Jan
    Posts
    5

    Kali Linux Network PXE install

    Would there be any noticeable difference running a SanDisk Ultra 8gb SD Card SDHC SDXC Class 10 40MB/s as opposed to a SanDisk ULTRA UHS-I 8GB Class 10 48MB/s MicroSDXC for Kali Linux on the Rpi2 and is 8gb sufficient?

  10. #10
    When trying to download netboot.tar.gz from Kali docs, I get the error 403 Forbidden.

  11. #11
    Join Date
    2018-Mar
    Posts
    10
    The PXE install doesn't succeed :

    Code added to dnsmasq.conf:
    interface=eth0
    dhcp-range=192.168.101.100,192.168.101.200,12h
    dhcp-boot=pxelinux.0
    enable-tftp
    tftp-root=/tftpboot/
    dhcp-option=3,192.168.101.1
    dhcp-option=6,8.8.8.8,8.8.4.4
    service dnsmasq restart

    Error :
    kali dnsmasq[1877]: TFTP directory /tftpboot/ inaccessible: No such file or directory
    What's the problem?

    Regards.

    Hansie

  12. #12
    Join Date
    2018-Mar
    Posts
    10
    I found the solution.

    In the article https://docs.kali.org/installation/k...rk-pxe-install first "Download Kali PXE Netboot Images

    " then

    service dnsmasq restart
    Hansie

  13. #13
    Join Date
    2018-Mar
    Posts
    10

    Progress of Kali Linux Network PXE install

    Dear Member,
    Could the progress of a PXE install be indicated?

    About how long takes a PXE install?

    Regards.

    Hansie

  14. #14
    Join Date
    2020-Apr
    Posts
    8
    I did intstall rEFInd and Step 6. can be replaced with using GParted to create the partition instead (less room for error that way).
    Step 7. says to skip installing grub - which I did not find possible under 1.0.8, so I left the field blank and continued. In the end that worked fine.
    After the install -- and before a reboot -- I found that my / partition contained a boot directory. I copied the devices.map over to the 'kaliefi' partition created in Step 6. and modified the grub.cfg. Kodi Lucky Patcher nox

  15. #15
    Join Date
    2020-Apr
    Posts
    8
    I did intstall rEFInd and Step 6. can be replaced with using GParted to create the partition instead (less room for error that way).
    Step 7. says to skip installing grub - which I did not find possible under 1.0.8, so I left the field blank and continued. In the end that worked fine.
    After the install -- and before a reboot -- I found that my / partition contained a boot directory. I copied the devices.map over to the 'kaliefi' partition created in Step 6. and modified the grub.cfg.

  16. #16
    Join Date
    2020-Apr
    Posts
    8
    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.

  17. #17
    Join Date
    2020-Nov
    Posts
    1
    Good afternoon.

    Hi, I'm new to the forum and new to kali linux. I had some issues installing kali linux on my PC, but it was fixed. Now I have another problem I cannot install any application due to (unfulfilled dependencies). here the message from the terminal.


    The following packages have unmet dependencies:
    gsettings-desktop-schemas: Break: mutter (<3.31.4) but 3.30.2-4 will be installed
    libc6-dev: Break: libgcc-8-dev (<8.4.0-2 ~) but 8.2.0-14 will be installed
    E: Error, pkgProblemResolver :: Resolve generated outages, this may be due to held packages.

Similar Threads

  1. Kali linux install and network problem
    By hank1234 in forum Installing Archive
    Replies: 2
    Last Post: 2023-04-07, 07:59
  2. Kali Linux 2017.2 network install pxe tftp
    By divramod in forum Installing Archive
    Replies: 0
    Last Post: 2017-05-10, 09:05
  3. Kali Linux OS Network Install Issue
    By McTaveesh in forum Installing Archive
    Replies: 1
    Last Post: 2015-09-15, 13:09
  4. Replies: 0
    Last Post: 2014-05-02, 09:04

Posting Permissions

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