Как установить линукс через консоль

Reinstalling Ubuntu via Terminal

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

Have you tried the second choice in the boot menu, the one saying ‘linux image generic [recovery mode]’, and not the first one which says ‘linux image generic’. Once you get to the recovery screen, choose the repair option from the menu. It should work especially if you have a working Internet connection up and running.

Thank you for your quick response, and Yeah I’ve tried that but it just goes to a bigger terminal screen and the last thing it says is «[9.122663] init: Failed to spawn console-setup main process: unable to execute: No such file or directory».

Change your keyboard, use another one, i mean use some USB keyboard or better a ps/2 keyvoard if you can plug it in. What you just experienced seems to be a bug which has something to do with the keyboard. Maybe it will work with a generic keyboard.

@floppy, the recovery screen gives you the option to repair ( fsck ) a damaged filesystem, which has no need for a network connection, and is quite unlikely to help anyhow.

Читайте также:  Scp file linux to windows

The recovery screen fixed my issues for a few times in the past. It uses sudo apt-get update and sudo apt-get upgrade, and it can download missing packages from the Internet or fix broken packages. I may be wrong since I am completely new to all this Linux experience.

Источник

Оцените статью
Adblock
detector