Quantcast
Channel: User Thomas - Ask Ubuntu
Viewing all articles
Browse latest Browse all 41

Answer by Thomas for nvidia-settings (&prime-select) fails to switch GPU after removal of GRUB

$
0
0

Well, you are using a Linux distribution that does use grub by default and many scripts assume that the grub tools are available to make changes that are easy to use for ordinary users.

Now if you change something like the bootloader, which is an essential part of the distro, the only one to blame is you.

An easy way to fix your problem would be to comment out the subprocess.call(['update-grub']) and replace it with pass, to make the function _update_grub do nothing.

def _update_grub(self):    #subprocess.call(['update-grub'])    pass

But you also might want to exchange this function to update the bootloader you are using to pick up an eventual newly generated initial ramdisk.


Viewing all articles
Browse latest Browse all 41

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>