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.
On pressing following key combination;
1) Ctrl+Alt+F2 (supposed to be "init 1")
2) Ctrl+Alt+F4 (supposed to be "init 3")
Which command will be run to confirm/prove them?
These key combinations have nothing to do with runlevels. They are for switching between virtual terminals when you are logged into a gui. If you are not logged into a gui, you would use Alt-Fn (where Fn is any number from 1 to 6. If you need to change runlevels, you can do this as root, from any command line interface.
If you use ext3, REdhat/Fedora Core, uses lables to identify partitions (why they do this puzzles me). Anyway if you can't figure out the partition layout, try running "df -h" and maybe it will list your partitions.
Redhat/Fedora Core, use labels to identify partitions (why they do this puzzles me)
One explanation that I have heard is that it simplifies locating partitions/filesystems in a hotswap environment. I always change the LABEL= to the device designation.
These key combinations have nothing to do with runlevels. They are for switching between virtual terminals when you are logged into a gui.
While working on desktop, KDE/GNOME, pressing those key combinations will switch to runlevel 1 and 3 respectively. Both are black screen. After working a while I may forget which runlevel is running. So I'm searching a way to check them when needed.
Quote:
If you use ext3, REdhat/Fedora Core, uses lables to identify partitions
While working on desktop, KDE/GNOME, pressing those key combinations will switch to runlevel 1 and 3 respectively. Both are black screen. After working a while I may forget which runlevel is running. So I'm searching a way to check them when needed.
I'm not sure I get what you mean here. As far as I know, CTRL-ALT-Fn will not switch you to a different runlvel, but it will give you access to a virtual terminal (usually a text based interface). If you then need to change runlevel, you would login to the text based interface as root and run the init command along with the number (or letter) that corresponds to the runlevel you wish to enter e.g. "init 3" to enter into runlevel 3. To check which runlevel you are in, you would run "who -r".
If you ran "init 1" and you got the root prompt, then you are already in runlevel 1. The message on the screen is just telling you that there is a problem somewhere (I think the message you are getting is from selinux).
I was worrying about the message therefore I hit Ctrl+Alt+F2 tying to start 1. I was prepared moving /home partiton and needed to umount it on 1. I was not confident on the key-combinations on my first posting which is 1 or 3. Therefore I tried finding a method to check them. That is the whole story.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.