MrUmunhum
Group: Members
Posts: 23
Joined: Feb. 2006 |
|
Posted: Nov. 21 2006,19:54 |
|
Quote (^thehatsrule^ @ Nov. 21 2006,09:57) | What goes wrong?
If you have /static/bash then you should also replace the symlink from sh to point to it. The scripts could be called by sh which would override the shebang. Of course the easiest way to tell if whatever you're doing will work would be to replace ash completely.
Quote | and the parsing is broken. | parsing of..?
Anyhow, reason for ash: fast(er) boot. |
Parsing like:
junk=${CMDLINE} junk="${junk##parm=}" <== fails here junk="${junk%%[ ]*}"
What I am doing is making a linuxrc that supports PXE booting with NFS mounting of KNOPPIX FS.
I am currently stick on getting the NFS mount to work. I have loaded nfs.o, lockd.o and sunrpc.o, but something is missing and the NFS mount fails.
Since the console to ttyS0 fails, it is hard to debug my code. Ash is very limited and the messages falls off of the screen.
The failure is a kernel panic after failure to change to /initrd ( I think ).
|