uname and grub not showing latest updates shown in dpkg -l so can't delete to make space in /boot

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








up vote
0
down vote

favorite












I can no longer update ubuntu 16.04 or upgrade to 18.04 as I need to delete some space in /boot. I normally delete the old kernels but the oldest is now 4.4.0.116 which appears to be the running kernel in uname. My latest downloaded kernel is 4.4.0.121 according to dpkg -l. I did fairly recently rolls back to an older kernel as the system didn't fully boot which didn't solve the problem (I created a new user instead). So I may have blindly followed some instruction and caused the current problem. 'Update-grub' and reboot did not solve the problem. As you can see I'm not an experienced user. How do I run kernel 4.4.0.121.



Other information: when I do remove old kernels with apt-get purge linux-image... ,I do get some error messages:
Error! Could not locate dkms.conf file.
File: does not exist.
and
The link /vmlinuz.old is a damaged link
Removing symbolic link vmlinuz.old
you may need to re-run your boot loader[grub]
The link /initrd.img.old is a damaged link
Removing symbolic link initrd.img.old
you may need to re-run your boot loader[grub]







share|improve this question


























    up vote
    0
    down vote

    favorite












    I can no longer update ubuntu 16.04 or upgrade to 18.04 as I need to delete some space in /boot. I normally delete the old kernels but the oldest is now 4.4.0.116 which appears to be the running kernel in uname. My latest downloaded kernel is 4.4.0.121 according to dpkg -l. I did fairly recently rolls back to an older kernel as the system didn't fully boot which didn't solve the problem (I created a new user instead). So I may have blindly followed some instruction and caused the current problem. 'Update-grub' and reboot did not solve the problem. As you can see I'm not an experienced user. How do I run kernel 4.4.0.121.



    Other information: when I do remove old kernels with apt-get purge linux-image... ,I do get some error messages:
    Error! Could not locate dkms.conf file.
    File: does not exist.
    and
    The link /vmlinuz.old is a damaged link
    Removing symbolic link vmlinuz.old
    you may need to re-run your boot loader[grub]
    The link /initrd.img.old is a damaged link
    Removing symbolic link initrd.img.old
    you may need to re-run your boot loader[grub]







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I can no longer update ubuntu 16.04 or upgrade to 18.04 as I need to delete some space in /boot. I normally delete the old kernels but the oldest is now 4.4.0.116 which appears to be the running kernel in uname. My latest downloaded kernel is 4.4.0.121 according to dpkg -l. I did fairly recently rolls back to an older kernel as the system didn't fully boot which didn't solve the problem (I created a new user instead). So I may have blindly followed some instruction and caused the current problem. 'Update-grub' and reboot did not solve the problem. As you can see I'm not an experienced user. How do I run kernel 4.4.0.121.



      Other information: when I do remove old kernels with apt-get purge linux-image... ,I do get some error messages:
      Error! Could not locate dkms.conf file.
      File: does not exist.
      and
      The link /vmlinuz.old is a damaged link
      Removing symbolic link vmlinuz.old
      you may need to re-run your boot loader[grub]
      The link /initrd.img.old is a damaged link
      Removing symbolic link initrd.img.old
      you may need to re-run your boot loader[grub]







      share|improve this question














      I can no longer update ubuntu 16.04 or upgrade to 18.04 as I need to delete some space in /boot. I normally delete the old kernels but the oldest is now 4.4.0.116 which appears to be the running kernel in uname. My latest downloaded kernel is 4.4.0.121 according to dpkg -l. I did fairly recently rolls back to an older kernel as the system didn't fully boot which didn't solve the problem (I created a new user instead). So I may have blindly followed some instruction and caused the current problem. 'Update-grub' and reboot did not solve the problem. As you can see I'm not an experienced user. How do I run kernel 4.4.0.121.



      Other information: when I do remove old kernels with apt-get purge linux-image... ,I do get some error messages:
      Error! Could not locate dkms.conf file.
      File: does not exist.
      and
      The link /vmlinuz.old is a damaged link
      Removing symbolic link vmlinuz.old
      you may need to re-run your boot loader[grub]
      The link /initrd.img.old is a damaged link
      Removing symbolic link initrd.img.old
      you may need to re-run your boot loader[grub]









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 1 at 8:41

























      asked Apr 30 at 13:50









      user823735

      12




      12




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I solved this problem by following instructions using a boot-repair tool at
          https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
          Uname is now giving the latest kernel version.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            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%2faskubuntu.com%2fquestions%2f1030130%2funame-and-grub-not-showing-latest-updates-shown-in-dpkg-l-so-cant-delete-to-ma%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
            0
            down vote













            I solved this problem by following instructions using a boot-repair tool at
            https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
            Uname is now giving the latest kernel version.






            share|improve this answer
























              up vote
              0
              down vote













              I solved this problem by following instructions using a boot-repair tool at
              https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
              Uname is now giving the latest kernel version.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I solved this problem by following instructions using a boot-repair tool at
                https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
                Uname is now giving the latest kernel version.






                share|improve this answer












                I solved this problem by following instructions using a boot-repair tool at
                https://www.howtogeek.com/114884/how-to-repair-grub2-when-ubuntu-wont-boot/
                Uname is now giving the latest kernel version.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 2 at 17:41









                user823735

                12




                12






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030130%2funame-and-grub-not-showing-latest-updates-shown-in-dpkg-l-so-cant-delete-to-ma%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error