Destroyed my runlevel settings...
Hello,
I just destroyed my fedora installation by selecting an invalid runlevel... I tried to select runlevel 3 but executed Code:
ln -s /lib/systemd/system/multi-user.target.target /etc/systemd/system/default.target Code:
ln -s /lib/systemd/system/multi-user.target /etc/systemd/system/default.target If I knew in which file this setting is stored I could probably recover it... So I appreciate your suggestions and help. With regards, thecalcaholic |
It's just the symbolic link that you created in /etc/systemd/system/ . "ls -l /etc/systemd/system/default.target" will show it. Just remove the incorrect link and make the correct one.
Code:
# rm -i /etc/systemd/system/default.target |
Thank you! I guess this worked. But it wasn't the only thing that prevented Fedora from booting but also a misconfigured X Server...
Before this all happend I had tried to install the nvidia drivers together with bumblebee and it was necessary to reconfigure the X server until I could boot normally again. For those who might have the same problem I will shortly outline how I was able to solve it. At first I followed rknichols suggestion and replaced the "default.target" - to point to a valid target (see post before how to do it). Thereby it is to mention that since I ran the commands from a live system I had to adjust the paths a little bit. At first I mounted the partition Fedora is installed to, using Nautilus (I don't know how to do the decryption from the shell). Than I looked up the path it was mounted to - per default this is "/run/media/<partition name>", in my case "/run/media/Fedora" if I remember it right. Than I set the working directory in a shell instance to this path by doing Code:
# cd /run/media/Fedora Code:
# rm -i etc/systemd/system/default.target There the system did not fully start but after a plenty of tries I noticed that I was to able to switch to a console by pressing Ctrl + Alt + F2 (or any other F-Key except of F1) where I could login successfully and after executing 'startx' and rebooting the whole thing ran fine again. :) |
Quote:
Code:
/etc/systemd/system/lib/systemd/system/multi-user.target Your system boots because systemd is using its built-in default for the case where no valid default.target exists. BTW, if you did want to write that as a relative symlink, the correct target would be Code:
../../../lib/systemd/system/multi-user.target |
Quote:
|
All times are GMT -5. The time now is 07:03 AM. |