Quote (^thehatsrule^ @ Nov. 24 2006,14:29) |
So you added busybox as well? What did you change to try to execute it? How did you try to replace the shell? I meant like the other forum user's post, where PXE loaded the kernel and the minirt which held the knoppix image (you just need more memory to use this though). |
Quote |
(cd PXE_FS/static/; ln -s busybox ls ) (cd PXE_FS/static/; ln -s busybox mkdir ) (cd PXE_FS/static/; ln -s busybox sleep ) (cd PXE_FS/static/; ln -s busybox env ) (cd PXE_FS/static/; ln -s busybox pwd ) (cd PXE_FS/static/; ln -s busybox which ) (cd PXE_FS/static/; ln -s busybox ifconfig) (cd PXE_FS/static/; ln -s busybox ifup ) (cd PXE_FS/static/; ln -s busybox ping ) (cd PXE_FS/static/; ln -s busybox route ) (cd PXE_FS/static/; ln -s busybox ln ) |
Quote |
static int do_linuxrc(void * shell) { static char *argv[] = { "linuxrc", NULL, }; extern char * envp_init[]; close(old_fd); close(root_fd); close(0); close(1); close(2); setsid(); (void) open("/dev/console",O_RDWR,0); (void) dup(0); (void) dup(0); return execve(shell, argv, envp_init); } |
Quote |
The mini24 image is the small FS that is used during the boot up process. It is not the run level FS, that is what I am trying to use a NFS mount to connect. |
Quote (^thehatsrule^ @ Nov. 24 2006,17:41) | ||
I'm guessing it's because that bash you're trying to use requires external libraries... you'd have to compile a static executable or something like it (same for busybox) Also networking support isn't even enabled here, even if you do include ifconfig, you'll have to include the device and drivers/modules. |