LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-03-2004, 08:45 PM   #1
Dutch_Can
LQ Newbie
 
Registered: May 2004
Posts: 6

Rep: Reputation: 0
Kernel problem


Can someone please explain on how to get rid of this:

I upgraded my kernel to Kernel 2.6.3-9mdk

But ever since i reboot i get this

Code:
mandrake linux 10.0 (official) for i586
kernel 2.6.3-9mdk on an i686/ttyl
S01060002444659d7 login:
I never had this before what to do to get rid of this
Thanks in advance
 
Old 05-04-2004, 12:14 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
well, well.... either the inittab has changed the default runlevel to 3... or the boot loader (LILO, for example) set up that kernel to start al runlevel 3... or ur X server is failling to start.

If you login there.... what is the runlevel? 5?
 
Old 05-04-2004, 10:56 AM   #3
Dutch_Can
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I can login with init5 no problem but i just want the normal login back it makes it easier for the rest of the family as well

Btw:i didn introduce myself but HIYA i am fresh and new with Linux but liking it alot
 
Old 05-04-2004, 02:07 PM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
well.... that sounds like inittab was changed (somehow).

as root, check the file /etc/inittab

there must be a line like id:3:initdefault:

That means that the default runlevel is 3... therefore, no X... so change that 3 to 5... and that should be it.
 
Old 05-06-2004, 12:34 PM   #5
Dutch_Can
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks.............i found the intittab opened it with Kwrite tried to edit it but then it said that I don't have permission how the heck do I change this?
 
Old 05-06-2004, 05:49 PM   #6
cb_linus
Member
 
Registered: Dec 2003
Location: UK
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
Open a terminal (e.g Konsole) and cd to /etc and either:

type: su
type: [password]
type: chmod 777 inittab

You can then edit your inittab with a text editor. Remember to change your permissions back tho when you've finished (chmod 644 inittab)

...and that's it

*or*

type: su
type: [password]
open up a text editor, eg.

type: vi inittab
(edit the file (you may need to press the insert key to start, then esc once you've finished). Then ':wq' to write/save and quit)
or (easier) type: kwrite inittab
edit the file, save & close, and exit from root (ctrl+d or type 'exit')



[edit: when you update Mandrake 10 (if that's the distro your using) there a download that offers to change your inittab so that it defaults to runlevel 3 (it's one of the files you're prompted to 'inspect')]

Last edited by cb_linus; 05-06-2004 at 05:52 PM.
 
Old 05-06-2004, 09:24 PM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
hey.. there's no need to change permission to edit it. Just log in as root ad use vi (that is going to take some effort to learn how to use it)... or simply open a graphical console, login as root and call kate /etc/inittab

Only root should be able to handle the file... so you SHOULDN'T change that file's permission.
 
Old 05-07-2004, 10:47 AM   #8
cb_linus
Member
 
Registered: Dec 2003
Location: UK
Distribution: Gentoo
Posts: 81

Rep: Reputation: 15
Quote:
eantoranz:
hey.. there's no need to change permission to edit it. Just log in as root ad use vi (that is going to take some effort to learn how to use it)... or simply open a graphical console, login as root and call kate /etc/inittab

Only root should be able to handle the file... so you SHOULDN'T change that file's permission
Good point That was my second solution (using vi or even kwrite to edit inittab as root). I was just trying to suggest an easy solution (with instructions to change permissions back at the end). Though I guess it's a good habit to learn how to edit without changing permsissions, so point taken
 
Old 05-07-2004, 01:11 PM   #9
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
well.... it sounds like I have learned something about system administration after all.
 
Old 05-07-2004, 03:21 PM   #10
Dutch_Can
LQ Newbie
 
Registered: May 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Many thanks it helped
and i learn alot in this forum great job
 
  


Reply



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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:49 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