Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

【inst.sh】how to locally reinstall linux to win in a vps without any networking(also works on pc+usb)

minlearnminlearn Member
edited April 2025 in Tutorials

now, you can use inst.sh as Symantec Ghost alternative to rapidly re-install os on vps or your pc offline without any network latency.

so let us start by taking a vps for example

firstly, you need prepare the offline inst.sh script repo in disk together with a target os img in it:

prepare

download https://github.com/minlearn/inst/archive/refs/heads/master.zip , unzip it to any directory (/root recommended), you should find a directory named inst, with _build,inst.sh,readme.md inside it

now move your target os img inside inst(the img you bring should go with a .xz or .gz suffix)

and all done

execute

inside inst, type

bash inst.sh ./yourimgfilename.gz

wait for script finish rebooting your pc, it will enter vnc

in pass1 phase, it will align yourimgfilename.gz to tail of the disk, we alway use the solo disk holding yourimgfilename.gz as both the src intermedia in offline install ( VS network as the src intermedia in online install) and the target disk

in pass2 phase, it will dd the tail yourimgfilename.gz binary segment by segment into the disk itself from head (it works like a charm!!cause dd read and write in a liner direction and always works binary-oriented, thus wont cause any corrupt, no matter with the img size!!)

finally it will reboot into the reinstalled os


repo:
https://github.com/minlearn/inst

res:
https://github.com/minlearn/inst/archive/refs/heads/master.zip

video:

Sign In or Register to comment.