Re:Takeover.sh – Wipe and reinstall a running Linux system v...
by gizmo on Saturday February 11, 2017 @08:56AM
(#13622619)
That usually doesn't work for remote servers because you can't access the grub menu over SSH and you want something that works even in those cases that grub or your boot record are trashed. So you just want to do a netboot from a generic rescue iso. Zero dependencies. Works even when your hard drives are severely damaged and you just need to /bin/dd some raw sectors.
[ Parent
| on HN ]
Re:Takeover.sh – Wipe and reinstall a running Linux system v...
by nitrogen on Saturday February 11, 2017 @01:22PM
(#13623886)
Works even when your hard drives are severely damaged and you just need to /bin/dd some raw sectors.
That reminds me of the time when some partitioning utility overwrote the first block of my filesystem and then set the filesystem start to the wrong block. I thought I was hosed, but I managed to use hexdump to find a backup superblock, calculate the correct filesystem offset from that, and dd the backup superblock into the primary location. I may be misremembering some details.
Re:Takeover.sh – Wipe and reinstall a running Linux system v...
by JoshTriplett on Saturday February 11, 2017 @05:59PM
(#13625364)
> That usually doesn't work for remote servers because you can't access the grub menu over SSH
Depends on your environment. My hosting company offers a remote console you can enable that gives access to a virtual serial console via SSH; with that, you can access your bootloader.