LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-12-2005, 01:11 PM   #1
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Rep: Reputation: 0
"INIT: Going Single User" during boot


I run Mandriva 10.1 official, and have had my share of irritating newbe trouble already. In spite of that I'm very happy for using and LEARNING about Linux.

My latest problem came into existence while trying to install some additional packages by booting with the installation CDs - I know: STUPID thing to do having the graphic Controlcentre and all... (Hard rake?) *lol*

Anyway, here is how the booting goes:
(I have to translate from Norwegian, so have some patience with me...)
...
Switching on Swap-Area [OK]

Starting netprofile: [OK]
INIT: Entering runlevel: 5
INIT: Switching to runlevel: 1
INIT: Sending processes the TERM signal
Sending all the processes the TERM-signal....
INIT: no more processes left in this runlevel
Asking INIT to go to single user mode
INIT: Going to single user
sh-2.05b#

Here I just have to write "exit", and then it continues with the booting with these lines as next:

INIT: Entering runlevel 5
Starting hotplug
Start udev

And then it just goes on until KDE is up and running...

So, not really a BIG problem, but I would rather like it when I do not have to write "exit" every time i boot the system. *lol*
It is INIT version 2.85, it that helps in any way....

-vibeke-

Last edited by vwagheim; 11-12-2005 at 01:13 PM.
 
Old 11-13-2005, 07:02 AM   #2
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Hmmm... OK! I've been looking and looking trough files, and I still can't find where the call for Single User mode is... The call for runlevel 1 is done by the file /etc/rc.d/init.d/single. But why???

Maybe this post belongs in an other forum? Any insights on this? Please?

-vibeke-
 
Old 11-13-2005, 05:11 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
What's in your /etc/inittab? what's the line with initdefault set to?
 
Old 11-14-2005, 06:49 AM   #4
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Hi!

The line in /etc/inittab is just how it should be...:
id:5:initdefault:

But tnx anyway! All help is appreciated

-vibeke-
 
Old 11-14-2005, 01:33 PM   #5
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Hi again!

Still tinkering with my little problem.... Does this help in any way?

$ more /usr/share/doc/SysVinit-2.85/sysvinit-2.85.lsm
Begin3
Title: sysvinit and utilities
Version: 2.85
Entered-Date: 18APR2003
Description: This is the Linux System V init.
This version can be compiled with glibc 2.0.6 and up.
Author: miquels@cistron.nl (Miquel van Smoorenburg)
Primary-Site: ftp.cistron.nl /pub/people/miquels/software
92K sysvinit-2.85.tar.gz
Alternate-Site: sunsite.unc.edu /pub/Linux/system/daemons/init
92K sysvinit-2.85.tar.gz
Copying-Policy: GPL
Keywords: init shutdown halt reboot
End

It says in the sysvinit-2.85.c that it is written for Debian Linux.... Then what the @*% is it doing at a Mandriva system??? Or am I just at the totally wrong planet here? *laughing*

Hope this rings any bells in some one elses genious brains - it sure didn't in mine...

-vibeke-

Last edited by vwagheim; 11-14-2005 at 01:34 PM.
 
Old 11-17-2005, 07:43 AM   #6
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Well, I'm still not giving up.. I have a hope someone will come up with a good idea

I looked in the logs, and here is a cutout from the boot sequence:
...
Nov 17 13:45:23 192 partmon: OK
Nov 17 13:45:23 192 partmon:
Nov 17 13:45:23 192 rc: Starter partmon: succeeded
Nov 17 13:45:23 192 nfslock: rpc.lockd oppstart succeeded
Nov 17 13:45:23 192 rpc.statd[3267]: Version 1.0.6 Starting
Nov 17 13:45:23 192 rpc.statd[3267]: statd running as root. chown /var/lib/nfs/sm to choose different user
Nov 17 13:45:23 192 nfslock: rpc.statd oppstart succeeded
..
This must be when it all stops and jumps into single user mode, and I have to type exit to get it to continue...
..
Nov 17 13:43:42 192 rc: Starter hotplug: succeeded
Nov 17 13:43:47 192 perl: drakupdate_fstab called with --auto --add /dev/sda1
Nov 17 13:43:47 192 udev: Start udev succeeded
...

Any ideas? Or should I just give up and learn to live with it...???

Well, I'm not the girl to give up so easily.... But if none of the Guru's here can help, who can?!?

-vibeke-
 
Old 11-17-2005, 10:03 AM   #7
Reiver_Fluffi
LQ Newbie
 
Registered: May 2005
Location: Borrowstouness, Scotland
Distribution: Mandrive 2006PP & Gentoo
Posts: 4

Rep: Reputation: 0
Quote:
Originally posted by vwagheim
It says in the sysvinit-2.85.c that it is written for Debian Linux.... Then what the @*% is it doing at a Mandriva system??? Or am I just at the totally wrong planet here? *laughing*
Lol!

there's only a few programs in there that are actually written by Mandriva, the rest can be from anyone that has released their program under the GNU. Mandriva simply packsges GNU Linux programs, maybe patch a few, adds a couple of their own (e.g. drak....) and you got Mandriva! I suppose you would be shocked to know that it was Suse that developed the net_applet that Mandriva uses (in your system tray)?
 
Old 11-17-2005, 10:56 AM   #8
spitfire5c
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu, SuSE + Others
Posts: 23

Rep: Reputation: 15
Hi
This is a complete stab in the dark but are you sure you aren't passing a kernel/bootloader argument telling "init" to enter single user mode? e.g "s" or "S" ---- maybe a typo???

You can check by looking in dmesg log file (/var/log/dmesg) and search for:
"Kernel command line" (w/out quotes of course)
then see if everything looks okay.

As I said, it's just a wild stab... but hey, it might jog someones memory.

Cheers
Ian
 
Old 11-17-2005, 02:49 PM   #9
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Hi Ian!

You might be on to something... I'm not really sure. (Well, I AM a noob!!!) Here is the line, anyway:
...
Kernel command line: auto BOOT_IMAGE=linux ro root=342 failsafe
...

Does it tell you anything???
Well, I know failsafe takes me into command mode, but not like this... It doesn't continue to the GUI when I type exit in failsafe - it just goes back to "login-screen" in the tty.
Thank you SO much, anyway! Really appreciate it!

Tnx for the answer from Reiver_Fluffy too! Lol!! I'm not really shocked, but it's interesting to learn! All new knowledge adds to the greater picture. I'm just adding one small piece after another How many pieces can there be???

-vibeke-
 
Old 11-17-2005, 03:54 PM   #10
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
vwagheim can you please post the contents of /etc/lilo.conf
 
Old 11-17-2005, 05:27 PM   #11
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
Hi tkedwards!

Tnx for taking an interest!
Of course I can print the contents:

...
# more /etc/lilo.conf
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/no-latin1.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hdb2
initrd=/boot/initrd-2.6.8.1-12mdksmp.img
append="failsafe"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
image=/boot/vmlinuz
label="failsafe"
root=/dev/hdb2
initrd=/boot/initrd.img
append="failsafe acpi=ht"
read-only
...

So, did this ring any bells?

-vibeke-
 
Old 11-17-2005, 05:56 PM   #12
spitfire5c
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu, SuSE + Others
Posts: 23

Rep: Reputation: 15
Hi

Okay, edit your lilo.conf file and remove the line :
append="failsafe"
the one thats 3 lines below 'label=linux'

rerun lilo to write the changes

Reboot and select linux and you should be good to go

Cheers
Ian
 
Old 11-18-2005, 08:00 AM   #13
vwagheim
LQ Newbie
 
Registered: Sep 2005
Location: Germany
Distribution: Mandrake 10.1 off
Posts: 13

Original Poster
Rep: Reputation: 0
IT WORKED!!!!!

Thank you SO much, Ian! I newer thought of going into lilo.conf. I thought that all configurations about lilo was done graphical where I choose wether to use lilo or grub... That's how much I know!

Again: I'm very grateful!

-vibeke-
 
Old 11-18-2005, 08:38 AM   #14
spitfire5c
LQ Newbie
 
Registered: Nov 2005
Distribution: Ubuntu, SuSE + Others
Posts: 23

Rep: Reputation: 15
You're welcome
Make sure you give yourself a pat on the back for sticking with it

Ian

Last edited by spitfire5c; 11-18-2005 at 09:06 AM.
 
  


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
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 03:29 PM
normal user want to perform "init 6" by using " sudo acbenny Linux - General 3 08-08-2004 07:41 AM
2.6.3 kernel upgrade reiserfs boot problems "no init found" riskable Mandriva 3 05-28-2004 04:11 PM
Linux boot hang : "init: error loading shared libraries" colinprice72 Linux - General 0 01-16-2004 09:04 AM
RH "null" beta system freezes right after printing "INIT" markus1982 Linux - Hardware 0 09-09-2002 03:31 PM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration