Specifications

-#[ "$state" != "rw" -a "$READONLY" != "yes" ] && \
-# action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /
+state=`LC_ALL=C awk '/ \/ / && ($3 !~ /rootfs/) { print $4 }' /proc/mounts`
+[ "$state" != "rw" -a "$READONLY" != "yes" ] && \
+ action $"Remounting root filesystem in read-write mode: " mount -n -o remount,rw /
# Clean up SELinux labels
if [ -n "$SELINUX" ]; then
Unmount disk:
bash-3.00# umount /mnt
8.
Reboot, and adjust boot arguments to use disk partition as root file system
=> setenv diskargs setenv bootargs root=/dev/sda2 ro
=> setenv net_disk 'tftp ${loadaddr} ${bootfile};run diskargs addip addcons;bootm'
=> saveenv
9.
Boot with these settings
=> run net_disk
10.
14.1.5. System Include Files Missing
Question:
when installing ELDK on Ubuntu 6.06 dapper drake I get the following error messages....
Preparing... ########################################### [100%]
1:kernel-source-ppc_6xx ########################################### [100%]
Configuring kernel...
scripts/basic/fixdep.c:107:23: error: sys/types.h: No such file or directory
scripts/basic/fixdep.c:108:22: error: sys/stat.h: No such file or directory
scripts/basic/fixdep.c:109:22: error: sys/mman.h: No such file or directory
...
Answer:
The Linux installation on your host is missing essential files that are needed to perform software
development and use a C compiler. On Ubuntu, check for example if you miss a "libc6-dev" package.
The specific package name differs from distribution to distribution; on Fedora, you need for example
the "glibc-headers" package.
If you want to work with a Linux kernel you will probably also need other packages.
14.1.6. patch: command not found
Question:
When installing ELDK on Ubuntu I get the following error message:
...prepare-kernel.sh: line 376: patch: command not found
Answer:
The error message contains clear hints for the solution: the "patch" command cannot be found on
your system, so most probably it has not been installed yet. Please try:
$ sudo apt-get install patch
14.1.6. patch: command not found 154