LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to boot system with pxelinux.0? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-boot-system-with-pxelinux-0-a-730460/)

Dims 06-03-2009 01:19 PM

How to boot system with pxelinux.0?
 
I have fully functional bootable linux box of Fedora 9.

I want to make it boot from network card.

I have configured DHCP and TFTP server on Windows machine in the same subnet (with the help of Tftpd32 program).

May I copy the images from my /boot directory to TFTP root?

I am copying kernel image, initrd image and config file. I get normal bootstrap, kernel decompressing but finally get kernel panic error

VFS: cannot open root device "<NULL>" or unknown-block(202,17)

My pxelinux config is follows

Code:

DEFAULT vmlinuz-2.6.27.23-78.2.50.fc9.x86_64
KERNEL vmlinuz-2.6.27.23-78.2.50.fc9.x86_64
INITRD initrd-2.6.27.23-78.2.50.fc9.x86_64.img

I am not sure it is correct.

How to boot the same machine from network?

Dims 06-04-2009 04:31 AM

I have copied the kernel parameters from GRUB configuration files and it works!

linus72 06-04-2009 04:43 AM

Please give more info on your success?!

Dims 06-04-2009 11:58 AM

My final pxelinux configuration file is follows:

LABEL linux
KERNEL vmlinuz-2.6.27.23-78.2.50.fc9.x86_64
APPEND ro root=/dev/VolGroup00/LogVol00 initrd=initrd-2.6.27.23-78.2.50.fc9.x86_64.img

(only 3 lines)

Also I figured out the following requirements:

1) LAN boot ROM turned on in BIOS setup
2) Boot LAN is first in boot order in BIOS setup
3) Tftp32 program is configured and running on windows machine (it is both TFTP and DHCP server)
4) kernel image, initrd image are placed into TFTP root
5) config file written

You may ask specific questions if you want! :)


All times are GMT -5. The time now is 04:46 PM.