Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Force boot into Linux command line [closed]

I am trying a number of settings on my Ubuntu 11.10 box. Unfortunately, I messed up some settings and the X window does not boot up.

I need to boot into command line to restore some settings.

However, everytime I boot, the system hangs at the Ubuntu welcome screen. All I can do is to reboot the machine.

Is there anyway I can boot into the command line directly?

Many thanks

like image 938
Kevin Avatar asked Dec 08 '11 23:12

Kevin


People also ask

How do I force Linux to start?

To reboot Linux using the command line: To reboot the Linux system from a terminal session, sign in or “su”/”sudo” to the “root” account. Then type “ sudo reboot ” to reboot the box. Wait for some time and the Linux server will reboot itself.

What does Systemctl reboot do?

systemctl. The system will be restarted immediately. When the reboot is initiated, all logged-in users and processes are notified that the system is going down, and no further logins are allowed. Linux will close all open files, stop the running processes, and restart the system.


1 Answers

To switch back and forth from X to CLI is by using the virtual terminals. You can boot into X and then hit Ctrl+Alt+<Fn> where Fn is a function key from F2 to F6. To return to X is with Ctrl+Alt+F7

like image 108
amrfaissal Avatar answered Oct 13 '22 09:10

amrfaissal