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?
poc
To further clarify, my system uses NVMe drives (/dev/nvme0n1 and
/dev/nvme1n1). So when I do dmesg > /dev/nvme1n1 as root, it overwrites
the first few hundred k of the NVMe disk, nuking the partition tables
and boot instructions and the like. Then when I reboot, it causes my
machine to PXE boot. You can nuke any drive by writing to the first few
sectors, so it could have been /dev/sda, /dev/vda, /dev/xvda, or whatever.
--
Thomas
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue