A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

November 17, 2015

Need assistance with PXE boot kernel panic

Hello everyone,

I'm looking for some help setting up a PXE boot server. I've got most of it down - I have a TFTP server that hands out the kernel and initrd images, but I can't seem to figure out how to add a rootfs image to the mix - I get a kernel panic. I posted on serverfault, and I was told that my kernel/initrd/rootfs images probably don't match up. How do I make sure that these three images are compatible with one another? I build the rootfs with debootstrap, and packaged it with mksquashfs. The kernel/initrd combo came from my host system (which is probably why they're not compatible with the rootfs image). I'm guessing I have to build a kernel/initrd combo in my debootstrap subdir so that it matches the rootfs, but I'm a little bit unsure as to how that is done.

Also, I pieced together the /tftpboot/pxelinux.cfg/default from about 10 different sources. I was hoping that someone could help me figure out how to configure it, or point me at some reading that would explain this config file in depth.

Best regards,

Misha

Click Here!