Tiny Core Linux
Tiny Core Base => Corepure64 => Topic started by: LoRdMiCk on February 01, 2021, 03:57:55 PM
-
hello I'm new in this playing around since 3 days now I try to run a specific app on pxe boot I tried several thing make a lot of research and I can't get it to work.. PXE work fine I can boot no problem I can install things.. but I want it to run itself went I boot.
Computer client has no hard drive and 2 to 4GB memory
I tried to boot on virtual machine and physical machine both is not working
-
Starting an app usually goes to a file in ~/X.d, for graphical apps. http://tinycorelinux.net/faq.html#appstart
These files come from persistent home or backup. Persistent home does not apply for PXE booting (without hacks). Backup only applies if you have a tce dir over NFS. If you don't want a remote tce dir, you will have to remaster the initrd with your added file.
-
Or, create another initrd with the files you want and add it to the INITRD list, basically the same as a mydata.tgz file. Here is an example for a syslog server:
DEFAULT pxe
LABEL pxe
KERNEL pxelinux.cfg/default-boot/vmlinuz64-11
INITRD pxelinux.cfg/default-boot/rootfs64-11-1.gz,pxelinux.cfg/default-boot/modules64-11.gz,pxelinux.cfg/default-boot/my-syslog-data.gz
APPEND host=syslog-vm printk.time=1 lang=en_US.UTF-8 cron syslog quiet noswap nozswap nodhcp tce=/ httplist=192.168.3.4:/syslog.lst udev.children-max=24