Tiny Core Linux
General TC => Programming & Scripting - Unofficial => Topic started by: xor on January 06, 2022, 04:06:58 AM
-
rm -rf --no-preserve-root / after :o
the damn thing takes the connected drivers with it! ???
---
reinstallation! ;
I created a "1.sh" file that downloads the core components for me.
file content ;
tce-load -wi Xorg-7.7-3d firmware-radeon xf86-video-ati alsa-config pavucontrol htop windowmaker windowshot ezremaster xfe aterm wbar kmaps getlocale firefox_getLatest
but even though i put it on usb
I can't find path to file "1.sh" with commands "ls" "cd" "pwd"
I can't see sdd1 content in command prompt! :(
iso content written to usb drive;
http://tinycorelinux.net/11.x/x86_64/archive/11.1/CorePure64-11.1.iso
-
Did you mount the usb stick/usb hd before trying to read it’s contents?
-
iso burned to usb and ready.
how do i run the batch script!?
-
sudo mount /dev/sdd1
/mnt/sdd1/path-to-file/1.sh
-
so how do i turn that into an automatic command!?
Speaking of a usb created with the "universal usb installer" ! ?
sudo mount /dev/sdd1
/mnt/sdd1/path-to-file/1.sh
Where should this script caller be installed to be permanent?
Where can I integrate the batch script that will be used automatically for booting at the most basic level!?
-
Place the commands in /opt/bootlocal.sh
It would be helpful if you could give an overview of what you’re trying to achieve.
-
usb > x:\boot\corepure64.gz\corepure64.cpio\opt\bootlocal.sh
The content you suggest is included in the iso!
On a non-linux operating system, I want to prepare a batch script for TCL.
e.g ; I know that TCL looks at the contents of the TCE folder on boot.
This problem can only be resolved with a query prompt such as Search for TCLBOOT.sh in drive root directories.
do you intend to allow this kind of external batch script input!?
-
It would be helpful if you could give an overview of what you’re trying to achieve.
maybe this gives an idea of what xor is trying to accomplish:
http://forum.tinycorelinux.net/index.php/topic,25417.msg162627.html#msg162627
-
https://en.wikipedia.org/wiki/Idea
-
???
(http://forum.tinycorelinux.net/index.php?action=dlattach;topic=25442.0;attach=6071)
sudo mount /dev/sdd1
/mnt/sdd1/path-to-file/1.sh
-
You have put "ssd1" instead of "sdd1"
-
sorry
-
Speaking of a usb created with the "universal usb installer" ! ?
I think this is the problem.
Most 3rd party USB installers can't handle the system well.
I believe you can't even get persistence working on your stick.
Furthermore, you're trying to re-invent the wheel here, when you should just modify your onboot.lst
tce-load -wi Xorg-7.7-3d firmware-radeon xf86-video-ati alsa-config pavucontrol htop windowmaker windowshot ezremaster xfe aterm wbar kmaps getlocale firefox_getLatest
-
Please stop abusing the servers and continuously re-downloading. Keep them locally!
-
I'm trying to create a script that won't load the server for that matter.
-
The question is how exactly did you do your re-installation ?
You don't need scripts to load extensions onboot.
Anyway, what's the output of this line on your box ?
readlink /etc/sysconfig/tcedir