WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
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, 04:18:17 AM by xor »

Offline Juanito

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

Offline xor

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

how do i run the batch script!?

Offline Juanito

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

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
where do i need to place the batch script to be used on basic boot!?
« Reply #4 on: January 06, 2022, 04: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, 05:09:45 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #5 on: January 06, 2022, 05: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: 1268
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #6 on: January 06, 2022, 05: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, 05:35:02 AM by xor »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 788
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #7 on: January 06, 2022, 05: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: 1268
« Last Edit: January 06, 2022, 05:50:18 AM by Juanito »

Offline xor

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



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

Offline Juanito

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

Offline xor

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

Offline polikuo

  • Hero Member
  • *****
  • Posts: 723
Re: where do i need to place the batch script to be used on basic boot!?
« Reply #12 on: January 06, 2022, 08: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: 11044
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #13 on: January 06, 2022, 11: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: 1268
Re: reinstallation! ; the damn thing takes the connected drivers with it!
« Reply #14 on: January 07, 2022, 12:46:34 AM »
I'm trying to create a script that won't load the server for that matter.