General TC > General TC Talk
Persistence Question - How is my ethernet still working ?
MTCAT:
Hi Rich,
Awesome, very exciting to finally have a proper install of TinyCore !, thanks so much for all the help....very nicely, I now retain all the packages that were installed (pciutils, coreutils, gcc, linux-headers, etc.), but, the built and installed ADC driver was lost on power-down.
In order to not have to build and install the ADC driver on every power-up, could I also make my /usr directory persistent by simply adding a "usr=UUD=...." line as well to extlinux.conf ?
Or I guess I could make my own "package" which could get auto installed at boot time ?
Thanks,
David
Rich:
Hi MTCAT
--- Quote from: MTCAT on February 27, 2021, 11:00:52 AM --- ... could I also make my /usr directory persistent by simply adding a "usr=UUD=...." line as well to extlinux.conf ? ...
--- End quote ---
No. usr= is not a valid option and not meant to be persistent:
--- Quote from: Rich on February 27, 2021, 10:17:14 AM ---
--- Quote from: rullolex on February 27, 2021, 07:51:29 AM --- ... At the reboot mtpaint is not on the pc, I have to do the tcz extension? ...
--- End quote ---
All files and links to files in /bin, /dev, /etc, /lib, /sbin, /tmp, /usr, /var are in RAM and get recreated every time you boot.
The contents for those directories come from the initrd (core.gz) and .tcz extensions. So if you want it to persist, you
need to create an extension. ...
--- End quote ---
--- Quote --- ... Or I guess I could make my own "package" which could get auto installed at boot time ?
--- End quote ---
That would be the way to go.
MTCAT:
Thanks Rich, I'll continue reading up on making my own extension then, thanks a lot for all the help.
Cheers,
David
Rich:
Hi MTCAT
Then read this:
http://forum.tinycorelinux.net/index.php/topic,24795.msg157885.html#msg157885
Navigation
[0] Message Index
[*] Previous page
Go to full version