Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

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


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:
ca::ctrlaltdel:/sbin/shutdown -t5 -r now
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
When booting the last lines of the boot sequence are:

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!!!

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

Rep: Reputation: 164Reputation: 164
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
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

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

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
Registered: Feb 2006
Distribution: Debian Sid
Posts: 526

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


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.

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

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

title		Slackware 2.6.13
root		(hd1,9)
kernel		/boot/vmlinuz root=/dev/hdb10 ro single vga=769
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!!!!

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

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


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 11:41 PM.

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