Monday, December 22, 2014

bootup kali fro pxe

Bootup kali from pxe is almost like the way in bt5r3.

The difference lists below,

/tftpboot/pxelinux.cfg/default

TIMEOUT 100
DEFAULT kali
PROMPT 1
DISPLAY /isolinux.msg

LABEL kali
  KERNEL kali/install/vmlinuz
  APPEND initrd=kali/install/initrd.gz BOOT=install boot=install nopersistent rw quiet vga=0x317 netboot=nfs nfsroot=192.168.32.1:/tftpboot/kali

By the way, this time my experiment is working on vmware fusion to test this function, during the experiment, the vmware fusion is looking for ldlinux.c32 instead pxelinux.0, so my workaround is to copy a ldlinux.c32 to /tftpboot.
( In kali, ldlinux.c32 is in /usr/lib/syslinux/. )

Troubleshoot,
If the monitor compliant resolution out of range, try to change the vga option, for example vga=0x314.

Reference
http://linuxandfriends.com/vga-modes-used-linux/

No comments: