Very odd, I was messing about and ended up putting this in my run.sh
Code:
cp /etc/inittab /mnt/onboard/
cp /etc/inetd.conf /mnt/onboard/
cp -R /etc /mnt/onboard/etc/
however it just kept producing
Code:
cp: can't create '
/inittab': No such file or directory
cp: omitting directory '/mnt/onboard'
cp: can't create '
/inetd.conf': No such file or directory
cp: omitting directory '/mnt/onboard'
cp: can't create directory '
/etc': No such file or directory
cp: can't create directory '
/etc': No such file or directory
However putting those 3 lines in the rcS file and it worked fine. Not sure what happened there, I literally copied and pasted it over. Only difference is I edit the rcS file in linux and the run.sh on Windows, must be line endings but I don't see how it could be.
Anyway, now have the entire /etc directory so I can move on to step 2 now.