Edit: it doesn't really do the same thing. vps2arch could be implemented on top of takeover.sh for better reliability.
Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
11–20 of 80 posts
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#12Pretty cool, although I'm pretty sure I would never use something like this. What has saved my skin on a number of occasions is the ability to boot remote servers into rescue mode and chroot into the broken system. That way you can use package managers, all your diagnostic tools, and everything else the boot image doesn't provide. Basically you just mount the different partitions and then chroot just swaps /proc /sys…
Haha yes, this is the default install procedure for Gentoo! :D
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#13Somebody correct if I am wrong, but this script somehow allows the session to live in the RAM. Once the OS is running directly from the RAM, the hard drive can be wiped and a new OS can be installed. The system is then booted to run off of the hard drive.
IMHO, systemd in container mode can be used instead of fakeinit.
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#14Earlier quoted context omitted.
I like the term rocket surgery, I will steal it from you for sure.
If I'm not mistaken, credit goes to Chris Rock (who is not me).
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#15Earlier quoted context omitted.
If I'm not mistaken, credit goes to Chris Rock (who is not me).
Pretty sure the conflation has been around ever since rocket science and brain surgery have been used as a comparison. :)
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#16Pretty cool, although I'm pretty sure I would never use something like this. What has saved my skin on a number of occasions is the ability to boot remote servers into rescue mode and chroot into the broken system. That way you can use package managers, all your diagnostic tools, and everything else the boot image doesn't provide. Basically you just mount the different partitions and then chroot just swaps /proc /sys…
I recommend to copy a rescue disk iso image or/and network installation image to boot partition and add it to GRUB menu. This way it is possible to boot into working environment without risk to damage root partition. https://wiki.archlinux.org/index.php/Multiboot_USB_drive
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#17Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#18I guess this could be really useful for installing distributions that are not available at some VPS providers.
Re: Takeover.sh – Wipe and reinstall a running Linux system via SSH without reboot
#19Earlier quoted context omitted.
Haha yes, this is the default install procedure for Gentoo! :D
Arch also does it. The first time I encountered this was when I accidentally deleted my EFI partition and was unable to boot. Boot into live media, chroot, run grub-install and rejoice.