Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: CentralWare on November 08, 2015, 12:22:47 AM
-
You guys know the scripts a lot better than I remember them, so I'm hoping to prevent a number of hours digging through sources to pull this one off if I can.
boot code tce=some_path is assumed or the default is used; it may be empty or have a few TCZ's to load during boot.
Once bootlocal fires up, the link to tce is being changed to a new (dynamic) network share (/mnt/share/tce)
I'm going to hard-code my own script to read the new onboot.lst and tce-load anything found, but I was wondering if a function already existed in one of the many tc-* scripts to do just that?
Any pointers before I dig in?
Thanks guys!
-
tce-setup is the one, but it's not designed to be run twice.
-
Use the nfsmount boot option. and load all your tcz from an nfs share.
http://wiki.tinycorelinux.net/wiki:netbooting#nfs_for_a_tce_directory
-
Thanks guys! Figured it worth asking before building a second setup script.
@gerald: The NFS mount points are dynamically created by the machine itself (it scans the NFS root for matching MAC(s) and creates it if it's not found.)
nfsmount=192.168.x.x:/nfs/image/mac_address would be the initial mount point
However, consider doing this with dozens of machines and you'd end up needing dozens of boot images/codes to accomplish the same. Too much like work! :)
-
I'd use your line literally, and edit tc-config to replace mac_address before using it. No bootcodes, one image?