I botched a gnome install on my virtual box and now when it boots it just hangs up at a black screen. I wante to get back into a command line and uninstall/reinstall gnome...
Asked
Active
Viewed 9.8k times
5
-
1After all fails you can still boot into a root shell. – Takkat Dec 04 '14 at 07:48
-
I don't even know what the hell happened but somehow my box ended up booting to a command line after rebooting several times...so I din't even really get a chance to try any of your answers... – Matt44 Dec 04 '14 at 20:30
2 Answers
5
Edit the entry from the Grub screen when it comes up (press e
)
Find the kernel line and add either single
or init=/bin/sh
to the end of it then press Ctrl
+X
to boot.
Alternatively have you tried pressing Ctrl
+Alt
+F1
to get to a terminal?
-
1You might also try mashing Esc while the computer is booting. see https://wiki.ubuntu.com/RecoveryMode – chenjesu Feb 24 '21 at 21:59
5
ya, if grub doesn't show a menu, hold [shift] when it's starting. Go to your Ubuntu version's menu item, and press 'e' to edit. Go down to the linux start line, which contains 'vmlinuz' followed by a bunch of other fun stuff. Insert 'text' before the part '$vt_handoff'. Removing 'splash' and 'quiet' will let you see what's going on. You should try that while trying to boot into desktop graphics as well!

tux0redup
- 176