LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-03-2009, 01:19 PM   #1
Dims
Member
 
Registered: Feb 2009
Posts: 151

Rep: Reputation: 15
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?
 
Old 06-04-2009, 04:31 AM   #2
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
I have copied the kernel parameters from GRUB configuration files and it works!
 
Old 06-04-2009, 04:43 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Please give more info on your success?!
 
Old 06-04-2009, 11:58 AM   #4
Dims
Member
 
Registered: Feb 2009
Posts: 151

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pxelinux to network boot, /proc/cmdline truncated early jeriryan Linux - Networking 0 07-16-2008 12:36 PM
pxelinux configuration file not loading fastTalker Linux - Server 3 05-23-2007 06:08 PM
pxelinux network install problem m.vanes Linux - General 3 11-16-2005 11:46 AM
ipappend for PXELinux--get the ip from pxe AshesOfTime Linux - Networking 0 11-24-2004 06:16 AM
PXELinux bigdogdan2 Linux - Newbie 1 07-30-2004 01:00 PM


All times are GMT -5. The time now is 12:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration