Re:Takeover.sh – Wipe and reinstall a running Linux system v...
by exDM69 on Saturday February 11, 2017 @11:15AM
(#13623197)
This only works if you stick to a simple filesystem, not crypto, RAID, etc. Otherwise you'll need to have file system utilities (lvm2, mdadm, cryptsetup, zfsprogrs, etc) on the initrd to get your rootfs mounted.
[ Parent
| on HN ]
Re:Takeover.sh – Wipe and reinstall a running Linux system v...
by LookASquirrel on Saturday February 11, 2017 @01:22PM
(#13623883)
Damn, you are absolutely right!
It never crossed my mind that LVM and similar needs utilities to access the filesystem and to be honest, I thought initrd/initramfs contained only kernel modules, not executables and scripts... ^__^;