Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th June 2011, 10:28 AM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Exclamation Problems trying to run level 3...

Hi everybody!...

Well I really don't understand why Fedora Project has changed the way to start in the level what I need by changing the inittab file... ... Now is a bit complicated and following the instruction in the fedora.wiki the only thing I get is block my access to the graphical interface and blocked the access to my shell.

I've deleted the original 'default.target' file and replaced it by the multi-user.target pointing out to the 'runlevel3.target'. Thus the only thing is my blue screen with Fedora logo freezed.

So the question is: How to recover my graphical interface?

Thank you for your help!
Reply With Quote
  #2  
Old 30th June 2011, 10:50 AM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: Problems trying to run level 3...

Quote:
Originally Posted by afdiaz View Post
Hi everybody!...

Well I really don't understand why Fedora Project has changed the way to start in the level what I need by changing the inittab file... ... Now is a bit complicated and following the instruction in the fedora.wiki the only thing I get is block my access to the graphical interface and blocked the access to my shell.

I've deleted the original 'default.target' file and replaced it by the multi-user.target pointing out to the 'runlevel3.target'. Thus the only thing is my blue screen with Fedora logo freezed.

So the question is: How to recover my graphical interface?

Thank you for your help!
I can only say by undoing everything you did on the wiki. Without a link to the wiki or a clear idea of what it is that you changed then it's not really possible to help you.

If you want to get into run level 3 still because you want to fix the frozen screen the quickest and easiest is to add a 3 to the end of the kernel line in the boot menu.

To do that at the boot menu press e to edit the menu item, arrow down to the kernel line and put in 3 at the end of that line with a space before it of course.

Then I think it is ctrl b or ctrl x to boot and you will get into init 3

If you want to make it permanent for some reason just edit the /boot/grub/menu.lst or grub.cfg file to do it.
Reply With Quote
  #3  
Old 30th June 2011, 11:17 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxredhatfirefox
Re: Problems trying to run level 3...

After you add the "3" you press enter and then press "b" to boot.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 30th June 2011, 11:31 AM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Re: Problems trying to run level 3...

Well... below what I did:

Quote:
# rm -rf /etc/systemd/system/default.target
# ln -sf /lib/systemd/system/runlevel3.target /etc/systemd/system/default.target
After that the blue screen with Fedora logotype is freezed.

I've followed your instruction adding '3' at the end of the kernel line in the boot menu and I can access directly to my shell but I get the following error message:

Quote:
Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.
The idea to start in level 3 is just because I need install the NVIDIA graphic driver allowed to be installed out of the graphic mode.

After try to install my .sh file, I get the message below:

Quote:
You appear to be running in level 1...... It's recommended that you quit installation now and switch to runlevel 3 (`telinit 3`) before installing.
Next step is try to change to level 3 through the suggested command line, but I get this message:

Quote:
# telinit 3
Failed to issue method call: Unit multi-user.target failed to load: invalid argument.
#
Apparently the 'systemctl' takes control of all services. So, as all services are stopped, I've started the 'network' service in order to update my system through 'yum'. I get around 263 updates including the 'xorg-x11-drv'.

I've restarted my machine, but I get the same fereezed screen!.

Thank you for any help.
Reply With Quote
  #5  
Old 30th June 2011, 02:28 PM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: Problems trying to run level 3...

Ok your command ln -sf /lib/systemd/system/runlevel3.target /etc/systemd/system/default.target is actually linking you to the rescue service.

When you boot add 3 to the kernel line again in the boot menu then login and run this command instead

Code:
ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
Then you reboot and you can then follow this guide to install the nvidia drivers from step 3:

http://www.my-guides.net/en/guides/l...allation-guide

---------- Post added at 09:28 PM ---------- Previous post was at 09:26 PM ----------

Adding 3 to the end of the kernel line in the boot menu is the best and safest way to avoid anything like what you've done happening :P
Reply With Quote
  #6  
Old 30th June 2011, 02:43 PM
PatMcLJr's Avatar
PatMcLJr Offline
Registered User
 
Join Date: Apr 2005
Location: earth
Posts: 1,131
linuxopera
Re: Problems trying to run level 3...

no more initab ???
systemd could take me a long while to figure out
__________________
x--x--x
http://www.gnu.org/philosophy/free-sw.html
Freedom is never Free.
Pat Jr.
Reply With Quote
  #7  
Old 30th June 2011, 03:09 PM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
windows_xp_2003chrome
Re: Problems trying to run level 3...

Quote:
Originally Posted by PatMcLJr View Post
no more initab ???
systemd could take me a long while to figure out
Pat. Have a look at /etc/inittab (it still exists on my F15 box) and you'll see a short note at the bottom of the file.
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #8  
Old 30th June 2011, 03:37 PM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Unhappy Re: Problems trying to run level 3...

mightymouse2045,

Thank you for your answer. I did it but I get the same freezed screen. After one hour the logo appers but then my keyboard is completely blocked.

I only can move through "ALT" + "F1" but only a message:

Quote:
Welcome to Fedora release 15 (Lovelock) !
After that the only way to restart is through the "restart button".

Any other suggest?... It's really annoying to install absolutely all again just because the graphic interface is failed.

Thank you
Reply With Quote
  #9  
Old 30th June 2011, 03:53 PM
PabloTwo's Avatar
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,126
linuxfirefox
Re: Problems trying to run level 3...

Perhaps you could undo your changes by first, deleting the symlink you made, then, as root,
Code:
 yum reinstall `rpm -qf /etc/systemd/system/default.target`
That should reinstall the package that provides /etc/systemd/system/default.target.
Reply With Quote
  #10  
Old 30th June 2011, 04:12 PM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: Problems trying to run level 3...

Quote:
Originally Posted by glennzo View Post
Pat. Have a look at /etc/inittab (it still exists on my F15 box) and you'll see a short note at the bottom of the file.
lol and the way it says to do it in inittab is exactly the way he's done it...

---------- Post added at 11:12 PM ---------- Previous post was at 11:06 PM ----------

Quote:
Originally Posted by afdiaz View Post
Any other suggest?... It's really annoying to install absolutely all again just because the graphic interface is failed.
Dude I really don't know. After doing the link to point it back at the runlevel5 target when you have the "frozen logo" try pressing ctrl + alt +f2 or f3 etc and see if you can get a login prompt.

Or after an hour?!? when it finally lets you get to a terminal and you login are you still getting the rescue message like before?

because basically you shouldn't be getting a frozen logo if you have successfully booted into runlevel 3. It SHOULD go straight to a terminal.

ummmmm do what the other chap above said to try deleting the link altogether and then reinstall that package.
Reply With Quote
  #11  
Old 30th June 2011, 04:25 PM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Re: Problems trying to run level 3...

Thank you PabloTwo... I've tried to reinstall the packages but I get a error message as it isn't an invalid version flag from rpm. I've checked around and found something through Bugzilla.RedHat ans it could be fixed through the following command:

Quote:
# rpm -e --nodeps systemd-units
# yum install systemd-units
But I get the same freezed screen again !

It seems I should re-install all Fedora again. I really don't know why that people has changed something that works fine (inittab) for a new really complicated way... The idea of an Open Source OS is to be closed to more single users. Or probably I wrong and the most complicated way to change someting is the goal of Fedora project?

---------- Post added at 05:25 PM ---------- Previous post was at 05:18 PM ----------

Hey mightymouse2045,

Thank you again for your help... Well, after the frozen logo I cannot move around... My keyboard is completely blocked and the only way to restart is through the "reset" button.

I can go directly to the shell if I add the number 3 at the end of the kernel line at the boot screen. But I'm still getting the error message:

Quote:
Welcome to rescue mode. Use "systemctl default" or ^D to activate default mode.
So... Is there a possibility to keep my data if I'm re-install whole OS again?
Reply With Quote
  #12  
Old 30th June 2011, 04:31 PM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 4,979
linuxopera
Re: Problems trying to run level 3...

In theory at least, systemd will be more efficient, boot more quickly and so on. Thanks to Bill Nottingham, I believe, the instructions are right in /etc/inittab, which made the most sense, as that's where the sort of person who changes their runlevel to three would have gone to fix it.

Whether systemd is really a good thing, or just another thing so that laptop users can boot faster, while making others' live complex is a topic of debate. For me, I haven't found it to affect anything--they've been good enough to make sure that the chkconfig and service commands are linked to work, as well as making it easy by putting instructions in /etc/inittab.



Now, it's possible, looking at the description, that part of the problem is the rhgb quiet entry at the end of the kernel line. In the same place where you put the 3, just before that, you should see rhgb quiet. Remove that before pressing b for boot.
Reply With Quote
  #13  
Old 30th June 2011, 04:51 PM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Re: Problems trying to run level 3...

Hi smr54...

Thank you for your post.

Yes, I agree that all efforts and community works are focused to improve and release a product better and better each version.

I really like the Opensource products and I develop and propose OpenSource solution (starting from Fedora for common users) for any critical an non-critical frameworks. But sometimes, following instruction of the OSystem all is broken!

I've followed your instructions to access in level 3, but it seems that I'm still forwarded to level 1 (according to NVIDIA installation).

Now I'll forgot the ?$*\&@#§ Nvidia Card and I'll focus my energy in recovery my graphical access. I've repeat some steps suggested in the inittab file and in the wiki.fedora but still with the same frozen screen.
Reply With Quote
  #14  
Old 30th June 2011, 04:57 PM
mightymouse2045 Offline
Registered User
 
Join Date: Dec 2010
Posts: 124
linuxfirefox
Re: Problems trying to run level 3...

Quote:
Originally Posted by smr54 View Post
Now, it's possible, looking at the description, that part of the problem is the rhgb quiet entry at the end of the kernel line. In the same place where you put the 3, just before that, you should see rhgb quiet. Remove that before pressing b for boot.
Yeah try what smr54 says also to get rid of the graphic boot altogether for now.

Dude if you are still getting the rescue mode warning then you haven't reset the changes you made before and you are still booting into runlevel target 3

Do this

Code:
cat /etc/systemd/system/default.target
If it says:

Code:
[Unit]
Description=Multi-User
Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
AllowIsolate=yes

[Install]
Alias=default.target
Then you haven't linked to the correct file properly.

Do this:

Code:
rm -f /etc/systemd/system/default.target
ln -s /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target
cat /etc/systemd/system/default.target
Then you should see:

Code:
[Unit]
Description=Graphical Interface
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
AllowIsolate=yes

[Install]
Alias=default.target
Then you should be good to go.

If you already see the correct multi-user.target when you cat default.target then something else weird is going on!
Reply With Quote
  #15  
Old 30th June 2011, 05:08 PM
afdiaz Offline
Registered User
 
Join Date: Apr 2009
Location: Belgium
Posts: 41
linuxfirefox
Re: Problems trying to run level 3...

Hey mightymouse2045,

My 'default.target' file contains the following information:

Quote:
[Unit]
Description=Graphical Interface
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
AllowIsolate=yes

[Install]
Alias=default.target
And sorting my default.target file I get:

Quote:
/etc/systemd/system/default.target -> /lib/systemd/system/runlevel5.target
... which involve that the 'default.target' is pointing out in the good address.

BTW... What is 'graphical.target.wants' (an empty file in the same folder)
Reply With Quote
Reply

Tags
level, problems, run

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel crash and audio level problems StefB Installation and Live Media 1 7th December 2009 09:00 PM
How can I Snoop L3 level IGMP packet at L2 level(Bridging level). salil.mehta Servers & Networking 0 16th December 2006 07:29 PM
Run Level Problems LinuxBob Using Fedora 1 15th October 2004 01:48 AM


Current GMT-time: 08:35 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat