Why would I want to wipe my drive?
You're looking to uninstall CloudReady-- it either wasn't for you or your device/model didn't work! This guide will tell you how to wipe CloudReady from your drive: but crucially, this will not restore your prior operating system. In order to reinstall your old operating system, you must use the recovery (or installation) media like you would on a blank computer after following these instructions.
How do I wipe my drive?
- Download a new copy of the free Home Edition of CloudReady
- Follow our guide to make a live-bootable USB
- Plug that USB in on the prexisting, fully-installed CloudReady machine that you want to wipe.
- Again following the guide, boot from the new USB stick and sign in (any user).
- Press crtl+alt+t to access the command line.
- Run the cmd "shell" so that you yellow "crosh" prompt becomes a green "chronos@Localhost" prompt.
- Run the command "sudo fdisk -l" (if asked for the password, it will be "chrome" as long as you are using the Home Edition)
- Take note of the devices that list out. There should be 2-4 large sections, each of which has between a few and 25 lines of information. You need to identify which device is your internal HDD (which you want to erase).
- You internal HDD and your USB stick will both show 27 partitions. They'll be listed line-by-line as /dev/sd[X]1, /dev/sd[X]2, /dev/sd[X]3, .... /dev/sd[X]27, where [X] will be replaced by a letter (usually "a" or "b").
- You can discern your internal drive from your USB by look at the top-line of the section to see what the total "size" (in GB) is of the device.
- Once you know the proper letter for [X] on the internal drive, you should run the command "sudo umount /dev/sd[X]*"
- When you're 100% sure you want to wipe ALL DATA ON THIS DISK, you can run the command "sudo dd if=/dev/urandom of=/dev/sd[X]"
- Pro Tip: This is a randomized overwrite that will make recovery more difficult than overwriting with plain zeros.
- If it's working, the command line will move to a empty row: this step will take quite some time, depending on the size of hard drive to be randomized/wiped.
- Once finished, the machine will restart and you will have a device with a blank HDD, ready for you to install or recover your operating system.