Ubuntu :: Apt-get Deleting All Kernels Instead Of One

Sep 4, 2010

I have an issue with apt-get that has been bugging me, namely that it tries to delete kernels I did not specify for deletion.

This is an issue that has been present over at least the last three releases and is present for both 32bit and 64bit, so it might actually be a feature and not a bug, however I can't see it's usefulness.

When I use the command:

Code:
sudo apt-get remove --purge 2.6.32-21*

It not only tries to remove the kernel 2.6.32.21 but gives me the following output:

Code:
sudo apt-get remove --purge 2.6.32-22*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting linux-headers-lbm-2.6.32-24-generic for regex '2.6.32-22*'
Note, selecting linux-headers-2.6.32-21-preempt for regex '2.6.32-22*'

[Code]....

When I go through with this command to remove the oldest kernel on the system, it will actually delete all kernels present on my PC (as I painfully learned when I first tried it). Why is that the case? Wouldn't it make more sense to only remove the kernel 2.6.32.22?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Free Up Space By Deleting Old Kernels?

Feb 12, 2010

the method for freeing up space by deleting old kernels is made to sound very simple: go into Synaptic, select the outdated kernels, mark for complete removal, and Apply. Easy. But . . . when I mark a particular kernel for removal, Synaptic also wants to remove a lot of other things, some of which do not bear version numbers and seem generic. I am, to put it mildly, very leery of just telling it to go ahead, lest I end up losing things I should have kept and having a dead or at least crippled box.

Say, for example, that I mark for Complete Removal the line linux-image-2.6.22-15-generic; when I go to Apply that one deletion, I get a laundry list of to-die files that includes:

linux-generic
linux-image-generic
linux-restricted-modules-generic
linux-restricted-modules-2.6.24-27-generic
linux-ubuntu-modules-2.6.24-27-generic
linux-restricted-modules-2.6.22-15-generic
linux-ubuntu-modules-2.6.22-15-generic,........

View 9 Replies View Related

Ubuntu :: Disappeared From Grub After Deleting Old Kernels

Jan 30, 2011

Ubuntu disappeared from grub menu after I deleted the old kernels.

View 9 Replies View Related

Ubuntu Servers :: Deleting From / Boot After Removing Kernels

Jul 25, 2011

I received an alarm on a server stating that the /boot partition was 90% used. The partition contains several old kernels so I removed all but the current and previous 2 known stable versions using apt. This did not purge the files from the /boot partition.The /boot partition still contains the kernel files for 12 old versions. Is it safe to delete these files after the kernel has been removed using apt? Below is the output of the /boot partition.

View 3 Replies View Related

Ubuntu :: Initramfs On One Of The Kernels?

Aug 28, 2010

I am using Ubuntu 9.10 and am facing an issue while booting up. It goes into initfs command prompt on one of the 4 kernels that show up in the boot menu. I tried to look around for a likely solution and hence did the following:1. ran "chkdsk c: /f" in my windows partition.2. Added "rootdelay=90" in "/boot/grub/menu.lst" file.This is how my /boot/grub/menu.lst file looks and the problem is with the kernel 2.6.31-20-generic:

title Ubuntu 9.10, kernel 2.6.31-20-generic
uuid ceacd229-2b68-41bf-a967-8ee470085fd8
kernel /boot/vmlinuz-2.6.31-20-generic root=UUID=ceacd229-2b68-41bf-a967-8ee470085fd8 ro quiet

[code]....

View 9 Replies View Related

Ubuntu :: Kernels 2.6.35-26/27 Not Working

Feb 15, 2011

I am running Maverick and I have installed through the terminal those two kernel versions (26 and 27). Once I restart the system and choose either of those kernels to start, I can only work in console mode. I am using 2.6.35-23 without a problem and I have been having this same problem with version 25 too.

View 2 Replies View Related

Ubuntu :: Using Previous Kernels With 11.04

Apr 30, 2011

I'm having an issue with my suspend, and nothing seems to be fixing it. Every time I suspend, the computer starts up as if it were shut down. Somebody recommended that I use a previous kernel, such as 2.6.35-28, rather than the current kernel, 2.6.38-. When I open Synaptic, no previous kernels are listed, so I wanted to see if anybody else knew how to install previous kernels.

View 1 Replies View Related

Ubuntu :: How To Uninstall Old Kernels

Mar 17, 2010

What is the best way to uninstall old kernels in Ubuntu 9.10?

View 8 Replies View Related

Ubuntu / Apple :: No Sound On MPB 5,3 With Kernels 2.6.31-17 And 2.6.31-18?

Jan 16, 2010

I've been using the instructions on the Wiki to compile audio drivers for the Macbook Pro 5,3, and it has worked for a while. But I tried doing the same thing with kernels 2.6.31-17 and 2.6.31-18, but it seems to have no effect: alsamixer only shows one channel (Master) which does nothing, just like a fresh install. Does anyone have updated instructions for these kernels?

View 9 Replies View Related

Ubuntu :: Cant Boot Any Of Default Kernels

Mar 2, 2010

Instaled ubuntu 9.10 and i like it more than win xp because you can setup it in your way. Now my problem is when i compile older kernel with my setup and restart ubuntu i get grub with no loads like config is gone or something so i cant boot any of default kernels. I folowed this guide for compile [URL]... because i want to create lan hlds server with 1000hz kernel and have best response and latency server. can anyone confirm is this guide working with this 9.10 version or problem is that i cant set older kernel with newest ubuntu? Compiled few times and annoyed to wait again 2h just to try some other explanations i found on internet.

View 1 Replies View Related

Ubuntu :: Deleted Old Kernels - Now Can' Boot

Mar 10, 2010

yesterday I removed old kernels via. the synaptic manager- I'm 100% certain I did not removed the latest stable kernel, and the version before- I did however removed the oldest two. Now after restart I'm dead in the water- i cant get past the initial boot- the screen goes black. I i'm running ubuntu 9.10 double-booted with windows vista, and right now I cant even get into vista...

Let's say that I messed up with removing old kernels, and removed sth, that shouldn't be removed- but how does this mess up vista?

View 3 Replies View Related

Ubuntu :: Unable To Boot Any Kernels?

Mar 15, 2010

I can't boot any kernels now, even old ones...

View 8 Replies View Related

Ubuntu :: Can't Find The Older Kernels

Mar 31, 2010

I already know about Ubuntu Tweak but the list of kernels seems to show only my 9.10 kernels. I checked GRUB and the 9.10 kernels are linux 2.6.31-17 and 2.6.31-19 but (acording to GRUB) the ones I am looking for should be version 2.6.28-17.

View 9 Replies View Related

Ubuntu Networking :: Different Connectivity Under Different Kernels?

Apr 19, 2010

I use a laptop with a built-in WiFi card (Intel PRO/Wireless 3945ABG [Golan] using iwl3945 module). It's OK but sometimes is not very stable, occasionaly it simply dies and I have to reboot. It was even worse but I improved it by applying a new driver.I also have a very nice USB WiFi card (D-Link System DWA-140 802.11n Adapter [ralink rt2870]). It's much better and faster.

So the problem is that in Ubuntu 9.10 (2.6.31) I can use only the built-in one. The other one (D-Link) also works but I can't make it connect to my router. The built-in card connects to it but the D-Link even does not list it among possible connections (but it lists other possible connections which I do not want to use).The funny bit is that this problem disappears when I use an old Kernel (2.6.28-18 ) : both cards work fine and can connect to the router at the same time (obtaining different ip's). I then disable the built-in one and happily use the external card.

Unfortunately the old Kernel has issues with sound and video, so I would like to use the latest Kernel with the external card. I tried WICD but it didn't change anything.I can add that under the old Kernel the USB card is used as a ra0 device while the new Kernel lists it as wlan1.

View 1 Replies View Related

Ubuntu :: Random Kernels Don't Boot

Sep 17, 2010

I seem to be having a problem booting into ubuntu 10.04 (and 9.10 before I upgraded a while back). It's been ongoing for a while now, but I can't seem to actually even get to the login screen. Some kernels just give me a blank screen, and others hang at the ubuntu logo (http://i.cbsi.com.au/story_media/339...ic-koala_1.jpg). It seems to be totally random, and I can't seem to even narrow down which kernels do what. It seems to be a game every time I reboot. Perhaps it has something to do with the beta 2.6.32-rc6 kernel I installed (by clicking on the .deb) a while back? I'm not too sure how to uninstall it, but I first installed it I think back at 9.04, and it always seems to be the first option in grub. Can I clean out my old kernels somehow? Or is that dangerous?

Maybe it's caused by graphics drivers? "Safe mode" doesn't seem to work any better though. And I can't get to the TTY terminals by <ctrl><alt><1-6> either, which would suggest to me that it isn't a graphics issue? I don't see the login screen, nor do I always see the splash screen.

View 9 Replies View Related

Ubuntu :: Grub Loads Only Old Kernels

Oct 12, 2010

I've been using Ubuntu for more than a year (just basic simple stuff like surfing the net or the occasional document) and in the last months I've been running into the following problem.I've been updating regularly to the latest Kernels the last one should be 2.6.32-25. However at start up Grub loads only 2.6.31-19 and below and there's no mentioning of 2.6.32 in grub.cfg while it is present in menu.lst. I tried to update grub with no success.

View 9 Replies View Related

Ubuntu :: Kernels Menu Is Gone At Bootup?

Oct 26, 2010

I am frustrated that I do not see the kernels menu anymore, which had such useful tools like the different kernels, the ram checker or the recovery mode kernel, allowing recovery from a botched update, etc. As of 10.10, I don't even get the kernel messages flashing by, all I get is a dumbed-down black screen a l windows, then it boots ubuntu without offering me any of these options.

How do I get to it, and how do I get it back?

View 3 Replies View Related

Ubuntu Installation :: 10.10 - Cannot Boot New Kernels?

Nov 25, 2010

i'm having a problem with every single kernel upgrade since 2.6.32-21.I'm currently upgraded to 10.10 using GRUB2 and LVM disk configuration and all newer kernels (up to the latest 2.6.35-23) crash with the following errors:/init: .: line 61: can't open '/scripts/functions'Kernel panic - not syncing: Attempted to kill init!Pid: 1, comm: init not taintedI've already double checked all the entries in GRUB regarding paths, etc and i can't seem to find any difference between the working 2.6.32.21 and all the others

View 6 Replies View Related

Ubuntu :: Removing Kernels From Bootsplash

Feb 1, 2011

Okay I have been running Ubuntu for soma months now and it is nice, but now after updating the kernels to get the latest when prompted by the update manager, I now find I have multiple kernels when I boot he PC. My Slackware and Windows 7 options are way down the list. How do I remove the older options. Idealy I would like just the last two kernels and there safe modes on display as options.

View 2 Replies View Related

Ubuntu :: How To Edit Kernels On GRUB

Apr 16, 2011

I have GRUB to allow me to boot windows and Ubuntu, i recently noticed that my list of kernels is getting clogged up with all the updates. So i went online to try and find out how to get rid of the unwanted partitions and also how to add new ones - i am going to attempt to hackintosh, and will need to know how to add kernels. What i found out was; the boot menu in GRUB had a file that is supposed to be called 'menu.lst' (Lst not ist), and that all i needed to do was edit this, that it wouldn't delete the kernels, but that i don't need to, i only need to add and remove links to kernels on the GRUB menu. The problem is that after looking, i don't have that menu.lst file, i have a file containing the image files for 'memtest', but not for my GRUB. I am using 10.04, i don't know what version of GRUB im using but i'm using whichever one comes with 10.04. Could someone please point me in the direction of the files i need to edit or what i need to do to add and remove kernels?

View 3 Replies View Related

Ubuntu :: Can't Delete Multiple Kernels

Apr 24, 2011

After I used Ubuntu Tweak to delete several kernels (versions) of Ubuntu under Package Cleaner, all these deleted kernels in Ubuntu still show up whenever I start my PC as if nothing was deleted.

View 9 Replies View Related

Ubuntu :: 11.04 Doesn't Boot With New Kernels

Jul 15, 2011

My OS boots with 2.6.35-22-generic, if using more new kernels (2.6.38-8-generic, 2.6.38-10-generic and 3.0.0-0300rc7-generic), the system doesn't boot normally: the monitor doesn't light, upper and lower gnome panels are absent. Machine configuration: Acer Aspire 5734Z, Intel Pentium Dual-Core T4500 2.3 GHz, 2 GB DDR3 Memory, videocard Mobile Intel 4(R) Series Express Chipset Family.

View 9 Replies View Related

Ubuntu :: Multiple Kernels Listed In Grub

Jan 2, 2010

I recently installed ubuntu 9.10 and a day later updated with all the suggested security and recommended updates. Now I notice that in my Grub there are two different kernel versions listed. Are they both necessary? Can I / should I get rid of the older one, and if so, how?

I ask because after all these updates I notice my computer runs much slower, so I don't want it overloaded with unnecessary software.

View 3 Replies View Related

Ubuntu :: Why Do New Kernels Have 3 Different Header Entries In GRUB

Jan 14, 2010

So today 2.6.31.17 came. to the b1tch of a cat sleeping on the keyboard, I was forced to a restart before I wanted.

Anyway why does each have have entries for :
linux-headers-2.6.31.17
linux-headers-2.6.31.17-generic

[code]...

How do I know which one I should use from the choice of 3 for the current kernelAnd if I understand which one to use, can I delete the others from the same imageAlso, in start-up manager I have choice of 4 from the drop down list?

View 3 Replies View Related

Ubuntu :: Nvidia Driver - Multiple Kernels ?

Jan 25, 2010

I am using the latest Nvidia driver from their website on Ubuntu 9.10. I use 2 kernels, the standard kernel for everyday use and the realtime -rt kernel for my music work. On my desktop i have standard ubuntu and ubuntu studio installed but on my laptop its annoying having to have an external hard drive plugged in when i want to record so i just switch between kernels on a standard install. The problem is i have to reinstall the nvidia driver every time i switch between them or if the kernels get updated (which i don't mind so much). Is there any way i can install the driver so that it configures x.conf to work with both kernels without having to reinstall each time?

View 3 Replies View Related

Ubuntu Installation :: Why There Are Multiple Kernels At GRUB

Mar 17, 2010

After I messed up badly with my netbook I have to reinstalll the OS, it is a government property netbook that came up with Edubuntu 7.04 insalled on it. I shouldn't mess with the filesystem but I did and now I have to install Edubuntu from the beginning, but I must be sure that everything will just like I have done no change, so I am afraid that I can make some mistakes at this pointThe first thing that I want to know is: Why there are multiple kernels listed at the GRUB (v 1.5)...this is the full list:

Ubuntu, kernel 2.6.28.9 Default
Ubuntu, kernel 2.6.28.9 Default (recovery mode)
Ubuntu, kernel 2.6.28.9

[code]....

View 3 Replies View Related

Ubuntu :: Did Karmic Install Two Kernels On Your System?

Apr 13, 2010

After I upgraded Jaunty to Karmic, I found that my grub menu has two pairs of OS options and that the kernel is slightly different between the two. The highest numbered kernel seems to be a working OS release but the next choice in the list does not work correctly - its mouse pointer is invisible!I originally had installed Intrepid in a partition and I used it for a while. Then I decided to upgrade to Jaunty so I put that release in a different partition. I had major troubles getting the system going after the upgrade but I eventually succeeded.Later, I decided to try out Karmic so I created a Live CD of it and tested that. It seemed to be good so I decided to do a standard upgrade. At this point I still had the original Intrepid version on disk in its own partition. The release notes suggested that a network upgrade was the preferred way to upgrade to Karmic so I did that, even though I had the CD. The process seemed to complete OK. I was getting some X windows complaints and X was running in low graphics mode so I uninstalled and reinstalled the fglrx driver; X was happy afterwards. That seemed to be the only significant problem with the upgrade.I noticed that my grub menu now had three fairly new selection pairs, as well as the memtest and the original Intrepid software. I had gained two pairs during the Karmic upgrade. I could not tell which was which by the kernel numbers. I decided that three sets were inappropriate and I decided to remove one set. I was hoping to remove whichever set was superfluous or unnecessary. I picked the oldest of the three (i.e., the one with the smallest kernel number) and used Synaptic to abolish it.

Now, I had two pairs left. The topmost pair is a working Karmic version which I am using right now. The other pair seems to be a broken version of Karmic. By that, I mean that it starts up exactly the same as the working version but when it gets to the login screen then there is no cursor! Actually, the cursor is there but it is invisible. I found that I could run the cursor all the way to the top right corner, click the left mouse button, and get the shutdown/restart/etc. menu. The keyboard's arrow keys could then be used to select a menu item and the mouse button would activate it. But all the while, the cursor was invisible! Of course, this makes the system useless.So, I think that I need to use Synaptic to remove the malfunctioning pair. Questions: why did the upgrade give me two kernels? Would it be safe to remove the earlier one?What I would really like is to have both Karmic and Jaunty available from the grub menu. I am afraid that I will have to do a new install in a different partition to get Jaunty back onto the system, and then will have to repeat all of the customizing and software installations that I have applied during the last year or so. Does anyone know of a shortcut around that?

View 2 Replies View Related

Ubuntu Installation :: Old Kernels In Grub2 Don't Exist?

May 10, 2010

I just installed 10.04 over my previous dual boot with Windows7 and 9.10. Went well. Now, in the Grub2 menu, there are like 14 kernels. I tried to find them in Synaptic to delete them, but they are not there! So, I went to grub.cfg and deleted the entries, updated grub, and they were back! How do I get rid of these entries?

View 6 Replies View Related

Ubuntu :: Grub2 - Removing All Old Kernels From List

May 21, 2010

I'm simply trying to remove old kernels and second rename things that are on the list. It used to take me 10 seconds with grub1, but having some difficultly with grub2. So far I went into /boot/ and removed the old kernels and then did a sudo update-grub2 and it seemed to remove all the old kernels from the list. Is this the best way or doing it or any issues on doing it this way? Second I just want to rename what boots up like Ubuntu 2.6.32-22-generic to something else. I keep read not to modify the grub.cfg, but not sure what to do? I poked around the files in /etc/grub.d/, but not sure what to do?

View 2 Replies View Related

Ubuntu :: BURG Hide Recovery Kernels

Jun 11, 2010

I have installed BURG and I love it. I got the resolution set and I want to hide the ubuntu recovery kernel if I can.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved