DSL Tips and Tricks :: How-to: PXE - Packing the KNOPPIX image in initrd



Quote (^thehatsrule^ @ Nov. 10 2006,06:59)
I suppose a link to a wikipedia article or something could help though.

A link like that would be a nice thing. It is more important, however, to state that prior knowledge is necessary, and that this tutorial does not explain what PXE is, or how to set up a PXE server.
In my mind, the focus was not on PXE but on putting the cd image in the initrd.  Setting up PXE is rather beyond that scope.  I will add a few notes about that sort of thing though.  

jungle

I don't know if it's appropriate to request assistance in this thread, but I'll give it a go.  Jungle, those were great instructions, quite honestly exactly what I've been looking for.  I've set up a pxelinux launchpad for my company for all sorts of boot disks, and I would like to get DSL on there without going the knoppix/NFS route.

I followed your instructions well, I believe, as they were very straight forward.  I must have done something wrong, as it doesn't work for me.  Here's what I get:

Loading linux24.....................
Loading minirt24.gz...............................................................................
..........................................................(etc...)
(clear screen)
(penguin logo)
Kernel panic: VFS: Unable to mount root fs on 03:01


My pxelinux config is:
Code Sample
KERNEL dsl/linux24
 APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=dsl/minirt24.gz nomce noapic quiet BOOT_IMAGE=knoppix frominitrd


Any quick thoughts?  Thanks.  I can post my linuxrc file if you'd like, but I agree that's pretty easy as well.

More info:  I took out the "quiet" boot flag, and see a lot more information.
Code Sample
...
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 49032k freed
VFS: Mounted root (ext2 filesystem).
kmod: failed to exec /sbin/modprobe -s -k ide-cd,errno = 2
VFS: Cannot open root device "" or 03:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:01

Shooting from the hip, I put in boot option "root=/dev/ramdisk rw" and end up with the following line repeated many times:
"/etc/init: /linuxrc: not found"
and then,
"/etc/init: Out of file descriptors
Kernel panic: Attempted to kill init!"

In step 1, you mention "vmlinuz24" as the kernel image.

Are you using a custom compiled kernel image "vmlinuz24" or
in step 1, should it be "linux24" as the kernel image?

Also should
"In my case, the computer then downloads the vmlinuz compressed linux image"
be changed from "vmlinuz compressed linux image" to "linux24 kernel image"?

You might want to add that linux24 (or vmlinuz24) should be copied to
the tftpboot directory along with minirt24.gz

Next Page...
original here.