Hi,
I've nearly got pxe booting working with the "standard" TinyCorePure64-13.1.iso release into xwindows.
- I uncompressed the corepure64.gz and updated /opt/tcemirror to point to my local webserver.
- I stuck all the needed files onto webserver from the iso's cde/optional directory.
- I'm using pxelinux.cfg file with
- KERNEL tinycorepure64-13.1/vmlinuz64 showapps host=mybox httplist=192.168.1.100:/tinycorepure64-13.1/onboot_basicx.lst vga=791
- INITRD tinycorepure64-13.1/corepure64_use_local_server.gz
The trouble is that when I include the Xlibs.tcz and/or wbar.tcz, then my /home/tc gets root permissions and then things fail.
For example on boot may get...
mkdir: can't create directory 'home/tc/.local/': Permission denied
mv: can't rename '/tmp/.xsession': Permission denied.
However if I remove Xlibs.tcz and wbar.tcz from onboot_basicx.lst, then install them using tce-load, then I can run startx and everything works fine.
I see there are some tce.installed scripts for Xlibs and wbar, but I haven't figured out yet how these may be causing the problem. This is my suspicion.
Here's what my directory looks like in this working case:
drwxr-s--- 5 tc staff 280 Dec 31 09:18 ./
drwxrwxr-x 3 root staff 60 Dec 31 09:17 ../
drwxr-s--- 2 tc staff 40 Dec 31 09:17 .X.d/
-rwxr-xr-x 1 tc staff 275 Dec 31 09:18 .Xdefaults
-rw-rw-r-- 1 tc staff 99 Dec 31 09:18 .ash_history
-rw-r--r-- 1 tc staff 424 Dec 31 07:32 .ashrc
drwxr-s--- 3 tc staff 60 Dec 31 09:17 .local/
-rw-r--r-- 1 tc staff 920 Dec 31 07:32 .profile
-rwxr-xr-x 1 tc staff 103 Dec 31 09:18 .setbackground
lrwxrwxrwx 1 root staff 20 Dec 31 09:18 .wbar -> /usr/local/tce.icons
drwxr-sr-x 3 tc staff 60 Dec 31 09:18 .wmx/
-rwxr-xr-x 1 tc staff 575 Dec 31 09:18 .xsession
Here's after a failing case where I include both Xlibs and wbar in the .lst file used by httplist
drwxr-xr-x 2 root root 180 Dec 31 09:43 ./
drwxrwxr-x 3 root staff 60 Dec 31 09:43 ../
-rwxr-xr-x 1 tc root 275 Dec 31 09:43 .Xdefaults
-rw-rw-r-- 1 tc staff 140 Dec 31 09:44 .ash_history
-rw-r--r-- 1 tc staff 424 Dec 31 07:32 .ashrc
-rw-r--r-- 1 tc staff 920 Dec 31 07:32 .profile
-rwxr-xr-x 1 tc root 103 Dec 31 09:43 .setbackground
lrwxrwxrwx 1 root root 20 Dec 31 09:43 .wbar -> /usr/local/tce.icons
-rwxr-xr-x 1 tc root 575 Dec 31 09:43 .xsession
Any ideas? Thanks for any help.
Note I used tce-audit builddb to confirm the .lst file was in the right order for dependencies. At least I think that's what it does... otoh, I have tried that list both forward and reverse and it doesn't seem to matter.
---
My goal was to use this httplist because I understand http would be faster that tftp. However I did also run into trouble when I attempted to create a /tce directory in a custom corepure64.gz. Permission issues again with the /tce directory as I recall.
73,
Timothy
[EDIT]: Added code tags. Rich