12/16/2023 0 Comments Removing ubuntu desktop![]() Logical Unit WWN Device Identifier: 50024e92033cfe47 If I haven't managed to convince you to use the easier solution above continue from here.ġst insure the drive isn't frozen and secure erase is supported:Įxample from a Samsung HD103SJ I found on my shelf: $ sudo hdparm -I /dev/sdd | grep -A9 Security:ġ50min for SECURITY ERASE UNIT. Be aware that depending on circumstances (buggy kernel, firmware, or BIOS or using a USB interface) it appears that it's possible to brick the device at least temporarily by locking your self out of it. This will erase all data on the selected device. Sources: Experience and ( article).Īnother method of wiping a whole drive consists of using the ATA Secure Erase feature implemented on many newer drives. Sudo dc3dd wipe=/dev/sdX tpat=iloveubuntu which will overwrite the drive using the text string iloveubuntu. You can also use a text pattern to overwrite such as Sudo dc3dd wipe=/dev/sdX which will overwrite the entire drive with zeros.Ī more secure approach might be to overwrite using a pattern such as sudo dc3dd wipe=/dev/sdX pat=FFEEDD which will overwrite the drive using a hexadecimal pattern (in this case FFEEDD) You can find the correct drive using the output of sudo fdisk -l.Īfter determining that the drive is /dev/sdX or whatever you can issue the command ![]() You'll want to determine exactly what drive you are trying to wipe (this is especially important in a multi-drive system). If you don't have it you can install it from the universe repository on a terminal with sudo apt-get install dc3dd. If you're on a single drive system attempting to wipe the root drive you should boot from a live media as mentioned by preferred method for wiping a drive uses dc3dd. Proper Method for UEFI devices if you have private dataĪs says, download DBAN (Darik's Boot And Nuke), burn the ISO to a disc / USB and tell it to erase the diskĪfter performing this, all data is irreversibly gone! Please note that after this, most of your data can still be recovered easily using professional tools. Then delete all the partitions and click apply. I am typing this from a UEFI laptop which can also be bricked by the command.īoot an Ubuntu Live USB / CD and open GParted. So don't try what the other answers talking about rm -rf / say since it only works on legacy BIOS machines. Here is what happened to one Linux user : An Ubuntu command bricked my system? When running the command on a UEFI computer (2012 or newer) you are deleting all the UEFI firmware variables which can cause your PC to be bricked and cannot be repaired without a motherboard replacement on some devices. ![]() DO NOT RUN sudo rm -rf / -no-preserve-root on systems with systemd ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |