Fedora

From Leo's Notes
Revision as of 19:12, 24 February 2017 by Leo (talk | contribs) (Text replacement - "<code>" to "{{code|")
This page was last edited on 24 February 2017, at 19:12.

Here're some stuff I'm noting while I work with Fedora 20.

Disabling Nouveau Drivers

As mentioned at https://ask.fedoraproject.org/en/question/23982/how-to-disable-nouveau-in-fedora-18/, to disable the nouveau drivers (needed to install the nvidia drivers), you have to modify the initramfs image using dracut.

dracut --force --omit-drivres nouveau /boot/initramfs-$(uname -r) $(uname -r)

I tried to do the usual modprobe.d to black list nouveau, but it didn't seem to work. I even added nomodeset on to the grub kernel cmdline but that also didn't seem to work...

Systemd

Surprisingly, systemd managed to see my existing CPSC init script and tried to run it as a service. For some reason though, it failed to read my list of scripts and thus the service failed.

Grub2

Grub configuration needs to be updated by running

grub2-mkconfig -o /boot/grub2/grub.cfg

The main grub configuration file is at {{code|/etc/default/grub. You must remake the configratuion for grub after you edit this file.

Changing Runlevels

Instead of using {{code|init 5:

systemctl isolate graphical.target

or {{code|init 3:

systemctl isolate multi-user.target