OpenELEC Forum
PXE BOOT works but i want edit some flie in SYSTEM - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: NETWORK (https://forum.openelec.tv/forumdisplay.php?fid=49)
+---- Forum: PXE / Network boot (https://forum.openelec.tv/forumdisplay.php?fid=50)
+---- Thread: PXE BOOT works but i want edit some flie in SYSTEM (/showthread.php?tid=32286)

Pages: 1 2


PXE BOOT works but i want edit some flie in SYSTEM - gudszento - 04-27-2012

Hi

How can i edit some file in SYSTEM file, i can open with zip, but the edit or add is another thinks Smile Is it possible or i need creat a custom build?

Regards

O.


Re: PXE BOOT works but i want edit some flie in SYSTEM - KillerKelvUK - 04-27-2012

What is it you want to edit?

I believe you'd need to compile your own build but I'd seek more experience guidance to validate this first.


Re: PXE BOOT works but i want edit some flie in SYSTEM - gudszento - 04-27-2012

first 2 xml:
advancedsettings.xml
sources.xml


Re: PXE BOOT works but i want edit some flie in SYSTEM - KillerKelvUK - 04-27-2012

These are read from the storage location not system...:dry:

I believe they are located in /STORAGE/.xbmc/userdata/ so just edit the files that are there and your changes will be permenant.


Re: PXE BOOT works but i want edit some flie in SYSTEM - gudszento - 04-27-2012

Yeah i know

First boot, he create same folder and file at disk=NFS=etc, but the source files what copy is in the system file :/
.cashe
.config
etc

Yes i can copy after the first boot than reboot and works everythink, but i want :
"
Overlay mounts

disk=NFS=server:/export overlay

To boot several OpenELEC systems using the same PXE config file and keep their Storage area separate, use 'disk=NFS=...' and add the 'overlay' option. Each OpenELEC system will create and use a directory on the NFS server named '/export/[MAC-address]'.
Note that overlay mounts currently only work with NFS. In theory it should be possible with CIFS/SMB mounts also, but Busybox 'mount' currently doesn't support mounting subdirectories of SMB shares.

Example (boot from NFS, mount each system's /storage from a unique directory in /var/lib/openelec):
"

so i want embed it...


Re: PXE BOOT works but i want edit some flie in SYSTEM - KillerKelvUK - 04-27-2012

I think you're back to compiling your own build then but see if anyone else comments a method to edit a pre-built SYSTEM.


Re: PXE BOOT works but i want edit some flie in SYSTEM - ancalex - 04-27-2012

Don't forget about the forum search function.


Re: PXE BOOT works but i want edit some flie in SYSTEM - gudszento - 04-27-2012

i didn't find any...

Which is your magic worlds Big Grin


Re: PXE BOOT works but i want edit some flie in SYSTEM - ancalex - 04-27-2012

mksquashfs maybe


Re: PXE BOOT works but i want edit some flie in SYSTEM - ack006 - 04-27-2012

gudszento, I think I still don't understand what you want to do.

Do you want to use the same boot configuration file for all of your OpenELEC boxes? If so, then (depending on your DHCP server and setup) you can create a generic config file, e.g. /tftpboot/pxelinux.cfg/default . All of your boxes will then use this file for their configuration settings, regardless of their MAC address. For more information on how to setup PXELINUX, see here.

If, on the other hand, you want to change the default settings in the files (sources.xml / advancedsettings.xml and whatnot) which OpenELEC creates in each box's /storage on first boot, then you will need to build your own OpenELEC images. Needless to say, it may be much easier to edit sources.xml etc. in /export/MAC-ADDR-1/.xbmc/userdata/ and copy it to similar place (/export/MAC-ADDR-2/.xbmc/userdata/ , /export/MAC-ADDR-3/.xbmc/userdata/ , etc) for all the other boxes.

Hope this helps,

ack