[ELDK] Duplicaing Root Filesystem from NFS to Harddrive?

camel joe camel4joe at gmail.com
Thu Jun 25 00:50:04 CEST 2009


I managed to duplicate the root filesystem again to the hard disk, and
it seems working fine now.

Now a new question, Is it possible to let U-boot boot up the kernel
that is stored in the hard disk?

--Joe

On Wed, Jun 24, 2009 at 2:26 PM, camel joe<camel4joe at gmail.com> wrote:
> Hi,
>
> Can someone here help me with some ideas?
>
> My Goal: after successfully setting up DENX linux running on AMCC
> Kilauea board with a harddrive working, I'd like to duplicate the root
> filesystem from the NFS server to the attached harddrive.
>
> My situation:  I am unable to make it work, majorly due to messed up
> kernel booting.  The following are what I have tried:
>
> 1. Within root login of DENX Linux running on the board, I did
>       cp -a   /    /mnt/disk
> (got some errors when copying files under /proc)
>
> 2. Modified file /mnt/disk/fstab as follows:
> /dev/sda1                /               ext3    noatime        0 1
> none                    /proc           proc    defaults        0 0
> sysfs                   /sys            sysfs   defaults        0 0
>
>
> 3. modified bootargs to contain   "root=/dev/sda1 rw", where sda1 is
> the harddrive for /mnt/disk mentioned above.
>
> 4. Then tried reboot, got it up partially, was able to telnet in, but
> some applications could not function normally.
>
>
> What else I should do to make it work?
>
> Thanks,
>
> --Joe
>


More information about the eldk mailing list