Guest User

r8169_disable_msi

a guest
Jun 14th, 2021
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. $ sudo gedit
  2. //paste code into opened Gedit
  3. //saved as /etc/initramfs-tools/scripts/init-top/r8169_disable_msi and close gedit
  4.  
  5. $ cd /etc/initramfs-tools/scripts/init-top/
  6. //change active directory
  7.  
  8. $ sudo chmod a+x r8169_disable_msi
  9. //removes execution mode for all users for r8169_disable_msi
  10.  
  11. $ sudo gedit /etc/default/grub
  12. //Find line starting GRUB_CMDLINE_LINUX_DEFAULT and append "r8169_disable_msi" there
  13. //For example:
  14. //GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" ---> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash r8169_disable_msi"
  15. //Save and close Gedit
  16.  
  17. $ sudo update-initramfs -c -k $(uname -r)
  18. //creates new initramfs for actual kernel version
  19.  
  20. $ sudo update-grub
  21.  
  22. $reboot
  23. //restarts computer
Advertisement
Add Comment
Please, Sign In to add comment