Unable to uninstall NVidia drivers completely (initramfs will attempt to resume from…)












0















I was trying to install nvidia drivers for my PC for so that xorg will use intel drivers. I followed this guide and did an installation a runfile using the command:



sudo sh NVIDIA-Linux-x86_64-396.24.run --no-opengl-files --dkms --no-drm


https://forums.fast.ai/t/successful-ubuntu-18-04-with-igpu-for-xserver-and-nvidia-gpu-for-cuda-work-setup/20128



The method didn't work for me. And now I'm trying to uninstall nvidia's drivers with sudo apt purge nvidia*



Somehow after doing this, now whenever I try to install/uninstall something I get a message like this:



....
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0)
I: Set the RESUME variable to override this.


And I can't even get the original nvidia driver to work. Any idea what the RESUME variable is? What is it that needs to be removed?



I'm using Ubuntu 18.04.










share|improve this question


















  • 1





    You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

    – Pilot6
    6 hours ago











  • Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

    – matohak
    6 hours ago











  • That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

    – Pilot6
    6 hours ago
















0















I was trying to install nvidia drivers for my PC for so that xorg will use intel drivers. I followed this guide and did an installation a runfile using the command:



sudo sh NVIDIA-Linux-x86_64-396.24.run --no-opengl-files --dkms --no-drm


https://forums.fast.ai/t/successful-ubuntu-18-04-with-igpu-for-xserver-and-nvidia-gpu-for-cuda-work-setup/20128



The method didn't work for me. And now I'm trying to uninstall nvidia's drivers with sudo apt purge nvidia*



Somehow after doing this, now whenever I try to install/uninstall something I get a message like this:



....
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0)
I: Set the RESUME variable to override this.


And I can't even get the original nvidia driver to work. Any idea what the RESUME variable is? What is it that needs to be removed?



I'm using Ubuntu 18.04.










share|improve this question


















  • 1





    You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

    – Pilot6
    6 hours ago











  • Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

    – matohak
    6 hours ago











  • That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

    – Pilot6
    6 hours ago














0












0








0








I was trying to install nvidia drivers for my PC for so that xorg will use intel drivers. I followed this guide and did an installation a runfile using the command:



sudo sh NVIDIA-Linux-x86_64-396.24.run --no-opengl-files --dkms --no-drm


https://forums.fast.ai/t/successful-ubuntu-18-04-with-igpu-for-xserver-and-nvidia-gpu-for-cuda-work-setup/20128



The method didn't work for me. And now I'm trying to uninstall nvidia's drivers with sudo apt purge nvidia*



Somehow after doing this, now whenever I try to install/uninstall something I get a message like this:



....
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0)
I: Set the RESUME variable to override this.


And I can't even get the original nvidia driver to work. Any idea what the RESUME variable is? What is it that needs to be removed?



I'm using Ubuntu 18.04.










share|improve this question














I was trying to install nvidia drivers for my PC for so that xorg will use intel drivers. I followed this guide and did an installation a runfile using the command:



sudo sh NVIDIA-Linux-x86_64-396.24.run --no-opengl-files --dkms --no-drm


https://forums.fast.ai/t/successful-ubuntu-18-04-with-igpu-for-xserver-and-nvidia-gpu-for-cuda-work-setup/20128



The method didn't work for me. And now I'm trying to uninstall nvidia's drivers with sudo apt purge nvidia*



Somehow after doing this, now whenever I try to install/uninstall something I get a message like this:



....
W: Possible missing firmware /lib/firmware/nvidia/gv100/acr/bl.bin for module nouveau
I: The initramfs will attempt to resume from /dev/nvme0n1p3
I: (UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0)
I: Set the RESUME variable to override this.


And I can't even get the original nvidia driver to work. Any idea what the RESUME variable is? What is it that needs to be removed?



I'm using Ubuntu 18.04.







drivers nvidia graphics initramfs






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 6 hours ago









matohakmatohak

406




406








  • 1





    You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

    – Pilot6
    6 hours ago











  • Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

    – matohak
    6 hours ago











  • That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

    – Pilot6
    6 hours ago














  • 1





    You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

    – Pilot6
    6 hours ago











  • Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

    – matohak
    6 hours ago











  • That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

    – Pilot6
    6 hours ago








1




1





You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

– Pilot6
6 hours ago





You can't purge with apt that was not installed with apt. Run sudo sh NVIDIA-Linux-x86_64-396.24.run --uninstall instead.

– Pilot6
6 hours ago













Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

– matohak
6 hours ago





Unfortunately that didn't seem to work.... It says no nvidia drivers installed.

– matohak
6 hours ago













That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

– Pilot6
6 hours ago





That was initially a bad idea to install drivers from a run file. And now after you partially removed it using apt it's a real problem. I don't know an obvious way how to clean this out.

– Pilot6
6 hours ago










1 Answer
1






active

oldest

votes


















0














Reinstall the nouveau-firmware...



sudo apt-get install --reinstall nouveau-firmware



There are two resume parameters that I know of, and two that would effect the initramfs.



Kernel parameter:





  1. In terminal... (permanent)...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H gedit /etc/default/grub # edit this file

    • find "quiet splash" and change it to something like "quiet splash resume=/dev/nvme0n1p3"

    • note: nvme0n1p3 should be your swap partition


    • sudo update-grub # update the grub files


    • reboot # reboot the computer




  2. via the GRUB menu... (temporary)...




    • hit the e key to enter edit mode

    • find "quiet splash"

    • change it to "quiet splash resume=/dev/nvme0n1p3

    • note: nvme0n1p3 should be your swap partition


    • control-x to continue booting...




initramfs:





  1. In terminal...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H /etc/initramfs-tools/conf.d/resume # edit this file

    • edit RESUME=UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0 # edit this

    • note: UUID should be from swap partition


    • sudo update-initramfs -c -k $(uname -r) # update initrd.img


    • reboot # reboot the computer








share|improve this answer


























  • is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

    – matohak
    1 hour ago













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121235%2funable-to-uninstall-nvidia-drivers-completely-initramfs-will-attempt-to-resume%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Reinstall the nouveau-firmware...



sudo apt-get install --reinstall nouveau-firmware



There are two resume parameters that I know of, and two that would effect the initramfs.



Kernel parameter:





  1. In terminal... (permanent)...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H gedit /etc/default/grub # edit this file

    • find "quiet splash" and change it to something like "quiet splash resume=/dev/nvme0n1p3"

    • note: nvme0n1p3 should be your swap partition


    • sudo update-grub # update the grub files


    • reboot # reboot the computer




  2. via the GRUB menu... (temporary)...




    • hit the e key to enter edit mode

    • find "quiet splash"

    • change it to "quiet splash resume=/dev/nvme0n1p3

    • note: nvme0n1p3 should be your swap partition


    • control-x to continue booting...




initramfs:





  1. In terminal...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H /etc/initramfs-tools/conf.d/resume # edit this file

    • edit RESUME=UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0 # edit this

    • note: UUID should be from swap partition


    • sudo update-initramfs -c -k $(uname -r) # update initrd.img


    • reboot # reboot the computer








share|improve this answer


























  • is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

    – matohak
    1 hour ago


















0














Reinstall the nouveau-firmware...



sudo apt-get install --reinstall nouveau-firmware



There are two resume parameters that I know of, and two that would effect the initramfs.



Kernel parameter:





  1. In terminal... (permanent)...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H gedit /etc/default/grub # edit this file

    • find "quiet splash" and change it to something like "quiet splash resume=/dev/nvme0n1p3"

    • note: nvme0n1p3 should be your swap partition


    • sudo update-grub # update the grub files


    • reboot # reboot the computer




  2. via the GRUB menu... (temporary)...




    • hit the e key to enter edit mode

    • find "quiet splash"

    • change it to "quiet splash resume=/dev/nvme0n1p3

    • note: nvme0n1p3 should be your swap partition


    • control-x to continue booting...




initramfs:





  1. In terminal...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H /etc/initramfs-tools/conf.d/resume # edit this file

    • edit RESUME=UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0 # edit this

    • note: UUID should be from swap partition


    • sudo update-initramfs -c -k $(uname -r) # update initrd.img


    • reboot # reboot the computer








share|improve this answer


























  • is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

    – matohak
    1 hour ago
















0












0








0







Reinstall the nouveau-firmware...



sudo apt-get install --reinstall nouveau-firmware



There are two resume parameters that I know of, and two that would effect the initramfs.



Kernel parameter:





  1. In terminal... (permanent)...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H gedit /etc/default/grub # edit this file

    • find "quiet splash" and change it to something like "quiet splash resume=/dev/nvme0n1p3"

    • note: nvme0n1p3 should be your swap partition


    • sudo update-grub # update the grub files


    • reboot # reboot the computer




  2. via the GRUB menu... (temporary)...




    • hit the e key to enter edit mode

    • find "quiet splash"

    • change it to "quiet splash resume=/dev/nvme0n1p3

    • note: nvme0n1p3 should be your swap partition


    • control-x to continue booting...




initramfs:





  1. In terminal...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H /etc/initramfs-tools/conf.d/resume # edit this file

    • edit RESUME=UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0 # edit this

    • note: UUID should be from swap partition


    • sudo update-initramfs -c -k $(uname -r) # update initrd.img


    • reboot # reboot the computer








share|improve this answer















Reinstall the nouveau-firmware...



sudo apt-get install --reinstall nouveau-firmware



There are two resume parameters that I know of, and two that would effect the initramfs.



Kernel parameter:





  1. In terminal... (permanent)...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H gedit /etc/default/grub # edit this file

    • find "quiet splash" and change it to something like "quiet splash resume=/dev/nvme0n1p3"

    • note: nvme0n1p3 should be your swap partition


    • sudo update-grub # update the grub files


    • reboot # reboot the computer




  2. via the GRUB menu... (temporary)...




    • hit the e key to enter edit mode

    • find "quiet splash"

    • change it to "quiet splash resume=/dev/nvme0n1p3

    • note: nvme0n1p3 should be your swap partition


    • control-x to continue booting...




initramfs:





  1. In terminal...





    • sudo blkid # get a list of partitions and UUID's


    • sudo -H /etc/initramfs-tools/conf.d/resume # edit this file

    • edit RESUME=UUID=1e612fb7-d1f4-4a4a-a5bd-1ae6761c9bf0 # edit this

    • note: UUID should be from swap partition


    • sudo update-initramfs -c -k $(uname -r) # update initrd.img


    • reboot # reboot the computer









share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 3 hours ago









heynnemaheynnema

19.6k22158




19.6k22158













  • is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

    – matohak
    1 hour ago





















  • is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

    – matohak
    1 hour ago



















is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

– matohak
1 hour ago







is nouveau-firmware an alternative to nvidia? It doesn't seem to be available in Ubuntu 18.04's repo. I don't seem to have the file "/etc/initramfs-tools/conf.d/resume" either.

– matohak
1 hour ago




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1121235%2funable-to-uninstall-nvidia-drivers-completely-initramfs-will-attempt-to-resume%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How did Captain America manage to do this?

迪纳利

南乌拉尔铁路局