[syslinux] Re: "corrupted or invalid kernel" immediately.

VoVaN
Thu, 27 Apr 2006 06:10:54 -0000

Yes, I found the root of the problem... it's hotplug, which shouldn't be
enabled during the early boot. So, I just "chmod 644 /sbin/hotplug",
then I
created /init:
*************
#!/bin/sh
echo "Running networkboot prescript"
/bin/chmod 755 /sbin/hotplug
exec /sbin/init </dev/console >/dev/console 2>&1
*********
and made initramfs with it.

Vlad.

On Thursday 27 April 2006 06:52, rcb at cox.net wrote:
> Hi,
>
> Did you find out what is causing this?  I can get it to happen every time
> so far.
>
> Thanks,
>
> Dick
> rcb at cox.net
>
>
>
> Hello,
>
> I'm trying to switch from initrd to initramfs for diskless
> workstations, but I have some problems. I just made a symlink /init ->
> /sbin/init and gzipped cpio file, then tried to compile image in the
> kernel or use image with initrd option. In the first case I'm getting
> "corrupted or invalid kernel" immediately. In the second kernel
and
> initrd can be downloaded but at the certain stage I can see only
> repeated message "udevsend: error ...".
> Which additional steps I should take?
>
> Regards,
> Vlad.

--
Beer helps the developers to work faster ya know,
VoVaN