LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-18-2003, 10:44 AM   #1
rastavideo
Member
 
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 15
Angry 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
 
Old 08-18-2003, 10:51 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
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.
 
Old 08-18-2003, 05:51 PM   #3
rastavideo
Member
 
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
Talking

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
 
Old 08-18-2003, 05:56 PM   #4
rastavideo
Member
 
Registered: Jan 2003
Location: Texas
Distribution: Ubuntu
Posts: 66

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer in endless reboot cycle apocoloco Linux - Software 3 09-12-2005 08:58 AM
Release Cycle? ubuntu-addict SUSE / openSUSE 12 11-17-2004 03:55 PM
Linux is stuck in the Boot Cycle!!! Diademed Linux - Newbie 10 11-08-2004 10:11 PM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 02:46 PM
Linux Boot stuck in endless loop. gbarcalo Linux - Software 1 12-03-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration