Results 1 to 4 of 4

Thread: Boot-Repair-Disk Reports / is nearly full

  1. #1
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Boot-Repair-Disk Reports / is nearly full

    I don't have the GRUB Rescue Screen due to a video card exchange. I saw the number of old kernels a few days ago and started deleting about half of them. I was very very careful to not delete my

    3.2.0.36-generic-pae ( or very close to those numbers)

    or any with matching numbers.

    After those 20 or so old kernels were manually deleted, the OS would no longer boot. So here I in LiveUSB and need help in deleting the out of date kernels. I could not perform that in boot-repair-disk session; even though it said I should. Maybe I'm not familiar with how it operates. It's my first use of it. Meanwhile in Boot-Repair-Disk the number of old kernels looked to be around 50, even though I though I manually deleted about half of them. And in another section of the Boot-Repair-Disk, under the heading GRUB, the old kernels were still there, too.

    How can I get this line to work in LiveUSB (same as LiveCD)

    sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)

    Above found at: Remove all unused kernels with 1 command in debian based systems
    Last edited by Mark_in_Hollywood; January 26th, 2013 at 05:44 AM. Reason: added info
    AMD Athlon II X4 620, 4gig ddr2-800, m/b MSI K9N6PGM2, 1T SATA, EVGA 9500GT, Brother MFC-240C prntr, LG DVD-rom GSA-H55N

  2. #2
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,661
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Boot-Repair-Disk Reports / is nearly full

    Hi Mark_in_Hollywood.

    What do you mean by 'manually deleted'?

    Are you able to boot into recovery mode?

    Regards.

  3. #3
    Join Date
    Mar 2006
    Location
    Rumplestiltskin, Cal.
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Boot-Repair-Disk Reports / is nearly full

    No "Recovery Mode" due to faulty video card. (I advise: don't ask 'bout that).

    I've been without my computer for about 48 hours now. I cannot find the Chrome Browser page from several days ago, but I assure you that

    1 - it's a command line

    2 - it is up-to-date for Precise Pangolin ver 12.04 LTS

    3 - I did NOT (repeat NOT) tamper with the current kernel and it's associated files.

    4 - I have to delete these out of date files (kernels) and found several posts online, but none talk about how to do this while in LiveCD (actually LiveUSB) mode.

    5 - I'm sorry I cannot give you more information.
    AMD Athlon II X4 620, 4gig ddr2-800, m/b MSI K9N6PGM2, 1T SATA, EVGA 9500GT, Brother MFC-240C prntr, LG DVD-rom GSA-H55N

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    6,661
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Boot-Repair-Disk Reports / is nearly full

    (I read your PM)

    This is what I would do.

    You can use the Live media to mount and bind the actual partitions of your broken system. Then you can 'chroot' to the broken system.

    Once that is set up, you can uninstall packages using apt-get as if you were on your system.

    Take a look at the section called 'Fixing a Broken System -> via chroot' in this tutorial. Also here you can find another helpful tutorial.

    Let us know if you need more help with that.
    Regards.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •