[Soekris] Loading Linux Image on NET4526 - Part 2
David Burke
David.Burke at BBTestSolutions.com
Wed Nov 7 15:26:42 UTC 2007
NOTE: I am using
http://pyramid.metrix.net/trac/wiki/InstallingPyramid/PxeBootWin as a guide.
1) Here are the exact contents of my "pxelinux.cfg/default file". Remember
this is being done on a Windows machine so I have replaced the / with \ and
even tried it without.
SERIAL 0 19200
DEFAULT \vmlinuz-2.4.22-pebble console=ttyS0,19200,n8 initrd=initrd.img
ramdisk_size=8192 root=/dev/ram0
2) The initrd.img file is shell.img renamed! Although I've also tried using
dd.img and it did not make any difference. "vmlinuz-2.4.22-pebble" is
located in the top level TFTPBoot directory.
3) The image file I am trying to copy into the flash memory is located in
the root directory of my web server application (Abyss Web Server). I
verified that the we server is working correctly by connecting directly to
another computer and using my web browser to download the file from the
remote computer (e.g. http://192.168.200.1/image)
4) Below is a dump from TFTPD32. I do not understand where the filenames
linux.cbt, linux.0 and linux.com are coming from.
<pxelinux.cfg/default>: sent 1 blk, 244 bytes in 0 s. 0 blk resent [07/11
09:47:53.261]
File <linux> : error 2 in system call CreateFile The system cannot find the
file specified. [07/11 09:47:56.276]
Connection received from 192.168.200.2 on port 54540 [07/11 09:47:56.283]
Read request for file <linux.cbt>. Mode octet [07/11 09:47:56.287]
File <linux.cbt> : error 2 in system call CreateFile The system cannot find
the file specified. [07/11 09:47:56.292]
Connection received from 192.168.200.2 on port 54285 [07/11 09:47:56.298]
Read request for file <linux.0>. Mode octet [07/11 09:47:56.303]
Read request for file <linux>. Mode octet [07/11 09:47:56.308]
File <linux.0> : error 2 in system call CreateFile The system cannot find
the file specified. [07/11 09:47:56.312]
File <linux> : error 2 in system call CreateFile The system cannot find the
file specified. [07/11 09:47:56.317]
Read request for file <linux.com>. Mode octet [07/11 09:47:59.333]
File <linux.com> : error 2 in system call CreateFile The system cannot find
the file specified. [07/11 09:47:59.621]
____________________________________________________________________________
-----Original Message-----
From: Brian Candler [mailto:B.Candler at pobox.com]
Sent: Wednesday, November 07, 2007 1:44 AM
To: David Burke
Cc: soekris-tech at lists.soekris.com
Subject: Re: [Soekris] Loading Linux Image on NET4526 - Part 2
On Tue, Nov 06, 2007 at 04:21:58PM -0500, David Burke wrote:
> I now have another problem. Below is a dump from TFTPD32. I believe
> the errors associated with the file "pxelinux.cfg" are ok since no
> errors are shown when it gets to "pxelinux.cfg/default". But I am not
> sure about the errors shown below that. I don't know what the file is
> "linux.com" shown at the bottom of the TFTPD32 dump below.
What does your pxelinux.cfg/default file contain? It looks like you've told
it to fetch a file called "linux.com", but haven't created this file in your
tftp server.
> For reference, I have placed my full Linux image (which I have named
> image.img) in the directory "C:\Abyss Web Server\htdocs" but I am not
> sure if this is correct or not.
What do you mean by a "full Linux image", and how did you create it?
pxebooting requires a Linux *kernel* only (or a Linux kernel plus a Linux
initramdisk; the latter is a gzipped cpio archive for the root filesystem
for relatively recent 2.6 kernels)
Hmm, I guess you're using the files from there:
http://dl.metrix.net/support//pxeboot/tftpboot/
In this case, you should have a file "vmlinuz-2.4.22-pebble" in the top
level of your tftp directory, and pxelinux.cfg/default should say
SERIAL 0 19200
DEFAULT /vmlinuz-2.4.22-pebble console=ttyS0,19200,n8 initrd=initrd.img
ramdisk_size=8192 root=/dev/ram0
Also you should have a file 'initrd.img' at the top of your tftp server,
which should be one of these:
http://dl.metrix.net/support//pxeboot/initrd/
There are more detailled instructions at the bottom of this page:
http://dl.metrix.net/support//pxeboot/
Brian.
More information about the Soekris-tech
mailing list