WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: reinstallation! ; the damn thing takes the connected drivers with it!  (Read 3433 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
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 ;

Code: [Select]
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
« Last Edit: January 06, 2022, 01:18:17 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #1 on: January 06, 2022, 01:25:14 AM »
Did you mount the usb stick/usb hd before trying to read it’s contents?
« Last Edit: January 06, 2022, 01:42:31 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #2 on: January 06, 2022, 01:43:31 AM »
iso burned to usb and ready.

how do i run the batch script!?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #3 on: January 06, 2022, 01:49:49 AM »
Code: [Select]
sudo mount /dev/sdd1
/mnt/sdd1/path-to-file/1.sh

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
where do i need to place the batch script to be used on basic boot!?
« Reply #4 on: January 06, 2022, 01:54:28 AM »
so how do i turn that into an automatic command!?
Speaking of a usb created with the "universal usb installer" ! ?

Code: [Select]
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!?
« Last Edit: January 06, 2022, 02:09:45 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #5 on: January 06, 2022, 02:15:05 AM »
Place the commands in /opt/bootlocal.sh

It would be helpful if you could give an overview of what you’re trying to achieve.

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #6 on: January 06, 2022, 02:33:30 AM »
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!?
« Last Edit: January 06, 2022, 02:35:02 AM by xor »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 657
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #7 on: January 06, 2022, 02:35:23 AM »
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
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
« Last Edit: January 06, 2022, 02:50:18 AM by Juanito »

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #9 on: January 06, 2022, 03:15:05 AM »
???



Code: [Select]
sudo mount /dev/sdd1
/mnt/sdd1/path-to-file/1.sh
« Last Edit: January 06, 2022, 03:36:25 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #10 on: January 06, 2022, 03:31:05 AM »
You have put "ssd1" instead of "sdd1"

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #11 on: January 06, 2022, 03:36:39 AM »
sorry

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: where do i need to place the batch script to be used on basic boot!?
« Reply #12 on: January 06, 2022, 05:50:55 AM »
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
Code: [Select]
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

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #13 on: January 06, 2022, 08:00:46 AM »
Please stop abusing the servers and continuously re-downloading. Keep them locally!
The only barriers that can stop you are the ones you create yourself.

Offline xor

  • Hero Member
  • *****
  • Posts: 1259
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #14 on: January 06, 2022, 09:46:34 PM »
I'm trying to create a script that won't load the server for that matter.