Mint 18.3 does not boot after I changed graphics card from Nvidia to Intel

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












I have a Dell Latitude 5480 with a dedicated Nvidia graphics card and an integrated Intel graphics chip. Trying to debug some issues with CPU fan, I tried to change the graphics card used by the system using the GUI tool:
enter image description here



After I changed it, the system asked me for a reboot. After that, I am not able to boot the system again. I get the usual splash screen asking me to unlock the encrypted disk and after that just a black screen.



I tried to change various boot settings in grub using this tutorial, but the results are always the same. If I use nomodeset, I cannot even get past the drive decryption step since the input is just written to the top left hand of the screen and not in the input field.



I was able to get some limited abilitied from the recovery mode, but after a minute or so working in the root mode, the recovery menu appears again and the inputs get totally messed up until I reboot.



How can I undo the graphics card switch from the command line?







share|improve this question























    up vote
    1
    down vote

    favorite
    1












    I have a Dell Latitude 5480 with a dedicated Nvidia graphics card and an integrated Intel graphics chip. Trying to debug some issues with CPU fan, I tried to change the graphics card used by the system using the GUI tool:
    enter image description here



    After I changed it, the system asked me for a reboot. After that, I am not able to boot the system again. I get the usual splash screen asking me to unlock the encrypted disk and after that just a black screen.



    I tried to change various boot settings in grub using this tutorial, but the results are always the same. If I use nomodeset, I cannot even get past the drive decryption step since the input is just written to the top left hand of the screen and not in the input field.



    I was able to get some limited abilitied from the recovery mode, but after a minute or so working in the root mode, the recovery menu appears again and the inputs get totally messed up until I reboot.



    How can I undo the graphics card switch from the command line?







    share|improve this question





















      up vote
      1
      down vote

      favorite
      1









      up vote
      1
      down vote

      favorite
      1






      1





      I have a Dell Latitude 5480 with a dedicated Nvidia graphics card and an integrated Intel graphics chip. Trying to debug some issues with CPU fan, I tried to change the graphics card used by the system using the GUI tool:
      enter image description here



      After I changed it, the system asked me for a reboot. After that, I am not able to boot the system again. I get the usual splash screen asking me to unlock the encrypted disk and after that just a black screen.



      I tried to change various boot settings in grub using this tutorial, but the results are always the same. If I use nomodeset, I cannot even get past the drive decryption step since the input is just written to the top left hand of the screen and not in the input field.



      I was able to get some limited abilitied from the recovery mode, but after a minute or so working in the root mode, the recovery menu appears again and the inputs get totally messed up until I reboot.



      How can I undo the graphics card switch from the command line?







      share|improve this question











      I have a Dell Latitude 5480 with a dedicated Nvidia graphics card and an integrated Intel graphics chip. Trying to debug some issues with CPU fan, I tried to change the graphics card used by the system using the GUI tool:
      enter image description here



      After I changed it, the system asked me for a reboot. After that, I am not able to boot the system again. I get the usual splash screen asking me to unlock the encrypted disk and after that just a black screen.



      I tried to change various boot settings in grub using this tutorial, but the results are always the same. If I use nomodeset, I cannot even get past the drive decryption step since the input is just written to the top left hand of the screen and not in the input field.



      I was able to get some limited abilitied from the recovery mode, but after a minute or so working in the root mode, the recovery menu appears again and the inputs get totally messed up until I reboot.



      How can I undo the graphics card switch from the command line?









      share|improve this question










      share|improve this question




      share|improve this question









      asked Apr 20 at 10:27









      JohnEye

      240210




      240210




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          2
          down vote













          After several hours of no luck, a colleague of mine came in and found two articles(How To Switch Between Intel and Nvidia Graphics Card on Ubuntu, How to select integrad graphic card over NVIDIA?) which helped a lot. In my case, I first wanted to get out of the weird console which screwed itself up after some time.



          It turned out that the Intel graphics adapter worked, just not when I was starting the system normally. So I got to the broken terminal and before it had a chance to go haywire, I did the following:



          mount -o rw,remount /


          This remounted the filesystem as read/write, so that I can persist the changes I make.



          startx


          Incredibly, this started X in root mode with the Intel graphics adapter. I thought I would be able to use the same GUI tool to switch the adapters back, but when I tried, I got a Python traceback with an error message saying that it cannot find dbus. Dbus was stopped and I wasn't able to start it.
          It was impossible to switch to another terminal using Ctrl+Alt+F#, touchpad didn't work (but USB mouse did), Cinnamon immediately crashed and did so even after I tried to restart it. But I had the basic interface up already, so I could open up GNOME Terminal to work with.



          The final step was to run the following command from the article mentioned above:



          prime-select nvidia


          This changed some symlinks and maybe edited a config file or two, and upon the next restart, I am back where I was before I tried changing the GPU used by the system!



          Lesson learned: Despite large improvements in the past couple of years, there are still trivial things you can do to the system which will bring it to an unbootable state. Next time, I will not allow the installer to choose its own filesystem and will pick one which supports snapshots, like btrfs. Having a snapshot would prevent issues like this one.






          share|improve this answer





















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438908%2fmint-18-3-does-not-boot-after-i-changed-graphics-card-from-nvidia-to-intel%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            2
            down vote













            After several hours of no luck, a colleague of mine came in and found two articles(How To Switch Between Intel and Nvidia Graphics Card on Ubuntu, How to select integrad graphic card over NVIDIA?) which helped a lot. In my case, I first wanted to get out of the weird console which screwed itself up after some time.



            It turned out that the Intel graphics adapter worked, just not when I was starting the system normally. So I got to the broken terminal and before it had a chance to go haywire, I did the following:



            mount -o rw,remount /


            This remounted the filesystem as read/write, so that I can persist the changes I make.



            startx


            Incredibly, this started X in root mode with the Intel graphics adapter. I thought I would be able to use the same GUI tool to switch the adapters back, but when I tried, I got a Python traceback with an error message saying that it cannot find dbus. Dbus was stopped and I wasn't able to start it.
            It was impossible to switch to another terminal using Ctrl+Alt+F#, touchpad didn't work (but USB mouse did), Cinnamon immediately crashed and did so even after I tried to restart it. But I had the basic interface up already, so I could open up GNOME Terminal to work with.



            The final step was to run the following command from the article mentioned above:



            prime-select nvidia


            This changed some symlinks and maybe edited a config file or two, and upon the next restart, I am back where I was before I tried changing the GPU used by the system!



            Lesson learned: Despite large improvements in the past couple of years, there are still trivial things you can do to the system which will bring it to an unbootable state. Next time, I will not allow the installer to choose its own filesystem and will pick one which supports snapshots, like btrfs. Having a snapshot would prevent issues like this one.






            share|improve this answer

























              up vote
              2
              down vote













              After several hours of no luck, a colleague of mine came in and found two articles(How To Switch Between Intel and Nvidia Graphics Card on Ubuntu, How to select integrad graphic card over NVIDIA?) which helped a lot. In my case, I first wanted to get out of the weird console which screwed itself up after some time.



              It turned out that the Intel graphics adapter worked, just not when I was starting the system normally. So I got to the broken terminal and before it had a chance to go haywire, I did the following:



              mount -o rw,remount /


              This remounted the filesystem as read/write, so that I can persist the changes I make.



              startx


              Incredibly, this started X in root mode with the Intel graphics adapter. I thought I would be able to use the same GUI tool to switch the adapters back, but when I tried, I got a Python traceback with an error message saying that it cannot find dbus. Dbus was stopped and I wasn't able to start it.
              It was impossible to switch to another terminal using Ctrl+Alt+F#, touchpad didn't work (but USB mouse did), Cinnamon immediately crashed and did so even after I tried to restart it. But I had the basic interface up already, so I could open up GNOME Terminal to work with.



              The final step was to run the following command from the article mentioned above:



              prime-select nvidia


              This changed some symlinks and maybe edited a config file or two, and upon the next restart, I am back where I was before I tried changing the GPU used by the system!



              Lesson learned: Despite large improvements in the past couple of years, there are still trivial things you can do to the system which will bring it to an unbootable state. Next time, I will not allow the installer to choose its own filesystem and will pick one which supports snapshots, like btrfs. Having a snapshot would prevent issues like this one.






              share|improve this answer























                up vote
                2
                down vote










                up vote
                2
                down vote









                After several hours of no luck, a colleague of mine came in and found two articles(How To Switch Between Intel and Nvidia Graphics Card on Ubuntu, How to select integrad graphic card over NVIDIA?) which helped a lot. In my case, I first wanted to get out of the weird console which screwed itself up after some time.



                It turned out that the Intel graphics adapter worked, just not when I was starting the system normally. So I got to the broken terminal and before it had a chance to go haywire, I did the following:



                mount -o rw,remount /


                This remounted the filesystem as read/write, so that I can persist the changes I make.



                startx


                Incredibly, this started X in root mode with the Intel graphics adapter. I thought I would be able to use the same GUI tool to switch the adapters back, but when I tried, I got a Python traceback with an error message saying that it cannot find dbus. Dbus was stopped and I wasn't able to start it.
                It was impossible to switch to another terminal using Ctrl+Alt+F#, touchpad didn't work (but USB mouse did), Cinnamon immediately crashed and did so even after I tried to restart it. But I had the basic interface up already, so I could open up GNOME Terminal to work with.



                The final step was to run the following command from the article mentioned above:



                prime-select nvidia


                This changed some symlinks and maybe edited a config file or two, and upon the next restart, I am back where I was before I tried changing the GPU used by the system!



                Lesson learned: Despite large improvements in the past couple of years, there are still trivial things you can do to the system which will bring it to an unbootable state. Next time, I will not allow the installer to choose its own filesystem and will pick one which supports snapshots, like btrfs. Having a snapshot would prevent issues like this one.






                share|improve this answer













                After several hours of no luck, a colleague of mine came in and found two articles(How To Switch Between Intel and Nvidia Graphics Card on Ubuntu, How to select integrad graphic card over NVIDIA?) which helped a lot. In my case, I first wanted to get out of the weird console which screwed itself up after some time.



                It turned out that the Intel graphics adapter worked, just not when I was starting the system normally. So I got to the broken terminal and before it had a chance to go haywire, I did the following:



                mount -o rw,remount /


                This remounted the filesystem as read/write, so that I can persist the changes I make.



                startx


                Incredibly, this started X in root mode with the Intel graphics adapter. I thought I would be able to use the same GUI tool to switch the adapters back, but when I tried, I got a Python traceback with an error message saying that it cannot find dbus. Dbus was stopped and I wasn't able to start it.
                It was impossible to switch to another terminal using Ctrl+Alt+F#, touchpad didn't work (but USB mouse did), Cinnamon immediately crashed and did so even after I tried to restart it. But I had the basic interface up already, so I could open up GNOME Terminal to work with.



                The final step was to run the following command from the article mentioned above:



                prime-select nvidia


                This changed some symlinks and maybe edited a config file or two, and upon the next restart, I am back where I was before I tried changing the GPU used by the system!



                Lesson learned: Despite large improvements in the past couple of years, there are still trivial things you can do to the system which will bring it to an unbootable state. Next time, I will not allow the installer to choose its own filesystem and will pick one which supports snapshots, like btrfs. Having a snapshot would prevent issues like this one.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Apr 20 at 11:35









                JohnEye

                240210




                240210






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f438908%2fmint-18-3-does-not-boot-after-i-changed-graphics-card-from-nvidia-to-intel%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay