Can not install Ubuntu 18.04 on HP ProBook 470 G5












1














I am encountering an issue while trying to install Ubuntu 18.04 LTS on my new HP laptop...



Here are the characteristics of my computer :
HP ProBook 470 G5 Core i5 8250U




  • RAM: 8 Go (1 x 8 GB) DDR4 SDRAM 2400 MHz

  • Graphical cards : Intel UHD Graphics 620 & NVIDIA GeForce 930MX

  • Video memory : 2 Go DDR3 SDRAM

  • Processor Intel Core i5 (8th generation) 8250U - 1.6 GHz


The computer freezes when booting on the Ubuntu Live CD (I have also tried the Xubuntu CD), generally after the mouse has appeared.



Generally, the computer show a message saying that the nouveau module encountered an error.



I tried to edit grub boot options, replacing splash quiet with nouveau.nomodeset=0but it did not improve anything, as nomodeset.



I also tried to clone a working installation of Ubuntu from another computer using Clonezilla but the system freezes at logon screen and the logs says that gdm could not start.



What could I do to install Ubuntu on this computer ? Is there any module I should disable / enable to get my computer working ?



Thank you in advance !










share|improve this question



























    1














    I am encountering an issue while trying to install Ubuntu 18.04 LTS on my new HP laptop...



    Here are the characteristics of my computer :
    HP ProBook 470 G5 Core i5 8250U




    • RAM: 8 Go (1 x 8 GB) DDR4 SDRAM 2400 MHz

    • Graphical cards : Intel UHD Graphics 620 & NVIDIA GeForce 930MX

    • Video memory : 2 Go DDR3 SDRAM

    • Processor Intel Core i5 (8th generation) 8250U - 1.6 GHz


    The computer freezes when booting on the Ubuntu Live CD (I have also tried the Xubuntu CD), generally after the mouse has appeared.



    Generally, the computer show a message saying that the nouveau module encountered an error.



    I tried to edit grub boot options, replacing splash quiet with nouveau.nomodeset=0but it did not improve anything, as nomodeset.



    I also tried to clone a working installation of Ubuntu from another computer using Clonezilla but the system freezes at logon screen and the logs says that gdm could not start.



    What could I do to install Ubuntu on this computer ? Is there any module I should disable / enable to get my computer working ?



    Thank you in advance !










    share|improve this question

























      1












      1








      1


      1





      I am encountering an issue while trying to install Ubuntu 18.04 LTS on my new HP laptop...



      Here are the characteristics of my computer :
      HP ProBook 470 G5 Core i5 8250U




      • RAM: 8 Go (1 x 8 GB) DDR4 SDRAM 2400 MHz

      • Graphical cards : Intel UHD Graphics 620 & NVIDIA GeForce 930MX

      • Video memory : 2 Go DDR3 SDRAM

      • Processor Intel Core i5 (8th generation) 8250U - 1.6 GHz


      The computer freezes when booting on the Ubuntu Live CD (I have also tried the Xubuntu CD), generally after the mouse has appeared.



      Generally, the computer show a message saying that the nouveau module encountered an error.



      I tried to edit grub boot options, replacing splash quiet with nouveau.nomodeset=0but it did not improve anything, as nomodeset.



      I also tried to clone a working installation of Ubuntu from another computer using Clonezilla but the system freezes at logon screen and the logs says that gdm could not start.



      What could I do to install Ubuntu on this computer ? Is there any module I should disable / enable to get my computer working ?



      Thank you in advance !










      share|improve this question













      I am encountering an issue while trying to install Ubuntu 18.04 LTS on my new HP laptop...



      Here are the characteristics of my computer :
      HP ProBook 470 G5 Core i5 8250U




      • RAM: 8 Go (1 x 8 GB) DDR4 SDRAM 2400 MHz

      • Graphical cards : Intel UHD Graphics 620 & NVIDIA GeForce 930MX

      • Video memory : 2 Go DDR3 SDRAM

      • Processor Intel Core i5 (8th generation) 8250U - 1.6 GHz


      The computer freezes when booting on the Ubuntu Live CD (I have also tried the Xubuntu CD), generally after the mouse has appeared.



      Generally, the computer show a message saying that the nouveau module encountered an error.



      I tried to edit grub boot options, replacing splash quiet with nouveau.nomodeset=0but it did not improve anything, as nomodeset.



      I also tried to clone a working installation of Ubuntu from another computer using Clonezilla but the system freezes at logon screen and the logs says that gdm could not start.



      What could I do to install Ubuntu on this computer ? Is there any module I should disable / enable to get my computer working ?



      Thank you in advance !







      drivers nvidia system-installation crash






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 29 '18 at 18:56









      Pierre HUBERT

      165




      165






















          1 Answer
          1






          active

          oldest

          votes


















          0














          One of my friend told my this issue could come from nVidia Optimus, a technology from nVidia that tries to improve battery life by switching between two graphicals cards (A nVidia card and an Intel Graphic HD card for example). This allowed to me create the following procedure to get Ubuntu 18.04 LTS up and running on my computer :



          Ubuntu HP ProBook 470 G5



          It might be tough to get Ubuntu working on this laptop...



          Base Setup




          • Disable secure boot and enable legacy support

          • Install Ubuntu server (NOT LIVE EDITION !!)

          • Install nvidia-driver-390 x11-xserver-utils xinit


          • Create and edit file /usr/share/X11/xorg.conf.d/50-custom.conf



            Section "Module"
            Load "modesetting"
            EndSection

            Section "Device"
            Identifier "nvidia"
            Driver "nvidia"
            BusID "1:0:0:"
            Option "AllowEmptyInitialConfiguration"
            EndSection



          Install desktop



          XFCE4




          • sudo apt install xfce4


          Ubuntu Desktop




          • sudo apt install ubuntu-desktop


          Configure Lightdm




          • sudo apt install lightdm


          XFCE 4





          • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



            [SeatDefaults]
            user-session=xfce



          Ubuntu Desktop





          • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



            [SeatDefaults]
            user-session=ubuntu



          Other sessions




          • Find the required session using ls /usr/share/xessions/{SESSION_NAME}.desktop


          • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



            [SeatDefaults]
            user-session={SESSION_NAME}



          Fix GPU drivers



          Basic usage with xinit




          • Add the following lines at the begining of .xinitrc :
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


          LightDM Display Manager configuration




          • Create the file /etc/lightdm/display_setup.sh with the following content :
            #!/bin/sh
            xrandr --setprovideroutputsource modesetting NVIDIA-0
            xrandr --auto


          • Make the script executable : chmod +x /etc/lightdm/display_setup.sh


          • Configure lightdm to run the script
            [Seat:*]
            display-setup-script=/etc/lightdm/display_setup.sh



          Check your computer is using nVidia card



          You can check nVidia card is being used by issuing the following commands into a terminal:
          sudo apt install mesa-utils
          glxinfo | grep NVIDIA



          Reference




          • https://wiki.archlinux.org/index.php/NIVDIA_Optimus






          share|improve this answer





















            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%2f1105434%2fcan-not-install-ubuntu-18-04-on-hp-probook-470-g5%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














            One of my friend told my this issue could come from nVidia Optimus, a technology from nVidia that tries to improve battery life by switching between two graphicals cards (A nVidia card and an Intel Graphic HD card for example). This allowed to me create the following procedure to get Ubuntu 18.04 LTS up and running on my computer :



            Ubuntu HP ProBook 470 G5



            It might be tough to get Ubuntu working on this laptop...



            Base Setup




            • Disable secure boot and enable legacy support

            • Install Ubuntu server (NOT LIVE EDITION !!)

            • Install nvidia-driver-390 x11-xserver-utils xinit


            • Create and edit file /usr/share/X11/xorg.conf.d/50-custom.conf



              Section "Module"
              Load "modesetting"
              EndSection

              Section "Device"
              Identifier "nvidia"
              Driver "nvidia"
              BusID "1:0:0:"
              Option "AllowEmptyInitialConfiguration"
              EndSection



            Install desktop



            XFCE4




            • sudo apt install xfce4


            Ubuntu Desktop




            • sudo apt install ubuntu-desktop


            Configure Lightdm




            • sudo apt install lightdm


            XFCE 4





            • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



              [SeatDefaults]
              user-session=xfce



            Ubuntu Desktop





            • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



              [SeatDefaults]
              user-session=ubuntu



            Other sessions




            • Find the required session using ls /usr/share/xessions/{SESSION_NAME}.desktop


            • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



              [SeatDefaults]
              user-session={SESSION_NAME}



            Fix GPU drivers



            Basic usage with xinit




            • Add the following lines at the begining of .xinitrc :
              xrandr --setprovideroutputsource modesetting NVIDIA-0
              xrandr --auto


            LightDM Display Manager configuration




            • Create the file /etc/lightdm/display_setup.sh with the following content :
              #!/bin/sh
              xrandr --setprovideroutputsource modesetting NVIDIA-0
              xrandr --auto


            • Make the script executable : chmod +x /etc/lightdm/display_setup.sh


            • Configure lightdm to run the script
              [Seat:*]
              display-setup-script=/etc/lightdm/display_setup.sh



            Check your computer is using nVidia card



            You can check nVidia card is being used by issuing the following commands into a terminal:
            sudo apt install mesa-utils
            glxinfo | grep NVIDIA



            Reference




            • https://wiki.archlinux.org/index.php/NIVDIA_Optimus






            share|improve this answer


























              0














              One of my friend told my this issue could come from nVidia Optimus, a technology from nVidia that tries to improve battery life by switching between two graphicals cards (A nVidia card and an Intel Graphic HD card for example). This allowed to me create the following procedure to get Ubuntu 18.04 LTS up and running on my computer :



              Ubuntu HP ProBook 470 G5



              It might be tough to get Ubuntu working on this laptop...



              Base Setup




              • Disable secure boot and enable legacy support

              • Install Ubuntu server (NOT LIVE EDITION !!)

              • Install nvidia-driver-390 x11-xserver-utils xinit


              • Create and edit file /usr/share/X11/xorg.conf.d/50-custom.conf



                Section "Module"
                Load "modesetting"
                EndSection

                Section "Device"
                Identifier "nvidia"
                Driver "nvidia"
                BusID "1:0:0:"
                Option "AllowEmptyInitialConfiguration"
                EndSection



              Install desktop



              XFCE4




              • sudo apt install xfce4


              Ubuntu Desktop




              • sudo apt install ubuntu-desktop


              Configure Lightdm




              • sudo apt install lightdm


              XFCE 4





              • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                [SeatDefaults]
                user-session=xfce



              Ubuntu Desktop





              • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                [SeatDefaults]
                user-session=ubuntu



              Other sessions




              • Find the required session using ls /usr/share/xessions/{SESSION_NAME}.desktop


              • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                [SeatDefaults]
                user-session={SESSION_NAME}



              Fix GPU drivers



              Basic usage with xinit




              • Add the following lines at the begining of .xinitrc :
                xrandr --setprovideroutputsource modesetting NVIDIA-0
                xrandr --auto


              LightDM Display Manager configuration




              • Create the file /etc/lightdm/display_setup.sh with the following content :
                #!/bin/sh
                xrandr --setprovideroutputsource modesetting NVIDIA-0
                xrandr --auto


              • Make the script executable : chmod +x /etc/lightdm/display_setup.sh


              • Configure lightdm to run the script
                [Seat:*]
                display-setup-script=/etc/lightdm/display_setup.sh



              Check your computer is using nVidia card



              You can check nVidia card is being used by issuing the following commands into a terminal:
              sudo apt install mesa-utils
              glxinfo | grep NVIDIA



              Reference




              • https://wiki.archlinux.org/index.php/NIVDIA_Optimus






              share|improve this answer
























                0












                0








                0






                One of my friend told my this issue could come from nVidia Optimus, a technology from nVidia that tries to improve battery life by switching between two graphicals cards (A nVidia card and an Intel Graphic HD card for example). This allowed to me create the following procedure to get Ubuntu 18.04 LTS up and running on my computer :



                Ubuntu HP ProBook 470 G5



                It might be tough to get Ubuntu working on this laptop...



                Base Setup




                • Disable secure boot and enable legacy support

                • Install Ubuntu server (NOT LIVE EDITION !!)

                • Install nvidia-driver-390 x11-xserver-utils xinit


                • Create and edit file /usr/share/X11/xorg.conf.d/50-custom.conf



                  Section "Module"
                  Load "modesetting"
                  EndSection

                  Section "Device"
                  Identifier "nvidia"
                  Driver "nvidia"
                  BusID "1:0:0:"
                  Option "AllowEmptyInitialConfiguration"
                  EndSection



                Install desktop



                XFCE4




                • sudo apt install xfce4


                Ubuntu Desktop




                • sudo apt install ubuntu-desktop


                Configure Lightdm




                • sudo apt install lightdm


                XFCE 4





                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session=xfce



                Ubuntu Desktop





                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session=ubuntu



                Other sessions




                • Find the required session using ls /usr/share/xessions/{SESSION_NAME}.desktop


                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session={SESSION_NAME}



                Fix GPU drivers



                Basic usage with xinit




                • Add the following lines at the begining of .xinitrc :
                  xrandr --setprovideroutputsource modesetting NVIDIA-0
                  xrandr --auto


                LightDM Display Manager configuration




                • Create the file /etc/lightdm/display_setup.sh with the following content :
                  #!/bin/sh
                  xrandr --setprovideroutputsource modesetting NVIDIA-0
                  xrandr --auto


                • Make the script executable : chmod +x /etc/lightdm/display_setup.sh


                • Configure lightdm to run the script
                  [Seat:*]
                  display-setup-script=/etc/lightdm/display_setup.sh



                Check your computer is using nVidia card



                You can check nVidia card is being used by issuing the following commands into a terminal:
                sudo apt install mesa-utils
                glxinfo | grep NVIDIA



                Reference




                • https://wiki.archlinux.org/index.php/NIVDIA_Optimus






                share|improve this answer












                One of my friend told my this issue could come from nVidia Optimus, a technology from nVidia that tries to improve battery life by switching between two graphicals cards (A nVidia card and an Intel Graphic HD card for example). This allowed to me create the following procedure to get Ubuntu 18.04 LTS up and running on my computer :



                Ubuntu HP ProBook 470 G5



                It might be tough to get Ubuntu working on this laptop...



                Base Setup




                • Disable secure boot and enable legacy support

                • Install Ubuntu server (NOT LIVE EDITION !!)

                • Install nvidia-driver-390 x11-xserver-utils xinit


                • Create and edit file /usr/share/X11/xorg.conf.d/50-custom.conf



                  Section "Module"
                  Load "modesetting"
                  EndSection

                  Section "Device"
                  Identifier "nvidia"
                  Driver "nvidia"
                  BusID "1:0:0:"
                  Option "AllowEmptyInitialConfiguration"
                  EndSection



                Install desktop



                XFCE4




                • sudo apt install xfce4


                Ubuntu Desktop




                • sudo apt install ubuntu-desktop


                Configure Lightdm




                • sudo apt install lightdm


                XFCE 4





                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session=xfce



                Ubuntu Desktop





                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session=ubuntu



                Other sessions




                • Find the required session using ls /usr/share/xessions/{SESSION_NAME}.desktop


                • Create the file /etc/lightdm/lightdm.conf.d/50-session.conf adding the following content:



                  [SeatDefaults]
                  user-session={SESSION_NAME}



                Fix GPU drivers



                Basic usage with xinit




                • Add the following lines at the begining of .xinitrc :
                  xrandr --setprovideroutputsource modesetting NVIDIA-0
                  xrandr --auto


                LightDM Display Manager configuration




                • Create the file /etc/lightdm/display_setup.sh with the following content :
                  #!/bin/sh
                  xrandr --setprovideroutputsource modesetting NVIDIA-0
                  xrandr --auto


                • Make the script executable : chmod +x /etc/lightdm/display_setup.sh


                • Configure lightdm to run the script
                  [Seat:*]
                  display-setup-script=/etc/lightdm/display_setup.sh



                Check your computer is using nVidia card



                You can check nVidia card is being used by issuing the following commands into a terminal:
                sudo apt install mesa-utils
                glxinfo | grep NVIDIA



                Reference




                • https://wiki.archlinux.org/index.php/NIVDIA_Optimus







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 31 '18 at 9:13









                Pierre HUBERT

                165




                165






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f1105434%2fcan-not-install-ubuntu-18-04-on-hp-probook-470-g5%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

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    張江高科駅