Hello all,
Just trying out udpcast, using PXE after having recompiled the kernel to support a serial console (headless machines). This is what I get : RAMDISK: Couldn't find valid RAM disk image starting at 0. Kernel panic: VFS: Unable to mount root fs on unknown-block(1,0)
It seems that the initrd is wrong (downloaded at http://udpcast.linux.lu/20060326/initrd). # file initrd initrd: data
It's not in bzip2 format, it's not cpio either.. so am I doing something really wrong or is the file corrupted ?
# md5sum initrd 80867761052b76e14d69f95fa9b0c8ba initrd
best regards,
-- Alex
Alex Still wrote:
Hello all,
Just trying out udpcast, using PXE after having recompiled the kernel to support a serial console (headless machines).
Make sure to include LZMA support into the kernel (patch is on udpcast site)
This is what I get : RAMDISK: Couldn't find valid RAM disk image starting at 0. Kernel panic: VFS: Unable to mount root fs on unknown-block(1,0)
It seems that the initrd is wrong (downloaded at http://udpcast.linux.lu/20060326/initrd). # file initrd initrd: data
It's not in bzip2 format, it's not cpio either.. so am I doing something really wrong or is the file corrupted ?
It's not corrupted, it's just compressed using lzma rather than bzip2
Regards,
Alain
Make sure to include LZMA support into the kernel (patch is on udpcast site)
Right, that was the problem.. was fooled by "file" which didn't know that format, sorry !
Now, I've recompiled a kernel with the necessary options to get a serial console, but I loose output after udpc_dialog starts. So I'm trying to modify the inittab in initrd to start ash instead and see what's wrong. Unfortunately I'm failing to build an initrd the kernel will recognize (unpacked the original, modified it, cpio, lzma e ...) Seems I need initramfs-tools but in turns this requires a newer udev on debian stable....
Any easier way ? I've tried a cramFS image with no luck.
Cheers,
-- Alexandre
Alex Still wrote:
Make sure to include LZMA support into the kernel (patch is on udpcast site)
Right, that was the problem.. was fooled by "file" which didn't know that format, sorry !
Now, I've recompiled a kernel with the necessary options to get a serial console, but I loose output after udpc_dialog starts. So I'm trying to modify the inittab in initrd to start ash instead and see what's wrong. Unfortunately I'm failing to build an initrd the kernel will recognize (unpacked the original, modified it, cpio, lzma e ...) Seems I need initramfs-tools but in turns this requires a newer udev on debian stable....
No need for initramfs tools. Just udpcast-mkimage and cpio are enough.
(ROMFS was used for 2.4 kernels, but is now considered obsolete)
Any easier way ? I've tried a cramFS image with no luck.
Cheers,
-- Alexandre
Regards,
Alain