You are not logged in.

#1 2009-08-06 18:51:59

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Strange "Enter runlevel:" text on start

I was trying to run X and everything become black because some error with HAL. I restart and get a strange "Enter runlevel" text. Then I type 1 and I get a error:
"No more processes left in this runlevel"
I have try other numbers, but nothing works!
Please help! sad

Offline

#2 2009-08-06 21:19:35

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Strange "Enter runlevel:" text on start

You have a broken /etc/inittab. Boot from a live CD and use it to replace it with the one installed by the "initscripts" package.

Offline

#3 2009-08-07 10:55:30

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: Strange "Enter runlevel:" text on start

Should I use this command to do that?:

pacman -r \mnt -U initscripts

Last edited by CheatCat (2009-08-07 11:15:09)

Offline

#4 2009-08-07 14:38:19

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: Strange "Enter runlevel:" text on start

If you're worried about overwriting something, you can get the file out of the package by hand using plain tar, and copy it in by hand.

Given the importance of inittab, I have to wonder if you'll find there are more things broken after you fix this anyway...

Offline

#5 2009-08-08 18:41:08

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: Strange "Enter runlevel:" text on start

When I installed something, think it was xorg, they ask me if I want remove another thing due conflicts or something..
I manged to (re)install the initscripts by:

pacman -r \mnt -S initscripts

Now the computer starts. But, I can't login as root, only as another user! What should I do? Must I reinstall Arch AGAIN? >_<

Last edited by CheatCat (2009-08-08 18:41:29)

Offline

#6 2009-08-09 05:01:17

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Strange "Enter runlevel:" text on start

Hello!

What do you mean under 'login as root'? At the login prompt, or can't you use command in root mode, and try to use 'su', and then?

Offline

#7 2009-08-09 15:36:19

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: Strange "Enter runlevel:" text on start

I cannot login as root in the login prompt. I have no password because I forget to choose one.. And su doesn't work too, it ask for a password and when I just press enter it say that is wrong.

Last edited by CheatCat (2009-08-09 15:36:37)

Offline

#8 2009-08-09 20:47:27

plurt
Member
Registered: 2008-10-16
Posts: 88

Re: Strange "Enter runlevel:" text on start

well, if you have no root password, you should still be able to log in as root using no password. just press enter. After that just use the 'passwd' command as root to set it.


When everything's coming your way, you're in the wrong lane I say.
FAQ / Beginners Guide / The Arch Way

Offline

#9 2009-08-09 21:09:58

bostonvaulter
Member
Registered: 2008-07-17
Posts: 36

Re: Strange "Enter runlevel:" text on start

or if your user has sudo permissions you can do "sudo passwd root" to set the root password

Offline

#10 2009-08-10 11:27:44

oscurochu
Member
Registered: 2009-08-10
Posts: 2

Re: Strange "Enter runlevel:" text on start

I am having this same problem right after installing xorg and enlightenment. I did 'startx' to test that the x server was set up properly, and my keyboard and mouse didnt work and i realized i forgot to install hal. so i had to hard reboot my computer and now i cannot boot into it.

the method above about fixing the initscripts did not work. it complains initscripts conflicts with udev, remove udev. i tried yes and no, both fail. If i say yes it says it failed to prepare transaction (could not satisfy dependencies). "initscripts requires udev >= 118, hal requires dev >= 141, mkinitcpio requires udev." You can probably guess what would have happened when I said no. lol

I have a wireless connection with my wusb54gc (drivers for the rt73). I also have ubuntu I can boot into which wireless works on.

Offline

#11 2009-08-11 12:21:59

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: Strange "Enter runlevel:" text on start

Yeah, X like to destroy computer OS:s! lol Maybe both you and me must reinstall arch. But I have tired to do that and I am going to search after another dist then.

plurt wrote:

well, if you have no root password, you should still be able to log in as root using no password. just press enter. After that just use the 'passwd' command as root to set it.

But when I type root it says "Login incorrect"! It doesn't even ask for a password! Seems that I have manged to remove root in some way! tongue
And the other user have no sudo permissions.. sad

Last edited by CheatCat (2009-08-11 12:40:26)

Offline

#12 2009-08-11 12:45:19

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Strange "Enter runlevel:" text on start

oscurochu wrote:

the method above about fixing the initscripts did not work. it complains initscripts conflicts with udev, remove udev. i tried yes and no, both fail. If i say yes it says it failed to prepare transaction (could not satisfy dependencies). "initscripts requires udev >= 118, hal requires dev >= 141, mkinitcpio requires udev." You can probably guess what would have happened when I said no. lol

That will be fixed with a -Syu.

Offline

#13 2009-08-14 09:28:18

CheatCat
Member
Registered: 2009-07-10
Posts: 54

Re: Strange "Enter runlevel:" text on start

Yes, I have tried that also, but it didn't work..
Have initscripts something to do with root? I think that because I cannot login as root after reinstalling initscripts..

Offline

#14 2012-04-27 12:31:33

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: Strange "Enter runlevel:" text on start

This problem occured to me when I commented both:

# Boot to console
#id:3:initdefault:
# Boot to X11
#id:5:initdefault:

and uncommented the login manager below, thinking just the login maganer was needed.  But no smile.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#15 2012-04-27 14:07:22

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Strange "Enter runlevel:" text on start

Gen2ly, you silly necromancer tongue
necropost2.jpg

Last edited by Mr.Elendig (2012-04-27 14:08:20)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#16 2012-04-27 14:44:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: Strange "Enter runlevel:" text on start

And on that note....

CLosing
Our policy


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB