View Full Version : [ubuntu] how can i enter comand line?

November 22nd, 2009, 11:04 AM
hello brothers,

my questions is, if i lost my gui, and no command line appeard
how can i enter a command line?
+how can i enter from a cd and then to the command line so i can fix my probem?!

#i don't want to lose my files, so noone comes and tell me to reinstall it

thank you

November 22nd, 2009, 11:15 AM
boot into recovery mode

November 22nd, 2009, 11:25 AM
thank you verymuch for the reply,
but sorry, but can you explain me how to do so?

November 22nd, 2009, 11:28 AM
if you are using grub 1.97 beta or if you are using karmic, just pick the recovery console/mode and boot into it.
if you are using an earlier version of ubuntu, press esc before grub boots into ubuntu and the select recovery console/mode
see: https://wiki.ubuntu.com/RecoveryMode

November 25th, 2009, 05:09 PM
thank you brother :)

November 25th, 2009, 05:25 PM
You can also press alt+f2 then type

sudo apt-get install ubuntu-desktop
for gnome desktop and check the box
that says run in terminal.I have never
tried doing it that way but it should
work it did at one time anyway.

November 25th, 2009, 07:20 PM
Worse case scenario grab the liveCD you installed from (valuable tool, so if you don't have it make it) and boot from it. Select try ubuntu without changes to computer. There (unless you chose to encrypt your home folder) all you have to do is pull up terminal, mount your hdd disk drive and a backup device (even if its a crud load of cd-rs) and copy over your files! Long live liveCD! I've never had to use it for backup but I've had to repair my grub with it a time or two.