View Full Version : [SOLVED] boot drops me into single user shell
newiLuvatar
12th September 2010, 08:34 PM
hi everyone,
I installed f14 tc a few days ago.
now when I start the system, I drops me into a single user shell. I usually type init 3, login as user and then type startx, and I get into gnome.
is this the usual behaviour, or do I have to tweak something? couldn't find anything conclusive in /var/log/messages...
thx!
scott32746
12th September 2010, 10:16 PM
Hello,
Do not know what tc is, but
Check you /etc/inittab and if id: is set to
id:3:initdefault: ____COMMANDLINE
id:5:initdefault: ____GUI
newiLuvatar
12th September 2010, 11:34 PM
tc is test candidate.
the file only says id:5:initdefault:
added the lines, still the same behaviour (those are 4 underscores, right?).
scott32746
13th September 2010, 12:21 AM
OK, you are set up to go into GUI, Does the boot up complete or does it stop at a point ?
You can remove the graphic front at boot up to see the boot.
# vi /boot/grub/menu.lst
add remove rhgb from the kernel line.
Once that is done you can watch the bootup and see what the last thing it tries to start.
marko
13th September 2010, 03:56 AM
tc is test candidate.
the file only says id:5:initdefault:
added the lines, still the same behaviour (those are 4 underscores, right?).
No, he means the contents of the /etc/inittab file should have a line at the bottom
exactly like this:
id:5:initdefault:
(his ___COMMANDLINE and ____GUI were just labels pointing out what each line is for, if the digit is 3 you get acommand line, if it's a 5 it loads the gui)
sonoran
13th September 2010, 06:51 AM
The following thread might be of interest: http://lists.fedoraproject.org/pipermail/test/2010-August/092975.html
I haven't kept up with F14 so I don't know what the current status of this issue is, but if you are using systemd this might help:
http://www.freedesktop.org/wiki/Software/systemd/TipsAndTricks
Scroll down to "Changing the Default Boot Target"; /etc/inittab is being deprecated.
The old standby of adding a 3 or 5 for runlevel to the kernel command line in grub seems to work for some people.
newiLuvatar
13th September 2010, 07:09 PM
hi everyone
thank you for your replies.
apparently the "problem" was systemd, who doesn't honor /etc/initab.
as described in http://www.freedesktop.org/wiki/Software/systemd/TipsAndTricks I did
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
which would have worked fine. but now the greeter seems caught in a loop starting itself.
so I changed it to
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
which at least brings me a step further than before.
I'll do some more tests and maybe file a bug...
newiLuvatar
17th September 2010, 10:15 PM
problem has been fixed. graphical.target takes me to the login screen and I login as usual.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.