Tiny Core Base > TCB Tips & Tricks
Build a PXE-boot tftp-only files
Hose Careras:
Yes but it did load the extensions over pxe also . What i don't understand is why xwindows don't start automatically and when i try load it manually its just xwindows with nothing in it .Just a blank screen and a cursor in it . All the extensions are loaded during pxe boot and location is in the /tmp/buildin/optional directory .
CentralWare:
My two cents:
1) Remaster core.gz (it's horribly simple) by merging the apps/extensions into the new core.gz
2) Update either tc-config or bootsync.sh to launch X
Mind you, this builds a larger core.gz considering the number of extensions you're adding (mc itself adds quite a few!) but in my opinion, it's the best you're going to get when you PXE boot and you don't want to utilize a mirror or build a mirror of your own. My CoreI.gz file is about 25MB which includes Xvesa, IceWM, MC and a few others including tc-install which is pretty good considering what's needed and it only takes about a minute to do. I have an automation script... but it does so many things you're not likely to do that it would be overkill.
To get started, first pull in a copy of core.gz and vmlinuz from your preferred TC version. Then...
1) Extract core.gz (then delete the original)
2) Extract the extensions, then copy them on top of the extracted core*
3) Rebuild core.gz
General instructions can be found: http://wiki.tinycorelinux.net/wiki:remastering
* I prefer to loop-mount my extensions and just copy the mounted files instead of using SquashFS to extract... fewer apps... fewer resources... fewer conflicts IMO.
When you're finished, just rename the new core.gz file into something like coreX.gz and create a PXE menu item and alter the APPEND such as:
--- Code: ---APPEND initrd=/path/to/coreX.gz ...
--- End code ---
Hope this helps!
EDIT: I forgot to add one vital piece of information... When merging extensions into CORE, there are scripts found in /usr/local/tce.installed that will need to be executed for many of the extensions to function correctly. Add this to your bootsync.sh file to do so:
--- Code: ---for file in /usr/local/tce.installed
do
sh $file
done
--- End code ---
If memory serves, this is also where startx is also created/launched from.
Hose Careras:
Thks for help .I did figure it out what was the problem . I did miss 3 steps on the procedure . I did not change ownership of tmp dir and its content to root use before build tc.gz file . I did that and now its working excactly like the cd version .
sebus:
Easiest/quickest is to remaster with core-remaster, making sure that these are copied to the remastered cpio gz:
/etc/sysconfig/*
(without this desktop would not "start")
and (already mentioned above)
/usr/local/tce.installed
And unsquashed extensions, as per this copied to mounted filesystem (required, from cde folder in iso & any additions one might want/need)
Navigation
[0] Message Index
[*] Previous page
Go to full version