LUKS, "no device found"

Robert Markula robert at markula.org
Sat Jan 29 22:20:03 CET 2022


Am 29.01.22 um 01:45 schrieb Ian Eure:
> After wiping the partition table, FAI is able to install without 
> errors and I get a bootable system at the end.

For sustained wiping of disks you could use something along these lines:

<snip>
mdadm --stop /dev/md0
mdadm --zero-superblock --force /dev/sda
sgdisk --zap-all /dev/sda
</snip>

or use the mighty (and dangerous) "wipe-all"-hook at [1].

But be careful to wipe the correct disk(s)! Automated wiping of disks 
can be pretty catastrophic, especially in multi-disk setups. For local 
servers I personally tend to physically remove all disks that should be 
conserved during FAI installation, just in case.

Robert

[1] https://fai-project.org/download/misc/wipe-all


More information about the linux-fai mailing list