LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Can I uninstall my OS through the Terminal? (http://www.linuxquestions.org/questions/linux-desktop-74/can-i-uninstall-my-os-through-the-terminal-4175462947/)

_Blake 05-21-2013 09:54 PM

Can I uninstall my OS through the Terminal?
 
It is kind of a big long story/mess, and it is going to be much better to clean off the OS and reinstasll it.

evo2 05-21-2013 09:59 PM

Hi,

you don't need to explicitly "uninstall". Just run the installer and wipe the partition in question.

Evo2.

_Blake 05-21-2013 10:23 PM

I don't want to sound like a jerk here, but is there a way uninstall through the terminal?

I just built this computer and there are 0 important documents, and this mess seems to get deeper and deeper. Please tell me there is a way to uninstall.

schneidz 05-21-2013 10:25 PM

this is obviously very destructive
Code:

dd if=/dev/zero of=/dev/sdx bs=8192
replace x with whatever device is assigned to your drive -- i would run it from a live-usb.

evo brings up a good point. its not practical(possible) to uninstall an os. it makes more sense just to install another os over it replacing it in the process.

_Blake 05-21-2013 10:29 PM

So this will unstall the OS and allow me to reinstall again later?

and by destructive you mean to the OS not potentially dangerous to Hardware right?

If it is on the hard drive do i replace x with HDD

Also do you mean use a disk to run the new OS or to run the code you gave me?

schneidz 05-21-2013 10:34 PM

this will overwrite all the files on the disk drive with all 0's (as well as waste your time).

evo's advice is to re-install the os and at the partitioning stage, instruct it to format and overwrite your partition/drive.

_Blake 05-21-2013 10:40 PM

all right. will go to the Ubuntu site and try to re download. will msg with results.


All times are GMT -5. The time now is 06:30 PM.