linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jim Lewis <jlewis@mvista.com>
To: Steve Rossi <srossi@ccrl.mot.com>
Cc: Embedded Linux PPC List <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: root fs on hdd
Date: Fri, 26 May 2000 11:07:34 -0500	[thread overview]
Message-ID: <392EA146.757517C3@mvista.com> (raw)
In-Reply-To: 392E92E3.62847D28@ccrl.mot.com


You need to make the following soft link in your target :
opt/hardhat/devkit/ppc/8xx/powerpc-linux ----> /

I think that will fix your problem.
-Jim
Steve Rossi wrote:

> Hi All,
>
> well after stepping away from it for a while then coming back to it I've
> managed to track down the problems with my filesystems getting
> corrupted. Now I've got stable hard disk i/o and so I'm trying to mount
> the root file system from the disk. I get the feeling I'm missing
> something incredibly obvious ... perhaps someone can help point it out
> to me.
> I've copied the the /bin, /dev, /etc, /lib, /libexec, /sbin, and /share
> directories from the monta vista sdk to the root direectory of my ext2
> partition (/dev/sda2) using "cp -a" while the root partition was
> NFS mounted. What I copied is basically the filesystem that I mount over
> NFS and it works fine. I've also created empty /proc and /tmp
> directories on sda2. I've modifed etc/fstab on sda2 so that /dev/sda2 is
> mounted as the root filesystem. I've also changed my bootline to read
> root=/dev/sda2 rw
>
> OK, so the kernel boots, it mounts the root partition on /dev/sda2, init
> runs, but init complains:
>
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 52k init
> init: error in loading shared libraries: libc.so.6: cannot open shared
> object file: No such file or directory
>
> Then it just stops. I've verified that the lib directory on /dev/sda2
> contains libc.so.6 as a link to libc-2.1.2.so
>
> So what am I missing? Where is init looking for libc.so.6 and why can't
> it find it? Is there something stupid about the way I just copied the
> root filesystem from the NFS mounted root to the disk?
>
> Thanks,
> Steve
>
> --
> -------------------------------------------------------
> Steven K. Rossi                     srossi@ccrl.mot.com
> Staff Engineer
> Multimedia Communications Research Laboratory
> Motorola Labs
> -------------------------------------------------------
>

--
Jim Lewis
Sr. Field Applications Engineer
MontaVista Software, Inc.
(817)261-9088 http://www.mvista.com


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

  reply	other threads:[~2000-05-26 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-26 15:06 root fs on hdd Steve Rossi
2000-05-26 16:07 ` Jim Lewis [this message]
2000-05-26 16:26   ` Dan Malek
2000-05-26 17:27     ` Mark S. Mathews
2000-05-26 17:41   ` Steve Rossi
2000-05-26 16:23 ` Dan Malek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=392EA146.757517C3@mvista.com \
    --to=jlewis@mvista.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=srossi@ccrl.mot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).