On 1 Apr 2024, at 18:21, Thomas Cameron thomas.cameron@camerontech.com wrote:
On 4/1/24 00:25, Javier Perez wrote:
When I realize I need to nuke my machine and start over, it's: sudo -i dmesg > /dev/nvme1n1 systemctl reboot Choose the right kickstart from the menu. Refill coffee. Go back to working as if nothing happened. My home directory is there and my machine is reset to sane defaults. -- Thomas Neat! Is there a tutorial somewhere about how to do this?
Not that I know of. I saw it in some article decades ago. Basically, what you're doing is overwriting the first few k of the disk, which overwrites the boot instructions and partitions and the like.
I tend to dd of a few MiB of zeros over the front of the disk. A few KiB is often not enough. In some cases you also need to overwrite at the end of the disk I have been told.
Barry
Unless you're talking about kickstart or something else?
Thomas
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue