Ubuntu – Reinstalling Ubuntu via Terminal

command linesystem-installationtty

I've currently encountered some issues with ubuntu causing me to be stuck in tty mode.
I already tried fixing the issue but since I'm not sure of what really happened for this issue to occur I now just want to reinstall ubuntu.
I was wondering if there is a way to reinstall ubuntu via terminal?
I'm currently running 12.04.4 lts and I already tried the command line:
sudo dpkg-reconfigure -phigh -a
But that didn't do anything (after ~10 min of nothing happening a new command line appeard, I tried to restart but nothing changed)

Any help is highly appreciated
Thanks

Best Answer

Reinstall Ubuntu Operating System

You can install programs/applications via Terminal, but in neither case an operating system. The Terminal is good and you can do a lot of things with it, but this time you will need more than only the Terminal to reinstall Ubuntu.

Please read the following community wiki to find out what you need:

Reinstall Ubuntu desktop system

If you are referring only to the Ubuntu desktop system package, then you can use the following command to reinstall it:

sudo apt-get install --reinstall ubuntu-desktop
Related Question