How to solve fedora booting problem
Today I experienced fedora booting problems. I am using Fedora 4.12.5-300.fc26x86_64 and it is installed as main machine. I don't have any other OS installed on my machine except I have VM tool on fedora that I run other OS.
When booting, I have three options to choose. Usually I was booting using recent kernel version. Today when I turned on my computer and chosed recent kernel version as usuall, the screen just gone black and were nothing happening. I read some forums related to that issue but so far did not found solution for myself, as I am very new to Linux and some of the forums seemed to be too complicated for me.
WHAT I TRIED SO FAR:
I tried to boot using older kernel version option and I managed to boot into fedora. I tried to update using yum command and later I find out that I should use dnf instead to update my system. I tried that.
I tried to boot into my recent kernel version, still there were no luck. I noticed that older kernel version not always lets me to boot into OS as well. Sometimes I boot into OS, sometimes it is just black screen and nothing happening.
On one forum I found that I should try to use this command when I am in OS: sudo dnf reinstall accountsservice I tried it and then rebooted my computer. I chosed recent kernel version to boot in and it worked. Then I tried again and it worked again (not sure if that completelly fixed my problem.)
EXTRA INFO:
Before I have not experienced anything like that, tho I am using fedora for the first week.
Using encrypted OS.
The day before this problem occured everything seemed to be working fine and I have not done anything that could influence this problem to occur (atleast I think so). All I did was only using my VM OS and trying to install some packages, update it.
If you need more info please do ask me.
Can you explain what might happened, and what I should do in such case if it will happen again? Even it seems that I fixed this problem I still feel lost and I am not sure what I exactly done (I find it very strange that sometimes my older kernel version were able to boot to OS and sometimes not.
If it is possible please explain it as noob-freindly as possible.
I will update this post. Hopefully it will be helpfull for other new users as well.
Post here output of inxi -zv4 (run it in terminal, copy output and paste it here using https://paste.fedoraproject.org/ ).
You probably updated your kernel to a newer major version (4.11 -> 4.12) and some hardware or driver has issue with it. This 'another boot option' boots your system with older kernel, and should work fine unless something else also causes issues.
Here is the output: https://paste.fedoraproject.org/paste... Machine since then working fine, but will see if that will last. I realised those options are kernel versions. The only thing that confuses me that the older version booted-up 2 or 3 times out of 5. Two times was the same thing as with newer version.
In journalctl you'll find also older logs, so you can check errors from previous boot ups.