On Mon, 2024-03-25 at 12:36 -0500, Thomas Cameron wrote:
On 3/25/24 11:38, Patrick O'Callaghan wrote:
On Mon, 2024-03-25 at 11:07 -0500, Thomas Cameron wrote:
dmesg > /dev/nvme1n1
What's that about?
If you overwrite the first few sectors of the drive (i.e. with the output of the dmesg command), it nukes the boot instructions. It causes my machine to PXE boot and I kickstart it.
Sorry, I should have been more clear about that. It could be anything. I used to use dd if=/dev/zero of=/dev/nvme1n1 bs=1M count=1 but dmesg is quicker to type.
That's what I thought.
poc