Tiny Core Base > TCB Tips & Tricks

Build a PXE-boot tftp-only files

(1/2) > >>

erlis:
Hi,

To build a PXE-boot version of Tiny Core with only files from tftp (or http if using pxelinux) one can do this (assumption of the TC-iso is mounted in /Volumes/TC):


--- Code: ---cp -rf /Volumes/TC/cde/* tmp/builtin/
cat tmp/builtin/copy2fs.lst tmp/builtin/xbase.lst >> tmp/builtin/onboot.lst
chmod 777 tmp
sudo chown root tmp
sudo chown -R root tmp/*
find tmp | sudo cpio -o -H newc |gzip -9 > tc.gz

--- End code ---

Copy tc.gz, /Volumes/TC/boot/core.gz & /Volumes/TC/boot/vmlinuz to your tftpdir.

Use the following entry for pxelinux:


--- Code: ---  label tclinux
    menu label Tiny Core Linux
    kernel vmlinuz
    initrd core.gz,tc.gz cde quiet

--- End code ---

Hose Careras:
I did all that and tinycore loaded over pxe but only in command prompt . all the extensions did load but graphical interface (X window) did not load.
I did launch it manually with : sudo xtartx
It did ask me what screen resolution i want and what type of mouse  i have . After i did chose the right options X windows started but .....its only a big black blank screen and a cursor in the middle . There is no wbar and right/left mouse clicks do absolutely nothing . How do I launch X window with all the stuff it should have from a normal CD boot ?

gerald_clark:
Do not sudo startx.  Just run startx.
You also need to install a window manager and wbar along with aterm.

Use a persistent nfs tce directory per the wiki.

Hose Careras:
This is the list of extensions that are loading during pxe boot :
Xlibs.tcz
Xprogs.tcz
Xvesa.tcz
aterm.tcz
fltk-1.1.10.tcz
flwm_topside.tcz
freetype.tcz
imlib2-bin.tcz
imlib2.tcz
libICE.tcz
libSM.tcz
libX11.tcz
libXau.tcz
libXdmcp.tcz
libXext.tcz
libXfont.tcz
libXi.tcz
libXmu.tcz
libXpm.tcz
libXrandr.tcz
libXrender.tcz
libXt.tcz
libfontenc.tcz
libjpeg-turbo.tcz
libpng.tcz
libxcb.tcz
wbar.tcz
ntfs-3g.tcz
mc.tcz

They are the same extensions are loading during Cd boot . If i try load Xwindows with startx instead of sudo startx i get a error :
cat: cant open "/etc/sysconfig/Xserver"  : No such file or directory

gerald_clark:
The cde boot option is ONLY for CDs.

Navigation

[0] Message Index

[#] Next page

Go to full version