Tiny Core Base > TCB Q&A Forum
PXE boot and rdesktop autostart
achduschande:
Hello,
I'm trying to remaster TC in order to get a version that starts via PXE and automatically starts rdesktop. It has to run on a 32MB-client (HP compaq t5000) which we're using in school.
Here's what I did:
* setting up an TC-PXE-Server with tinycore.gz and bzImage in /netboot
* remastering TC with ezremaster including rdesktop
Here's what happens:
When choosing "inside initrd" the client starts, but then throws some error messages and hangs... (I don't know how to read the messages afterwards since it goes so fast...)
When choosing "Extract into TCZ" the client starts and stop with an error message: "sudo command not found" (or something like that)
I guess it's because of the limited client memory (starting from a client with more memory works well...) - maybe someone can tell me how to include rdesktop in a memory-saving way... It must be possible, because starting via USB-stick works.
Thank you very much!
gerald_clark:
Read the netboot section in the wiki. You should not need to remaster.
achduschande:
--- Quote from: gerald_clark on October 22, 2010, 11:58:57 AM ---Read the netboot section in the wiki. You should not need to remaster.
--- End quote ---
...that's what I did - do you mean the "PXE and PPR/TCZ on an NFS share"-part? I didn't really understand it all...
While adjusting the available memory in VirtualBox I found out that booting with 60 MB RAM works well while booting with 56 MB (that's the mem of the client - not 32MB) throws errors...
So I need 4 MB more RAM...
gutmensch:
It shouldn't be that hard to get additional 4 MB of ram if you remaster already. for example list all modules you use on the client with lsmod and then delete the others, which are not needed from /lib/modules, when you remaster. You can remove aterm, wbar, zsync, etc. as well since they're not needed for your purpose. Even flwm stuff is not needed (I think maro made some DESKTOP variable hack and just used Xvesa with rdesktop without any window manager). Finally you can try to use tinycore 2.x - I managed to run it on a Wyse Thin Client, which has very few RAM too ;-)
ixbrian:
--- Quote from: achduschande on October 22, 2010, 11:54:45 AM ---Hello,
I'm trying to remaster TC in order to get a version that starts via PXE and automatically starts rdesktop. It has to run on a 32MB-client (HP compaq t5000) which we're using in school.
Here's what I did:
* setting up an TC-PXE-Server with tinycore.gz and bzImage in /netboot
* remastering TC with ezremaster including rdesktop
Here's what happens:
When choosing "inside initrd" the client starts, but then throws some error messages and hangs... (I don't know how to read the messages afterwards since it goes so fast...)
When choosing "Extract into TCZ" the client starts and stop with an error message: "sudo command not found" (or something like that)
I guess it's because of the limited client memory (starting from a client with more memory works well...) - maybe someone can tell me how to include rdesktop in a memory-saving way... It must be possible, because starting via USB-stick works.
Thank you very much!
--- End quote ---
Booting from USB works because your extensions probably are not being loaded in RAM (they are just mounted from USB), so it requires less memory that remastering everything into tinycore.gz which causes everything to be loaded in to RAM.
With ezremaster, using "inside initrd" will take less memory than "extract into TCZ". Also, you might want to try using the "embed" boot code, this reduces the amount of memory needed at boot time.
Navigation
[0] Message Index
[#] Next page
Go to full version