Skip to contentSkip to conversation

NFS Mount

DISCUSSION Aman 2 participants 2 messages Sep 9, 2002

lore
Share & tools
lore

Aman

author
#0 lore raw

Hi All
I have a basic question.
I have build a kernel image using the ppc linux source. Now I want to download the image using NFS from the host. When I tried to boot the image I am getting the following error.

VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 220k init
Warning: unable to open an initial console.

 Kernel panic: No init found.  Try passing init= option to kernel.

<0>Rebooting in 180 seconds..

My root path in the dhcpd.conf is /hdb/mydir/mykernel , this where I have un tar the linux kernel source for PPC.
In the exports file I have exported the path /hdb/mydir.

My doubt is , will there be a filesystem already in the linux source at the location /hdb/mydir/mykernel or I have to create it. If I have create it, how should I go about.

Please help me in solving this issue.

Thanking you in advance
Regards
Aman

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Aman,

Quoted 3 lines · in message <007001c2581e$af4a9900$370da8c0@aman> you wrote:

My root path in the dhcpd.conf is /hdb/mydir/mykernel , this where I have un tar the linux kernel source for PPC.

This is wrong. You have use a directory which contains a filesystem with native tools, dev entries, libraries, etc.

Quoted 2 lines

My doubt is , will there be a filesystem already in the linux source at the location /hdb/mydir/mykernel or I have to create it. If I have create it,

The linux kernel source is just that: kernbel source. It does not contain a root filesystem.

Quoted 1 line

how should I go about.

Get and install our ELDK. It's free. See
http://www.denx.de/re/ELDK.html

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] "I didn't know it was impossible when I did it."

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/