Results 1 to 2 of 2

Thread: PXE - Kali & Debian netboot

  1. #1
    Join Date
    2014-Nov
    Posts
    2

    Question PXE - Kali & Debian netboot

    Hello,
    I have a pxe server that currently hosts the debian netboot. I downloaded and setup the kali netboot and it is essentially identical to the debian netboot setup. My problem right now is how to get both of them to work together.
    Here's what I have done so far.
    the kali netboot and debian netboot both extract into a debian-installer folder with the same file names. My solution was to rename the Kali's folder to kali-installer instead.
    in my /srv/tftp/ i've setup the following folder structure
    Code:
    debian-installer/amd64/<all the debian stuff>
    kali-installer/amd64/<all the kali stuff>
    pxelinux.0
    pxelinux.cfg/default
    ldlinux.c32
    libutil.c32
    vesamenu.c32
    libcom32.c32
    I've modified the pxelinux.cfg/default as follows
    Code:
    DEFAULT vesamenu.c32
    prompt 0
    timeout 300
    MENU TITLE PXE Menu
    label Debian
    	menu label Debian install
    	kernel debian-installer/amd64/linux
    	append priority=low vga=788 initrd=debian-installer/amd64/initrd.gz ---
    
    label Kali
    	menu label Kali install
    	kernel kali-installer/amd64/linux
    	append priority=low vga=788 initrd=kali-installer/amd64/initrd.gz ---
    The debian boot work's just fine. The problem is kali.

    When I select Kali install, it sits for a little bit and then ends up launching the debian installer instead. I have a feeling that because the folder structure of both debian and kali netboot images are identical, my renaming kali's installer folder, kali's kernel and initrd are just using the files under debian-installer/

    Unfortunately, my knowledge in this area is limited and I would appreciate some help in modifying, i'm assuming the initrd file, to have its internal links point to kali-installer instead of debian-installer.

    Thanks

  2. #2
    Join Date
    2014-Nov
    Posts
    2
    Turns out that I actually did have everything done correctly. The only thing I didn't do properly was copying the files lol. I must have accidentally copied the debian-installer and then renamed it to kali.
    I ended up simply deleting all the contents of the /srv/tftp folder and starting again and this time all the above steps worked.

Similar Threads

  1. Replies: 1
    Last Post: 2013-12-30, 04:35

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
  •