Automatic Runlevel 5 Boot Problem
Hi folks, I am having a problem booting into runlevel 5. Before anyone says edit /etc/inittab, or use YAST2 here's my default pasted right out of inittab # The default runlevel is defined here id:5:initdefault: From what I have read, that means I should be runlevel 5. Here's the history. I'm running SUSE Pro 8.2 and wanted to be able to copy a CD in K3B. K3B was not recognizing my CD reader. SUSE had this helpful article at: http://portal.suse.com/sdb/en/2003/04/tsaupe_k3b.html I tried to follow the directions but munged something and after rebooting got a kernel panic. I booted into Linux safe mode (Grub is my default boot manager) went to try and undo what I had done in YAST2. I obviously really screwed up, because I could not find my change. Anyway, In YAST2 Boot Loader Setup there is a "Propose New Configuration". I ran that and accepted what it recommended. Now the system boots fine into runlevel 3. YAST2 says it should be runlevel 5, inittab says it sould be run level 5, yet I get runlevel 3. I can log into my box and execute an "init 5" and everything comes up fine (as far as I can tell). Somehow, I'm still zigging when I should be zagging. Any helpful hints ? The boot log does NOT show any errors that I can tell. It has to be something simple, but right now I haven't got a clue. --- Charles
Charles Kunce wrote:
I am having a problem booting into runlevel 5.
Before anyone says edit /etc/inittab, or use YAST2 here's my default pasted right out of inittab
# The default runlevel is defined here id:5:initdefault:
From what I have read, that means I should be runlevel 5.
Here's the history. I'm running SUSE Pro 8.2 and wanted to be able to copy a CD in K3B. K3B was not recognizing my CD reader. SUSE had this helpful article at:
I tried to follow the directions but munged something and after rebooting got a kernel panic. I booted into Linux safe mode (Grub is my default boot manager) went to try and undo what I had done in YAST2. I obviously really screwed up, because I could not find my change. Anyway, In YAST2 Boot Loader Setup there is a "Propose New Configuration". I ran that and accepted what it recommended.
Now the system boots fine into runlevel 3. YAST2 says it should be runlevel 5, inittab says it sould be run level 5, yet I get runlevel 3. I can log into my box and execute an "init 5" and everything comes up fine (as far as I can tell). Somehow, I'm still zigging when I should be zagging. Any helpful hints ? The boot log does NOT show any errors that I can tell. It has to be something simple, but right now I haven't got a clue.
Look in the menu selection you are choosing to boot in the file /boot/grub/menu.lst on its kernel line. Is there a single digit "3" on that line? If so, it is overriding the inittab entry, forcing boot to runlevel 3. Either delete it, or change it to a 5. I always set my runlevel on the kernel line, intentionally disregarding whatever is in inittab, since I have multiple entries to choose from in my boot menu, for various boot options, including the runlevel. -- "Cast your cares on the Lord and He will sustain you." Psalm 55:22 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://members.ij.net/mrmazda/
On Saturday 03 September 2005 23:03, Felix Miata wrote:
Charles Kunce wrote:
I am having a problem booting into runlevel 5.
<snip>
It has to be something simple, but right now I haven't got a
clue.
Look in the menu selection you are choosing to boot in the file /boot/grub/menu.lst on its kernel line. Is there a single digit "3" on that line? If so, it is overriding the inittab entry, forcing boot to runlevel 3. Either delete it, or change it to a 5. I always set my runlevel on the kernel line, intentionally disregarding whatever is in inittab, since I have multiple entries to choose from in my boot menu, for various boot options, including the runlevel. -- "Cast your cares on the Lord and He will sustain you." Psalm 55:22 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/
Thanks Felix, That was it. I feel like a complete dummy. It was simple, a 1 character change. Here's hoping someday I can return the favor. -- Charles
participants (2)
-
Charles Kunce
-
Felix Miata