Networking Forums

Networking Forums > Computer Networking > Linux Networking > PXEboot problem - boots w/ 2.4.31, not 2.6.13

Reply
Thread Tools Display Modes

PXEboot problem - boots w/ 2.4.31, not 2.6.13

 
 
marshall@perilith.com
Guest
Posts: n/a

 
      10-18-2005, 07:59 PM
I apologize in advance if I've posted this to the wrong group.

I'm having difficulty upgrading a pxebooted (syslinux) linux kernel
from
version 2.4.31 to 2.6.13. Any 2.4.x kernel works fine, but nothing in
the
2.6.x line does.

Here's how my pxebooted system boots:

1. PXE client loaded off boot rom DHCPs, gets ip configuration,
TFTP server address, and pxelinux bootloader filename.

2. PXE client TFTPs pxelinux.0, loads it into memory and jumps to it.

3. pxelinux.0 TFTPs syslinux config file, reads it, TFTPs an initrd
image specified in the kernel append line, loads the kernel and the
initrd image into memory, does more magic, then boots the linux kernel.

4. The linux kernel mounts it's /usr filesystem off the exported
read-only Debian /usr filesystem served from an NFS server.

5. The linux kernel mounts the initrd image as it's root filesystem,
then
execs /linuxrc. linuxrc, a bash script, creates a tmpfs filesystem,
mounts it, uncompresses/untars a tarball out of /usr called
root.tar.gz. This is the client's root filesystem.

6. pivot_root is called to make the new tmpfs (dynamically sizeable
ramdisk) the new root filesystem. It is mounted read-write.

7. Booting continues (init scripts are called, etc.).

Between steps six and seven, within the linuxrc script, the following
lines are run:

1. # Switch roots and run init
2. cd /ram
3. echo 1 > /ram/fastboot
4. pivot_root . initrd
5. exec sbin/init "$@" <> /dev/console 2>&1

After line five is run w/ kernel v. 2.6.13 it hangs with the
following message on the console:

/linuxrc: /dev/console: Device not configured
Kernel panic - not syncing: Attempted to kill init!

Both the `stub' dev filesystem in my initrd has a /dev/console and so
does the NFS mounted root filesystem. FWIW, I config'd the 2.6.13
kernel
using `make oldconfig' from my 2.4.31 kernel, all drivers are compiled
into the kernel, and the Debian distro is Sarge.

TIA!

-mt

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UGG DISCOUNT BOOTS MANUFACTURERE mynicesneakers31@yahoo.com.cn Home Networking 0 05-17-2008 09:01 AM
SP2 RIS to WDS conversion - pxeboot.com i smissing Arch Willingham Windows Networking 1 03-22-2007 11:33 PM
How to rebuild vmlinuz and initrd.img from scratch for pxeboot environment Olivier BOURDON Linux Networking 5 07-27-2004 04:09 PM
Strange problem establishing connection - only when XP boots Laz Wireless Internet 2 10-18-2003 03:04 PM
Win98 PC boots only to Safe Mode null Windows Networking 0 08-14-2003 08:30 PM



1 2 3 4 5 6 7 8 9 10 11