booting into runlevel 5, but I have it set for runlevel 3. Help.
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
booting into runlevel 5, but I have it set for runlevel 3. Help.
I'm using Fedora 15. For some reason, my computer is booting up graphically. I do not have video drivers for a graphical setup apparently now that Gnome is getting more advanced, so I really need to restore to a CLI. My machine is currently booted up but it's been hanging on the "F" for 1.5 hours. Obviously Gnome3 is not for me.
I see /etc/inittab is now deprecated thanks to systemd. The instructions say the following:
Code:
# systemd uses 'targets' instead of runlevels. By default, there are two main targets:
#
# multi-user.target: analogous to runlevel 3
# graphical.target: analogous to runlevel 5
#
# To set a default target, run:
#
# ln -s /lib/systemd/system/<target name>.target /etc/systemd/system/default.target
And that's exactly what I have set up!
Code:
[root@server system]# pwd
/etc/systemd/system
[root@server system]# ls -la
total 20
lrwxrwxrwx 1 root root 37 May 31 10:41 default.target -> /lib/systemd/system/multi-user.target
So what gives? Why is this machine starting up graphically?
I even removed the symlink and recreated it... but that obviously isn't the issue here.
Speaking of which, how do I force X/Gnome to start up with "basic" video rather than have a frozen F on my desktop anyhow?
Try linking to /lib/systemd/system/runlevel3.target instead, see if that works...never tried it myself since I do like booting up to graphical, but the default seems to be runlevel5.target, not graphical.target (at least on my system and I haven't changed it).
Also check what /lib/systemd/system/default.target is linked to, that IS linked to graphical.target on my system.
Last edited by Timothy Miller; 05-31-2011 at 12:36 PM.
Tried that. Maybe it's not even the runlevel. This is the first time I've booted up from a reinstall from the Install DVD, so maybe it's doing something else first. I wouldn't know because it hangs on F for hours after I boot up.
Speaking of which, how do I force X/Gnome to start up with "basic" video rather than have a frozen F on my desktop anyhow?
I'd set up an /etc/X11/xorg.conf to use VESA...helped me out all the time tru F10...until I moved to Arch.
If you cannot get "into" the machine, consider TTY linux. Get an ISO, burn it. Boot the affected machine with it and log in.
Find the hard drive and mount it
Quote:
fdisk -l
mount /what/fdisk/found /mnt/c:
That should mount the hard drive, make your way to the folder mentioned above and make an xorg.conf, of course, if there is one, make a backup, but you know this.
I'd make something like this
Quote:
Section Device
Identifier monitor
Driver vesa
EndSection
This is "ancient info" - X should be clever enough to figure things out, but is dire times...
I believe this should get the system up and running...be it in VESA.
Quote:
Obviously Gnome3 is not for me
I hear ya, I've been staring at a flat-line since this thing struck my system...I'm considering XFCE...by the way, there is an XFCE spin of Fedora...
Mine boots up quick. Restarts/halts take forever and a day though. I end up just holding the power button to shut down they take so long. Maybe I'll play with it a while. My Fedora box is just a laptop I keep lying around to play with and test out distros on, I don't keep anything on it anyway.
reboot and I get a console login exactly as it should work.
And WOW, what a faster reboot...so obviously the issue with rebooting is something in X on my system (I run KDE Fedora, not Gnome)
I did have to change BOTH however. Changing /etc/blahblahblah back to runlevel5.target and even with /lib/blah/default.target set to multi-user it booted graphical.
Last edited by Timothy Miller; 05-31-2011 at 12:51 PM.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
There are two things that could possibly help you. I have never worked with fedora - too bleeding edge for me.
1. If you have something like /etc/rc.d/rc.local or its equivalent you can simply type 'init 2'. The system would boot into gui but when rc.local gets executed you would be back on runlevel 2.
2. There should be some kernel parameter 'eg vesa=xxxx' that can help fix the gui. Boot the cd once agaon and try a couple of options.
Well just thought about the third you can lookup where gdm is (been with slackware for a very long time now) and mv it to gdm.0. This way even if you boot into runlevel 5 you wont have a gui.
My advise: download xfce4 and install it - will make your life a lot easier.
Hope this helps.
There are two things that could possibly help you. I have never worked with fedora - too bleeding edge for me.
1. If you have something like /etc/rc.d/rc.local or its equivalent you can simply type 'init 2'. The system would boot into gui but when rc.local gets executed you would be back on runlevel 2.
2. There should be some kernel parameter 'eg vesa=xxxx' that can help fix the gui. Boot the cd once agaon and try a couple of options.
Well just thought about the third you can lookup where gdm is (been with slackware for a very long time now) and mv it to gdm.0. This way even if you boot into runlevel 5 you wont have a gui.
My advise: download xfce4 and install it - will make your life a lot easier.
Hope this helps.
I don't believe the 'init' string will work anymore with Fedora having moved to systemd
I've posted about 5 things on this forum since I upgraded from Fedora 14 to 15, so I figure a clean reinstall will fix these problems. I have NO idea what is wrong with my system, but I do know it's a mess. Will keep you posted if there's anything notable.
Yeah, Fedora, because RH uses it to test the very latest technologies, does not generally have the smoothest upgrades between versions. Doubly so this version, since the entire system initialization has been replaced. Something that major I would definitely recommend backup data and reinstall rather than upgrade.
Something that major I would definitely recommend backup data and reinstall rather than upgrade.
Backup is done; the restore will be so not exciting, especially with my partition setups. I hope Fedora 15 continues to serve my needs; I'm not using GUIs at all too much and use my box primarily as an FTP/WWW server anyhow, so I wonder now if I should try another yum-based distro that is more server-friendly.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
Cant pass init=/bin/bash! that sucks.
@OP - make a seperate partition for home in case you do not want to loose data. On my pc I have a seperate partition /data which contains a backup of all important data.
Hope this helps.
PS:- Is fedora getting more and more unstable with each release? And I think Ubuntu is happily following its footsteps? Is it my perception or are things really this way?
PS:- Is fedora getting more and more unstable with each release? And I think Ubuntu is happily following its footsteps? Is it my perception or are things really this way?
Cant pass init=/bin/bash! that sucks.
@OP - make a seperate partition for home in case you do not want to loose data. On my pc I have a seperate partition /data which contains a backup of all important data.
Hope this helps.
PS:- Is fedora getting more and more unstable with each release? And I think Ubuntu is happily following its footsteps? Is it my perception or are things really this way?
It is, but that's the purpose of Fedora. It's there to test out stuff that they may wish to incorporate into RHEL, and have the community test it out. If it weren't for using megapackages I'd happily use it as an every day system, too. But as is, it will never get beyond my "testing" pc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.