Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
08-18-2003, 10:44 AM
|
#1
|
Member
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66
Rep:
|
redhat endless cycle of trying to boot X
I have Redhat 9 which was launching fine using runlevel 5 until few days ago. I believe my hda drive got too full, and now when I boot the computer, it run through the dmesg stuff, tries to launch X, and fails. It tries to relaunch and fails, and so on, with no end in sight.
Does it ever time out so that I can get a log in prompt and change the run level? I know what to edit, the problem is I can't get there from here.
I found the documentation on Redhat 9 for changing the runlevel using GRUB. I tried and it asks for a password to access the menu. I don't recall giving GRUB a password, and both my root and user passwords don't work. I tried giving it no password, and of course, that failed. Could there be a default password?
Lastly, is there a way to kill the cycle of launch and fail from the console?
## thanks
|
|
|
08-18-2003, 10:51 AM
|
#2
|
Member
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362
Rep:
|
If you didn't set a grub password, then it shouldn't prompt you for one. Try booting with 'single' as a boot parameter. If that doesn't work, try using Ctrl+Alt+Backspace to 'crash' out of the X session and drop you to a login. Or try Ctrl+Alt+F1 to get yourself to the first text virtual terminal. Lastly, you can use the Red Hat 9 boot CD to boot into 'linux rescue' which will drop you to a shell from the CD where you can mount the partition containing /etc (probably /) to modify /etc/inittab.
|
|
|
08-18-2003, 05:51 PM
|
#3
|
Member
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66
Original Poster
Rep:
|
Okay, I did a little more looking on the web and found my answer. I had to boot from my Redhat disk 1 and choose "linux rescue". It gave me a shell and I typed "chroot /mnt/sysimage". Then I typed "bash" and it gave me a shell I could work with. I called up "/etc/inittab" using vi and changed the runlevel to 3.
Next question: How can I empty the desktop trash from the console? I moved a lot of files there without emptying the trash and if I can delete them, it will free up plenty of space for my desktop to launch properly.
## thanks
|
|
|
08-18-2003, 05:56 PM
|
#4
|
Member
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66
Original Poster
Rep:
|
Bentz --
Thanks for the help. I found my first answer just before you replied.
I did try to use Ctrl+Alt+Backspace to end the X session and Ctrl+Alt+F1 to get a text virtual terminal. For whatever reason, neither worked.
Got any suggestions about emptying trash from the console?
## thanks
|
|
|
All times are GMT -5. The time now is 03:00 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|