Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to boot into text mode (to access the terminal)
i messed up my xorg.conf and X won't load properly and just hangs but i have my xorg.conf backed up and can just replace the bad one if i could find a way into the terminal....how do i do this?
It depends on a number of factors such as what distribution of Linux you are using. Most distros have a file in /etc called inittab that contains the default run level. However, since you are not able to boot, you are probably looking for a solution that can be used at boot time.
Can you just let it hang and do crtl-alt-f2 or f6 just to get to a virtual terminal and login as root then cd to your Xorg.conf Dir and edit the file using a editor like joe or something?
Or if you made a back up file (which is the default of most editors) you can just do the Virtual terminal thing and delete the new Xorg.conf file you made.
"rm -d xorg.conf"
Hope that helped alittle
When you boot into grub, select whatever option you use normally to boot. Instead of pressing enter, press e. Find the line that contains the name of your kernel, it should say kernel and then a path and press e again. Insert the word single after root=/dev/whatever and press enter. Then push b to boot. This will boot your installation in what is known as single user mode, with no GUI.
You may have a password on your bootloader. I am not familar with how SuSE works in terms of it's boot loader setup. If this is the case, I believe you will have to press p and enter your password before you can follow the above instructions.
When you boot into grub, select whatever option you use normally to boot. Instead of pressing enter, press e. Find the line that contains the name of your kernel, it should say kernel and then a path and press e again. Insert the word single after root=/dev/whatever and press enter. Then push b to boot. This will boot your installation in what is known as single user mode, with no GUI.
You may have a password on your bootloader. I am not familar with how SuSE works in terms of it's boot loader setup. If this is the case, I believe you will have to press p and enter your password before you can follow the above instructions.
If you find yourself needing single user mode a lot, I believe you can add a new stanza to your boot.conf file with your "single" (my FC4 accepts a "1" here) already edited into the line. Then to go single user, just select it from the menu.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.