Ubuntu Installation :: How To Manually Remove Old Kernels

Oct 20, 2010

I did a "dirty install" of Maverick over my existing Lucid system. That went very well and I am having no problems with Maverick. However, this morning, I decided to clean off the old Lucid kernels. In the past, after installing a new kernel on the same Ubuntu release, I have done this by running "aptitude search 2.6.32-24", for example, then running "sudo aptitude purge" for the kernel and header files it found.

Now that I have changed releases, aptitude no longer finds the Lucid kernels installed on my system, even though they still reside in the file system and show up on the grub2 menu. So, how do I manually find everything necessary to delete for the old Lucid kernels?

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: Unable To Remove Old Kernels And Their Grub Entries

Aug 1, 2010

I have a grub menu with a ton of old kernel entries that I want to delete. I've scoured this forum, and haven't found anything that works. I've tried:

Code:"the easiest way to get rid of old kernels from grub is to uninstall the package, the post-install scripts will update grub

for example my current kernel is:

uname -a
Linux hemma 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux

then remove older kernels found in /boot like this:

sudo aptitude remove linux-image-2.6.31-15-generic" When I tried that, the output showed the package being removed, but nothing was removed from the grub menu. I tried running the kernel I supposedly removed, and it wouldn't start, which is promising, but how do I get it out of the grub menu? I've also tried using Synaptic, but that didn't work either.

View 8 Replies View Related

Ubuntu Installation :: Remove Manually Installed Flag On Packages

Jan 5, 2010

After updating to Karmic, Synaptic shows almost all of my installed packages in the category "Installed (manual)", including about half of the packages that belong to a clean Ubuntu installation (e.g. apparmor, apt and hundreds of others). As a result, I can't easily get a list of those packages that I did indeed install manually and may want to remove. Is there a way of removing the "Installed (manual)" flag from all packages?

If I could do this, all packages that do not belong to the core Ubuntu system should show up as "Installed (auto removable)" and I could individually mark only those as manually installed that I really still need and let apt/synaptic uninstall everything else. I know that with today's hard disks, disk usage of installed packages is not an issue. But those packages accumulate over time and need to be updated with every security update and every ubuntu dist-upgrade, wasting time and bandwidth.

View 2 Replies View Related

Ubuntu Installation :: 10.10 - Remove Old Kernels From The Grub2 Boot Screen - Error "awk: 1: Unexpected Character 0xe2"

Nov 1, 2010

I am running a dual boot system with windows 7 and Ubuntu. Both have run smoothly on my machine (Core 2 quad core on Gigabyte board) I recently upgraded to 10.10 from 10.04 via the update manager within 10.04. Following the upgrade the initial boot failed at the login screen ( i simply got the purple colored screen with a white box in the center of it). Instead of trying to figure out what went wrong, I simply re-installed 10.10 from live CD on top of the upgraded Ubuntu that was failing at the login screen. The live CD install seemed to fix everything for the most part ( I did notice some quickly flashing text right before the login screen. I think it was an error message but it was too fast to read)

My problem now is that I am trying to remove some of my old kernels from the Grub2 boot screen and I cant. I have read many posts on how to remove the old kernels, but my system is proving to be difficult. The old kernels definitely show during boot, but whenever I go into Synaptic they are not there. I have downloaded Ubuntu Tweak, and they do not show in it either. I have read the information at [URL] I went to http://www.fixthecode.com/remove-hug...sts-in-ubuntu/ and thought this would fix my problem but I keep getting an error: "awk: 1: unexpected character 0xe2" when i try to run: "dpkg -l | grep ^ii | grep 2.6.3x-xx | awk -F{print $2} I am running kernel 2.6.35-22 The kernels i want to remove are 2.6.32-23 and 2.6.32-24.

View 7 Replies View Related

CentOS 5 :: How To Remove The Old Kernels

Aug 12, 2010

I am using CentOS 5.5. After upgrading i have at present 4 kernels in the menu.lst.If i try to remove any kernel, 2.6.18-194.3.1.el5.i686 via Package Manager, i am told that i am removing critical software for system functionality etc. How delete older kernels?

View 4 Replies View Related

Ubuntu :: Grub2 - How To Remove Removed Kernels From Grub.cfg?

Nov 25, 2010

I followed the Grub 2 Basics steps to remove Grub 2 kernel listings.

However I'm stuck with 3 older versions that was completely_removed from Synaptic (kernel/headers/generic), but remain in grub.cfg.

Quote:

Here is my current grub.cfg:

(How do I remove *.14 *.21 *.22 from my menu entries Ubuntu-tweak is not an option for me. I like it old-school or with the tools at hand.)

Code:

I considered changing permissions for grub.cfg, but update-grub and new kernels will revert my changes.

View 3 Replies View Related

Fedora :: Remove Old Kernels / Deleted Kerneloops-0.12-5.fc1?

Nov 28, 2009

How Can I Remove Old Kernels in Fedora 11 , by mistake i delete kerneloops-0.12-5.fc1

Quote:

# rpm -qa |grep kernel
kernel-PAE-2.6.30.9-96.fc11.i686
kernel-PAE-2.6.29.4-167.fc11.i686
kernel-firmware-2.6.30.9-96.fc11.noarch

Quote:

# uname -r
2.6.30.9-96.fc11.i686.PAE

and by mistake i delete kerneloops-0.12-5.fc1 what should i do ?

View 8 Replies View Related

Fedora :: Remove Non PAE Kernels / Devs For Nvidia Kernel Building?

Mar 31, 2010

I've only a small /boot sector and
rpm -qa | grep kernel
kernel-2.6.31.12-174.2.22.fc12.i686
kernel-PAE-devel-2.6.32.9-70.fc12.i686
kernel-PAE-2.6.32.9-70.fc12.i686
kernel-2.6.32.9-67.fc12.i686
abrt-addon-kerneloops-1.0.8-2.fc12.i686

I'm using the PAE kernels, need the devs for nvidia kernel building,can I remove all the non PAE kernels without damage please?

View 14 Replies View Related

Ubuntu :: Remove Manually Installed Applications?

Jan 23, 2011

We all know that we can remove installed applications straight from terminal or ubuntu software center. However, sometimes we download .deb files from the web that are not necessarily on the repository. My question is, how do I uninstall a manually installed deb application?

View 9 Replies View Related

General :: CentOS - Safe To Remove The First Kernel In The Installed List To Save Having Two Kernels Being Updated Everytime?

May 8, 2011

When I run yum list installed command the output shows two kernels:

[Code].....

Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?

View 6 Replies View Related

Software :: Manually And Forcibly Remove LVM Configuration?

Feb 3, 2011

Unbeknownst to me the LVM volume (on LUN) that I removed from my server was in use by another system. So instead of vgexporting the volume group on one of the servers and then lv,vg,pv-removing it on the other I dismantled the LVM devices my servers (as belwo).

0. unmount the filesystem
1. Remove logical volume (lvremove <vg>/<lv>)
2. Remove volume group (vgremove <vg>)

[code]...

View 6 Replies View Related

CentOS 5 :: Yum Hang On 5.4 After Manually Remove / Add Packages With Force?

Nov 6, 2009

for a x problem I reinstall the complete x packages. I remove some packages with force.Before this yum works perfect. Exact at this time we have problem with our internet connections and yum hangs somewhere when yum load the repositories and or start the update process.Now yum hangs at start from the command. I can start yum some times and no locking error is rise.strace brings:

stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=79855616, ...}) = 0
open("/var/lib/rpm/Packages", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0

[code]....

View 3 Replies View Related

General :: Manually Remove .vdi Files Left Over After Deleting VirtualBox?

Oct 24, 2010

I have a question, that may sound silly. I have removed VirtualBox from my Ubuntu install. But the .VirtualBox folder is still existing with a virtual drive of nearly 10 GB. Can I manually remove the folder .VirtualBox with rm -rf without any unwanted side effects?

View 2 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 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 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 :: Lucid Kernels Not Presented For Installation

Apr 12, 2011

Just curious as to why this would be happening, but I had been running on the Lucid kernel 2.6.32-28-generic. And when I looked in Synaptic, I noticed there were kernels 29 and 30 available. I manually installed them and deleted the older ones I had - 27 and 28. I believe I have all of the generic Lucid software sources and I get updates for everything else. Just curious as to why these kernels were not available to be installed automatically.

View 5 Replies View Related

Ubuntu Installation :: Only Partial List Of Kernels In Grub?

Aug 26, 2010

I have Ubuntu 8.04 (32-bits) installed on /dev/sda and Ubuntu 10.04 (64-bits) installed on /dev/sdc (this is an update from 8.04 64-bits originally installed on /dev/sdc). There is a grub on each of these two disks. Both are the old grub (prior to version 2). Here is the top kernel listing from /dev/sda:

titleUbuntu 10.04 LTS, kernel 2.6.32-24-generic (grub sur unite1)
root(hd2,0)
kernel/boot/vmlinuz-2.6.32-24-generic root=UUID=761c3d13-cc55-4117-934f-693766e122b6 ro quiet splash locale=fr_FR
initrd/boot/initrd.img-2.6.32-24-generic
quiet

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Update-grub Not Using Recent Kernels?

May 3, 2011

I have this strange problem on ubuntu 10.04 64 bit, that when running update-grub, it will only put the oldest kernel into the grub menu, despite the fact that I have recent kernels around as well.

in particular:

Code:

# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst

[code]...

I'd like to see the most recent kernels in the grub menu, with the most recent being on top.

View 3 Replies View Related

Ubuntu Installation :: Upgrade To 10.04 Hangs When Finding Existing Kernels?

May 5, 2010

The title's not especially clear, so I'll post a screenshot of what's happening. The upgrade keeps finding instances of the same kernel; the list in the terminal is constantly scrolling down, finding 'new' instances.

It's been doing this for about half an hour now. BTW, upgrading from 64bit 9.10 to 64bit 10.04.

View 1 Replies View Related

Ubuntu Installation :: GRUB2 Not Finding Kernels After Kernel Upgrade

Jun 9, 2011

I have recently installed the Maverick backport kernel (2.6.35 - from the lucid-updates/main repo) and while I was at it I also manually (through synaptic) got rid of some old kernels. I made sure that I kept the current Lucid kernel though (that was working fine). All seemed well (although I didn't actually check - just no errors) so I rebooted.On reboot I have lost all my Ubuntu kernel options!

I rebooted with a live cd, mounted, etc and ran

Code:

sudo update-grub

but it doesn't seem to find any kernels!

Code:

grub-install --recheck --root-directory=/media/mnt /dev/sda

Checked /boot to see if the kernels are there:

Code:

jed@lightning:/boot$ ls
abi-2.6.32-31-generic memtest86+.bin
abi-2.6.32-32-generic System.map-2.6.32-31-generic

[code]....

Even reinstalled burg (used to use it but it got broken by a kernel update long ago and never bothered to fix it as I only use Linux these days anyway)Funny thing is that BURG finds the kernels and reports no problem, but then drops to the grub-error prompt on boot.

View 9 Replies View Related

Ubuntu Installation :: Upgraded Kernel - Lost Previous Kernels?

Aug 5, 2011

I upgraded to 2.6.35-30.56 last night and now my system's a little flaky. Everything seems to be running ever-so-slightly slower and fullscreen flash is now choppy. The weird thing is the Grub menu upon bootup only shows the latest kernel, but not the previous kernels. Doing an "ls" of the /boot folder only shows this newest kernel. I'd like to revert back to the previous kernel but don't know how.

View 2 Replies View Related

Ubuntu Installation :: Only See Recovery Kernels In GRUB2 After Plymouth Script - Can't Boot Normally

Oct 19, 2010

I am using a Dell XPS m1330 with ubuntu Maverick 10.10 and with a Nvidia card. Recently I wanted to add plymouth support to my boot screens via this script: [URL].... but maybe i did something that ruined my pc and now, in GRUB, i can only see recovery kernels. The situation is this: in grub i see

linux recovery kernel 1
linux recovery kernel 2 (old one)
memtest
windows 7

My "normal" linux kernels disappeared. When I want to boot linux I use a recovery kernel, then I simply hit "resume" in the process, do the textual login and than use the command "startx" to start the system. However i'm getting no Plymouth and no normal boot. I have already tried to fix grub recreating the linux kernels, but they just don't show.

View 1 Replies View Related

Ubuntu Installation :: Boot Partition Filling Up Quickly Need To Delete Old Kernels

Jul 6, 2011

how would i go about deleting my old kernel?i have my ubuntu machine partitioned the way gentoo would partition a drive with a seperate boot directory. my boot directory is only 200 megs so i can probably fit 4 kernels max into it and need to eject the old ones.

View 3 Replies View Related

Debian Configuration :: Adding New Kernels To Current Installation

Jul 26, 2011

I am currently running a Debian 4.0 (etch) PC and I can't upgrade to a newer distribution for legacy software reasons.

It is currently running on Kernel 2.6.18-4-686 and I would like to upgrade it to Kernel 2.6.22-3-686 (whilst keeping my current Debian 4.0 Etch installation). Does anyone know how this could be possible?

Prefereably I would like to instal Kernel 2.6.22-3-686 along side my current Kernel 2.6.18-4-686 with the option to specify which kernel to use when booting.

View 6 Replies View Related

Networking :: Ath9k Driver Installation With Source From Kernels For 2.6.34 ?

Oct 22, 2010

I have had some trouble with understanding the wireless drivers. I am using backtrack 4 R1, and the reason was merely for the network and having many necessary networking dependencies already there. However I found that I am using a HAL for the ath9k and madwifi-ng drivers, thus I must patch the card and go through all of that.

The specific distribution I am using is Backtrack 4 R1 with KDE3 and ubuntu on the 2.6.34 kernel. I know I have through an update script found the wireless drivers and downloaded them, however all attempts to get it to fully work haven't helped. I checked the forums, and it doesn't seem like they consider it a backtrack specific question but a linux specific question. I performed hwinfo and it returns ath9k and the memory address, channels 1-14, wlan frequencies(2.412,2.417, 2.422, 2.427, 2.432, 2.437, 2.442, 2.447, 2.452, 2.457, 2.462, 2.467, 2.472, 2.484. I have all modes of encryption set.

I am using both ifconfig and iwconfig with a wicd frontend to access the network typically. Unfortunately I am only seeing a wlan0 and no ath0. Furthermore, I manually issue these commands I am doing so I set each aspect of the card up (i.e essid, channel, mtu, fragmentation, etc....).

Now I did shed some light upon this in the sense that I found out how to initialize the madwifi-ng hal abstraction layer via 'start airmon-ng wlan0' and then it returns.....

mon0 ath9k py0 etc. etc. etc.( this isn't exact I am unfortunately not at my computer. But the device is then able to work, however I am not sure as to why I am not able to have the ath0 device in my wireless devices if indeed everything else appears to be ath0.

View 5 Replies View Related

Ubuntu Installation :: Manually Configuring Printer / Driver Installation?

May 20, 2011

If I were to have a situation where I had installed the driver for a printer but when I went into printing on the control panel to "add" the printer the driver didn't show up - could I or should I consider manually editing some configuration file to get the printer recognized/ installed on the machine? If that were a good solution, how would I do it? What file would I look for? What would I edit in it? I know that first sentence is probably hard to read but I don't know how else to say it.

View 1 Replies View Related

Ubuntu Installation :: How To Install VLC Manually

Aug 6, 2010

I know how to install VLC via terminal sudo aptitude install -vlc But i want to know how to install VLC manually by downloading package or something like that i googled but i didn't found anything ..

View 8 Replies View Related

Ubuntu Installation :: How To Install Manually From Live Cd

Feb 18, 2010

I am running a Dell Dimension 3000 and I intend to install Ubuntu on it. On it, there is a partition, Dell Utility Partition, which I am hesitant to overwrite. The main partition which I want to install Ubuntu on I formatted in ext4. I try to install Ubuntu from the live cd, but it won't allow me to strictly use the ext4 partition. It insists to either use the entire drive or to have me manually choose the partition. How would I go about doing that? I relatively new to Linux in general

View 2 Replies View Related

Ubuntu Installation :: Manually Setup An Encrypted Lvm?

Apr 8, 2010

How can I set up an encrypted LVM without using the "Guided - Use entire disk" option of the alternate installer.

My drive is quite big and I would like to be able to have my encrypted LVM as well as an extra LUKS encrypted partition which I could mount whenever needed. Unfortunately the options in the alternate installer do not allow me to do this without using up the entire disk.

View 2 Replies View Related







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