lkml.org 
[lkml]   [2005]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Customized 2.6.10 kernel on a Compact Flash
From
Date
    govind> Thanks for all the pointers.  We had taken the /sbin/init
govind> from the existing Linux installation from where we had
govind> created the customized image. We need to have a inittab
govind> and we believe that we have set it correctly. The GRUB
govind> detects the CF hard disk as hda0 when we boot the embedded
govind> board and so in both the kernel parameter in grub.conf as
govind> well as in the inittab file we have / (root) marked as
govind> /dev/hda0. But we are perplexed by the message that the
govind> kernel prints out on being booted from the flash and just
govind> before panic'ing...

Using /dev/hda0 as root seems a little strange to me, as the usual way
of naming partitions starts with 1 (so the first partition would be
/dev/hda1). However the kernel seems to be finding and starting your
init executable, so that likely isn't your problem.

I would suggest starting by using a statically linked shell as your init
and building up from there.

- Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.063 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site