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


ADVERTISEMENT

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 Installation :: Remove Unwanted Entries In GRUB?

Apr 8, 2011

I have so many entries in GRUB and have to actually scroll down so much to see windows entry. How do I remove unwanted entries in GRUB? Also How can I make a background picture appear when grub manager comes up?

View 9 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

Ubuntu :: Remove Old PAE Entries From GRUB?

Feb 13, 2010

I have Googled this one and I have tried several fixes so far nothing has worked. All I want to keep is these entries in my grub menu:

"Ubuntu, Linux 2.6.31-19-generic-pae"
"Ubuntu, Linux 2.6.31-17-generic-pae"
"Microsoft Windows XP Professional"

1st - Through Synaptic I removed:

linux-headers-2.6.31-14
linux-headers-2.6.31-14-generic-pae
linux-headers-2.6.31-15
linux-headers-2.6.31-15-generic-pae

[Code]...

View 9 Replies View Related

Ubuntu :: Remove Autogenerated Grub 2 Entries?

Jan 8, 2010

How can I remove entries manually that were automatically generated by grub 2? I have the scripts I need to add my entries, but I don't want the osprober to keep adding new entries. Even if I make the 30_osprober script non-executable, the entries are still there. Can I do this without "breaking the rules" and editing the grub.cfg file?

View 2 Replies View Related

Ubuntu :: Can't Remove Extra Entries From GRUB 2 Menu?

Jun 6, 2010

I'm running Ubuntu 9.10 dual booted with Windows XP. Ever since I installed 9.10, I get a long list of OS's (actually, multiple repeats of what appears to be the same Ubuntu install), and I can't get rid of them.I've looked through various tutorials and the GRUB 2 Community documentation (https://help.ubuntu.com/community/Grub2) but I still can't get rid of the menu items.I edited the 40_custom file and was able to add the entries I wanted to see, and then chmoded 644 all the other files in the /etc/grub.d directory and run update-grub.The custom entries do appear at the end of the menu now, but the old entries are still there as well. This is what I get when I run the update-grub:

Code:
yoodle@HANSOLO:/etc/grub.d$ sudo update-grub
Searching for GRUB installation directory ... found: /boot/grub

[code]....

View 2 Replies View Related

Ubuntu :: Remove Unnecessary Entries In Grub Boo Menu?

Oct 30, 2010

I've got a dual boot PC with windows 7 & Ubuntu. I had installed Ubuntu 10.04 & recently upgraded it to 10.10. Now I have these entries in the boot menu.

Ubuntu with linux 2.6.35-22-generic
Ubuntu with linux 2.6.35-22-generic (recovery mode)
Ubuntu with linux 2.6.32-21-generic
Ubuntu with linux 2.6.32-21-generic (recovery mode)
Memory test (memtest 86+)
Memory test (memtest 86+, serial console 115200)
Windows 7 (loader) (on/dev/sda1)

First & second entries listed above don't work. How can I remove them safely?

View 9 Replies View Related

Fedora :: Automatically Remove The GRUB Entries?

Feb 2, 2011

I'm trying to automatically remove some of the old GRUB entries that pile up after a few updates and just want to leave live 2 or 3 there along with my Win7 entry. I was looking and saw that there is a utility for Ubuntu but I couldn't find anything for Fedora.

View 7 Replies View Related

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 View Related

Ubuntu :: Grub2 Configuration - Adding Entries For Other Kernels

Mar 5, 2011

Is it possible to add menu entries for older kernels to boot instead of the latest?

I have tried this in Ubuntu 10.04 and it hasn't worked.

This used to be possible with ease in grub legacy.

I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.

Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.

I get:

The old kernel is in /boot as well as the respective initrd and config files.

View 1 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 :: 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 :: Double Grub Entries 10.04?

May 1, 2010

Updated to 10.04 OK except for a couple of things. No sound icon on the task bar and it's not in the 'add to taskbar list'. Not a major problem, just put it in the 'start programs section'.Annoying thing is after selecting from the grub boot menu, the machine seems to be suffering some indesision as the cursor sits on the top lhs of the screen flashing and the screen modulates between various degrees of darkness. Then the machine boots OK. Certainly slower than karmic - not quicker as reported. Seems to be some conflict happening. There is a duplication of the kernal entries for default and safe. Mabe this is the problem. I have run update-grub2, but it keeps giving me double entries.

View 5 Replies View Related

Ubuntu Installation :: Redirecting Grub 2 (Bootloader) Menu Entries

Feb 23, 2011

I'm familiar with Ubuntu and the like, and have GRUB 2 installed as my boot-loader. I was wondering if there was any way to get one menu entry to be re-directed to another. Specifically, whenever I select my third menu entry, I want it to execute the code on menu entry 10. My reason for doing this would be that after customizing my GRUB 2 menu, I came into the problem of updated kernels. Basically I would like a single "Ubuntu, Latest Kernel" entry that always redirected to menuentry 10, where my latest "Ubuntu, linux 2.6.xx-x-generic" entry is. In order to temporarily solve my issue, I've set my "/etc/default/grub" file's "GRUB_DEFAULT" to "9", although I'd rather not do this.

View 6 Replies View Related

Ubuntu Installation :: Reducing Number Of Entries In Grub Screen Menu?

Feb 9, 2010

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
# .....

Every time update-grub run all these are put back. Editing grub.cfg does not help.

View 9 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

Fedora :: Unable To Remove MBR/grub From Encrypted HD?

Jun 18, 2011

I had F15 with hard drive encryption.I am now trying to move this hard drive to another laptop and install Windows.Even after complete formatting, the grub> still remains on this hard drive, which perhaps means that MBR is not wiped out. (Eventually Windows install fails)How can I format this HD as fresh, with single NTFS partition?have tried dd on linux, as well has MiniTool partition wizard on windows for formatting

View 3 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

General :: Unable To Remove Grub And Install Windows OS

Mar 26, 2010

I am using Lenovo Laptop. Initially I had Dual boot with Windows Vista and RHEL 5. I deleted Vista Partition. If I try to install Vista using Vista Bootable DVD, The Vista Bootable DVD is not getting detected! Now I want to remove everything (RHEL 5 & Grub Boot loader) from my laptop and install fresh OS.

View 14 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

Ubuntu :: Remove Entries From Xfrun4

May 26, 2011

In Xubuntu, the xfrun4 dialog (alt + F2) doesn't have auto-completion for every command, only for those commands successfully called at some previous point in time. My question is: where are these entries located, and how can I remove some of them?

I'm just curious because I'd like to keep my entries uncluttered. I was experimenting earlier to see whether xfrun4 would retain an invalid command, so I tried the inexistent (so I thought) command "terminal", but lo and behold, it opened a new tab in Firefox and brought me to www.terminal.com. Now I have the useless command "terminal" saved in xfrun4, and I'd like to get rid of it.

View 2 Replies View Related

Ubuntu :: Remove Some Unused Entries In Grub2?

Jun 22, 2010

i have an entry in grub that i don't use at all "Windows recovey " and i want to know if there is a way to remove it or just hide it i have an other problem is grub confuses some partitions names so is there a way to rename them

View 3 Replies View Related

Ubuntu :: Add / Remove Entries From Application Menu

Jun 30, 2010

I am not good with the X, How to remove/add entries to the "Application" menu? I am running lucid. BTW, I do not find "/usr/bin/application". Also I do not find "Application menu Editor" under Application -> System Tools. I searched with aptitude and could not find a package relevant for "Application Menu Editor", may be I used wrong keywords.

View 1 Replies View Related

Ubuntu :: Remove Duplicated Menu Entries?

Jul 18, 2010

I am trying out Xubuntu 10.04 but after I installed "Gnome-desktop" package to include gnome support I now have duplicated entries on my start menu. Does anyone know how to purge these duplicates? (a terminal based de-duplicating command would be very handy).

View 3 Replies View Related

Ubuntu :: Remove Gconf-Editor Entries

Oct 16, 2010

I'm having trouble removing entries in gconf-editor (GUI).

I have searched everywhere: manpages, internets, forums, can't find anything related.

Here's the situation: I installed Avant Window Navigator and it naturally created entries in gconf-editor for interface, applets etc. The thing is that when I uninstalled it the entries are still there, and yes I have deleted the corresponding folders in home/.gconf/apps. Also did a search of my filesystem for awn, avant widow navigator, avant-window-navigator etc and nothing came up. Looked in /etc, nothing. Looked in /etc/gconf, also nothing.

View 3 Replies View Related

Ubuntu :: How To Remove Duplicated Menu Entries

Dec 7, 2010

I am trying out Xubuntu 10.04 but after I installed "Gnome-desktop" package to include gnome support I now have duplicated entries on my start menu. Does anyone know how to purge these duplicates? (a terminal based de-duplicating command would be very handy).

View 1 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 :: 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







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