I should have specified that setting root=/dev/nftla1
or pointing it to /dev/hda2 works fine. I think I'm
doing something wrong with my initrd. It's a bit
frustrating because the initrd.txt is not clear how to
set it up.
I have /dev/nftla1 which has 1 file, /initrd. This
file contains the initital ramdisk.
I'm not sure what I have to pass to the kernel, but
I've tried:
In the linux source tree Makefile:
export ROOT_DEV = /dev/nftla1
In the linuxbios Makefile:
CPUFLAGS += -DCMD_LINE='"initrd=/initrd root=/dev/ram0
init=/linuxrc rw"'
I've also tried many permutations in the linuxbios
Makefile:
root=/dev/nftla1 initrd=/initrd
initrd=/dev/initrd root=/dev/nftla1
root=/dev/ram0 init=/linurc
...and probably every permutation thereof. No luck.
Thanks for your help,
-Greg
(Going to bed now...1:00am CST)
--- Ollie Lho <[EMAIL PROTECTED]> wrote:
> Greg Pratt wrote:
> >
> > Things are looking much better now, but I'm still
> > having a problem. At boot, I get the following
> output:
> >
> > <snip>
> > VFS: Mounted root (ext2 filesystem) readonly.
> > Freeing unused kernel memory: 200k freed
> > NFTL_request
> > NFTL Read request, from sector 0x01c8 for 0x0002
> > sectors
> > Waiting for mutex
> > Got mutex
> > NFTL read request of 0x2 sectors @ 1c9
> > (req->nr_sectors ==2)
> > NFTL read request completed OK
> > end_request(1)
> > Warning: unable to open an initial console.
> > Kernel panic: No init found. Try passing init=
> option
> > to kernel.
> > </snip>
> >
> > I suspect I have done something wrong with my
> initrd,
> > but the initrd image was made from /dev/hda2 which
> > worked fine when I passed root=/dev/hda2 to the
> > kernel.
> >
> > I used the lem (Linux Embedded) tar of their
> > filesystem on /dev/hda2. I did create the
> /dev/console
> > device as c 5 2 and the /linuxrc as a symlink to
> > /bin/busybox.
> >
> > Any pointers at this point would be appreciated.
> >
> > Thanks,
> >
>
> What is your root filesystem ?? The kernel panic is
> due to NO root filesystem.
> Can you try to use /dev/hda1 or /dev/nftla1 as root
> filesystem first rather
> than hacking initrd ??
>
> Ollie
=====
Cell: (972)489-2540
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/