LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-09-2006, 05:40 PM   #1
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 258

Rep: Reputation: 53
Slackware 10.2 boots to run level 1


Hello.

I'm new to Slackware and BSD style init, but I have been running Debian for about a year.

I downloaded 10.2 from the Slackware site using bit torrent, burned a cd, and installed the distribution with no errors. The only variation from the normal install is that I didn't install lilo because I am already using grub.

My problem is the system always ends up in run level 1. I have tried changing the default runlevel in initab to 4 but it still boots to run level 1. telinit from level 1 to 3 or 4 works fine.

My inittab file:
Code:
id:3:initdefault:
si:S:sysinit:/etc/rc.d/rc.S
su:1S:wait:/etc/rc.d/rc.K
rc:2345:wait:/etc/rc.d/rc.M
ca::ctrlaltdel:/sbin/shutdown -t5 -r now
l0:0:wait:/etc/rc.d/rc.0
l6:6:wait:/etc/rc.d/rc.6
pf::powerfail:/sbin/genpowerfail start
pg::powerokwait:/sbin/genpowerfail stop
c1:1235:respawn:/sbin/agetty 38400 tty1 linux
c2:1235:respawn:/sbin/agetty 38400 tty2 linux
c3:1235:respawn:/sbin/agetty 38400 tty3 linux
c4:1235:respawn:/sbin/agetty 38400 tty4 linux
c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
x1:4:wait:/etc/rc.d/rc.4
When booting the last lines of the boot sequence are:

Quote:
using/etc/random-seed to initialize /dev/urandom

sending all processes the sighup signal
waiting for all processes to hangup
sending all processes the sigterm signal
waiting for all processes to terminate
sending all processes the sigkill signal
waiting for all processes to exit

going to single user mode
There are no error logs or messages because the log deamons don't get started.

Thanks in advance for any help!!!

Norm
 
Old 02-09-2006, 07:22 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
What do you have in your grub.conf file for the Slackware kernel? It sounds like the boot up process is being forced into single user mode.
 
Old 02-09-2006, 07:57 PM   #3
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Heres your problem (correct me if I'm wrong):
"id:3:initdefault:"

The '3' should = 4 instead. According to the inittab file, your booting to "init 3", which is multiuser CLI mode.
As you know "init 4" is what you want.
 
Old 02-09-2006, 09:00 PM   #4
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 258

Original Poster
Rep: Reputation: 53
booting to run level 1 solved

Steve,

You are correct about it being forced! Thanks for pointing me in the right direction - grub. I have been pounding my head against the wall (you should see the wall) trying to figure out what is going on in rc.d and all of the time it was the way I had grub configured. I recently switched from lilo and just copied menu.lst from LFS.

Code:
title		Debian GNU/Linux, kernel 2.6.14.3.120205
root		(hd1,8)
kernel		/boot/vmlinuz-2.6.14.3.120205 root=/dev/hdb9 ro 
savedefault
boot

title		LFS
root		(hd1,4)
kernel		/boot/lfskernel-2.6.11.12 root=/dev/hdb5 ro single vga=769
savedefault
boot

title		Slackware 2.6.13
root		(hd1,9)
kernel		/boot/vmlinuz root=/dev/hdb10 ro single vga=769
savedefault
boot
The single was the problem. Don't know why I didn't have it on my Debian line.

I should really do some reading before just blindly installing something or next time I might break something.

Thanks for responding Dankles!

'preciate the help!!!!

Norm
 
Old 02-09-2006, 09:59 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
No problem - glad it's working
 
  


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
Run Level 3 webwolf70 Mandriva 5 01-17-2005 11:41 PM
How to setup shells to run when the server boots/shuts down Colmenares Red Hat 2 08-19-2004 05:04 PM
run level 4 sethgeekx86 Slackware 2 04-15-2004 07:43 PM
run level whaase Linux - General 3 10-07-2002 10:07 PM
Run Level POWERBOOKM Linux - Newbie 2 12-01-2001 09:44 PM


All times are GMT -5. The time now is 03:08 PM.

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