Re: LUKS, "no device found"

Robert Markula <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.