Unable to boot After removing old kernelsCan't boot any Linux except UbuntuBoot everywhere live USBCan't boot...

What's the big deal about the Nazgûl losing their horses?

Do intermediate subdomains need to exist?

How to deal with a Murder Hobo Paladin?

Why does mean tend be more stable in different samples than median?

Machine Learning Golf: Multiplication

Motorcyle Chain needs to be cleaned every time you lube it?

Recursive conversion from ExpandoObject to Dictionary<string, object>

How can I effectively map a multi-level dungeon?

CPA filed late returns, stating I would get money; IRS says they were filed too late

What is the maximum amount of diamond in one Minecraft game?

How can solar sailed ships be protected from space debris?

In the Seventh Seal why does Death let the chess game happen?

PhD: When to quit and move on?

Will electrically joined dipoles of different lengths, at right angles, behave as a multiband antenna?

What is exact meaning of “ich wäre gern”?

Who pays for increased security measures on flights to the US?

Why did C++11 make std::string::data() add a null terminating character?

Why no parachutes in the Orion AA2 abort test?

Before the 13th Amendment, could people sell themselves into slavery in the USA?

How would an Amulet of Proof Against Detection and Location interact with the Comprehend Languages spell?

Speeding up thousands of string parses

Do the 26 richest billionaires own as much wealth as the poorest 3.8 billion people?

Should I increase my 401(k) contributions, or increase my mortgage payments

Minimizing medical costs with HSA



Unable to boot After removing old kernels


Can't boot any Linux except UbuntuBoot everywhere live USBCan't boot Kali-linux in Virtualbox (Elementary OS host)Correct way to delete unnecessary files from /boot directory (Ubuntu)restoring grub mint 17Receiving “Unable to correct problems, you have held broken packages.” after trying to install python -setuptools and python-pip“USB HDD” option replaced by “ubuntu” in BIOS, now cannot use USB boot mediaApt-get does not work in live-usb environmentCan't purge old kernels (dependency problems), but /boot is out of spaceBlack Screen Boot & Freezing Boot






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in the terminal. Then, when I noticed some issues with how the the operating system performed, I tried to weed through the issues with Synaptic. After some removal and reinstallation of linux-images and headers, I seem to have ruined my /boot.



Currently, I have linux-images 3.13.0-{37,57}-generic and 3.16.0.40-generic installed on the boot drive. 3.16.0.40-generic was the last known working version, but it since has been reinstalled and does not work. I was hoping to be able to remove old my linux-images and start from scratch with a Live USB. However apt-get purge and install commands seem to fail regularly when installing linux-images and headers. I keep having to remove the lock from the processes to run apt-get or dkpg commands.



I have root access to the boot disk and data from the Live USB. I am new to Linux and Ubuntu. I am not sure what logs or commands I should be checking for errors.










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Also asked on Ask Ubuntu: askubuntu.com/questions/640362

    – JdeBP
    Jun 24 '15 at 13:33


















1















I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in the terminal. Then, when I noticed some issues with how the the operating system performed, I tried to weed through the issues with Synaptic. After some removal and reinstallation of linux-images and headers, I seem to have ruined my /boot.



Currently, I have linux-images 3.13.0-{37,57}-generic and 3.16.0.40-generic installed on the boot drive. 3.16.0.40-generic was the last known working version, but it since has been reinstalled and does not work. I was hoping to be able to remove old my linux-images and start from scratch with a Live USB. However apt-get purge and install commands seem to fail regularly when installing linux-images and headers. I keep having to remove the lock from the processes to run apt-get or dkpg commands.



I have root access to the boot disk and data from the Live USB. I am new to Linux and Ubuntu. I am not sure what logs or commands I should be checking for errors.










share|improve this question
















bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • Also asked on Ask Ubuntu: askubuntu.com/questions/640362

    – JdeBP
    Jun 24 '15 at 13:33














1












1








1








I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in the terminal. Then, when I noticed some issues with how the the operating system performed, I tried to weed through the issues with Synaptic. After some removal and reinstallation of linux-images and headers, I seem to have ruined my /boot.



Currently, I have linux-images 3.13.0-{37,57}-generic and 3.16.0.40-generic installed on the boot drive. 3.16.0.40-generic was the last known working version, but it since has been reinstalled and does not work. I was hoping to be able to remove old my linux-images and start from scratch with a Live USB. However apt-get purge and install commands seem to fail regularly when installing linux-images and headers. I keep having to remove the lock from the processes to run apt-get or dkpg commands.



I have root access to the boot disk and data from the Live USB. I am new to Linux and Ubuntu. I am not sure what logs or commands I should be checking for errors.










share|improve this question
















I removed old linux-image and linux-header files to free up space in /boot. I did this first by purging them in the terminal. Then, when I noticed some issues with how the the operating system performed, I tried to weed through the issues with Synaptic. After some removal and reinstallation of linux-images and headers, I seem to have ruined my /boot.



Currently, I have linux-images 3.13.0-{37,57}-generic and 3.16.0.40-generic installed on the boot drive. 3.16.0.40-generic was the last known working version, but it since has been reinstalled and does not work. I was hoping to be able to remove old my linux-images and start from scratch with a Live USB. However apt-get purge and install commands seem to fail regularly when installing linux-images and headers. I keep having to remove the lock from the processes to run apt-get or dkpg commands.



I have root access to the boot disk and data from the Live USB. I am new to Linux and Ubuntu. I am not sure what logs or commands I should be checking for errors.







linux ubuntu boot apt live-usb






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 25 '15 at 15:21









Thomas Dickey

54.7k5 gold badges110 silver badges186 bronze badges




54.7k5 gold badges110 silver badges186 bronze badges










asked Jun 24 '15 at 12:28









musclezmusclez

113 bronze badges




113 bronze badges





bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 9 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Also asked on Ask Ubuntu: askubuntu.com/questions/640362

    – JdeBP
    Jun 24 '15 at 13:33



















  • Also asked on Ask Ubuntu: askubuntu.com/questions/640362

    – JdeBP
    Jun 24 '15 at 13:33

















Also asked on Ask Ubuntu: askubuntu.com/questions/640362

– JdeBP
Jun 24 '15 at 13:33





Also asked on Ask Ubuntu: askubuntu.com/questions/640362

– JdeBP
Jun 24 '15 at 13:33










1 Answer
1






active

oldest

votes


















0














You will need to chroot (change root) to the installed system once you're booted from the live cd/usb.



Excellent instructions on creating the chroot environment are here:



http://ubuntuforums.org/showthread.php?t=1581099



I've used these instructions quite a few times - please read and understand each step before starting - pay particular attention to the section regarding a separate boot partition.



Once you're chrooted, there's no need to do the full purge and reinstall of grub in the instructions unless you want to for completeness, but do issue the following:



apt-get install --reinstall linux-image-generic linux-image
update-initramfs -u -k 3.13.0-55-generic #this is the version mine is using, yours might differ - you can check by using "uname -r" in terminal
update-grub
shutdown -r 0


That should reinstall the latest kernel. Once you're booted back into your installed system rather than the live cd/usb you can:



sudo apt-get autoremove


to get rid of any additional and un-needed kernels.



Hope that helps.






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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f211816%2funable-to-boot-after-removing-old-kernels%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














    You will need to chroot (change root) to the installed system once you're booted from the live cd/usb.



    Excellent instructions on creating the chroot environment are here:



    http://ubuntuforums.org/showthread.php?t=1581099



    I've used these instructions quite a few times - please read and understand each step before starting - pay particular attention to the section regarding a separate boot partition.



    Once you're chrooted, there's no need to do the full purge and reinstall of grub in the instructions unless you want to for completeness, but do issue the following:



    apt-get install --reinstall linux-image-generic linux-image
    update-initramfs -u -k 3.13.0-55-generic #this is the version mine is using, yours might differ - you can check by using "uname -r" in terminal
    update-grub
    shutdown -r 0


    That should reinstall the latest kernel. Once you're booted back into your installed system rather than the live cd/usb you can:



    sudo apt-get autoremove


    to get rid of any additional and un-needed kernels.



    Hope that helps.






    share|improve this answer




























      0














      You will need to chroot (change root) to the installed system once you're booted from the live cd/usb.



      Excellent instructions on creating the chroot environment are here:



      http://ubuntuforums.org/showthread.php?t=1581099



      I've used these instructions quite a few times - please read and understand each step before starting - pay particular attention to the section regarding a separate boot partition.



      Once you're chrooted, there's no need to do the full purge and reinstall of grub in the instructions unless you want to for completeness, but do issue the following:



      apt-get install --reinstall linux-image-generic linux-image
      update-initramfs -u -k 3.13.0-55-generic #this is the version mine is using, yours might differ - you can check by using "uname -r" in terminal
      update-grub
      shutdown -r 0


      That should reinstall the latest kernel. Once you're booted back into your installed system rather than the live cd/usb you can:



      sudo apt-get autoremove


      to get rid of any additional and un-needed kernels.



      Hope that helps.






      share|improve this answer


























        0












        0








        0







        You will need to chroot (change root) to the installed system once you're booted from the live cd/usb.



        Excellent instructions on creating the chroot environment are here:



        http://ubuntuforums.org/showthread.php?t=1581099



        I've used these instructions quite a few times - please read and understand each step before starting - pay particular attention to the section regarding a separate boot partition.



        Once you're chrooted, there's no need to do the full purge and reinstall of grub in the instructions unless you want to for completeness, but do issue the following:



        apt-get install --reinstall linux-image-generic linux-image
        update-initramfs -u -k 3.13.0-55-generic #this is the version mine is using, yours might differ - you can check by using "uname -r" in terminal
        update-grub
        shutdown -r 0


        That should reinstall the latest kernel. Once you're booted back into your installed system rather than the live cd/usb you can:



        sudo apt-get autoremove


        to get rid of any additional and un-needed kernels.



        Hope that helps.






        share|improve this answer













        You will need to chroot (change root) to the installed system once you're booted from the live cd/usb.



        Excellent instructions on creating the chroot environment are here:



        http://ubuntuforums.org/showthread.php?t=1581099



        I've used these instructions quite a few times - please read and understand each step before starting - pay particular attention to the section regarding a separate boot partition.



        Once you're chrooted, there's no need to do the full purge and reinstall of grub in the instructions unless you want to for completeness, but do issue the following:



        apt-get install --reinstall linux-image-generic linux-image
        update-initramfs -u -k 3.13.0-55-generic #this is the version mine is using, yours might differ - you can check by using "uname -r" in terminal
        update-grub
        shutdown -r 0


        That should reinstall the latest kernel. Once you're booted back into your installed system rather than the live cd/usb you can:



        sudo apt-get autoremove


        to get rid of any additional and un-needed kernels.



        Hope that helps.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 7 '15 at 15:19









        RhizoidRhizoid

        112 bronze badges




        112 bronze badges






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f211816%2funable-to-boot-after-removing-old-kernels%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

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...