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


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

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

Fedora :: Remove Pen Drive When Click 'safely Remove' Tab Instead Of Getting Removed It Reappears

Jun 28, 2011

To remove pendrive when I click the 'safely remove' tab instead of getting removed from the desktop it reappears again. This problem is there in fedora 14

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

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

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 :: 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 :: 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 :: 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 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 :: 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 :: Grub Finds No Kernels / Only Memtest

Jul 31, 2011

I ran grub-customiser to set default kernel, and saw the GFX mode setting, thinking "Hey, my monitor is native at 1440x900! I'll use that!" ...Didn't think about how the GFX card isn't initialized at that point, so my res is limited to 640x480... So the first problem was a system hang at the grub menu, with "Input Not Supported" displayed on the monitor.I changed the GFX mode back, and ran update-grub, and with a grin on my face, I rebooted. The grin went away fast, when I saw that none of the kernels showed in the grub menu, and I have only the two memtest entries. It appears that, while all the files are still intact, grub is not seeing the kernels. I had an idle partition of about 13 GB on hand, so after trying all sorts of things, I did a clean install on the little 13 GB partition. Still no dice, after doing an apt-get purge grub etc etc etc on my main Ubuntu partition, to make sure that the new grub was running. I still have only memtest, even though I can open the /boot directory and see the kernel files. I tried going into the grub command line and starting manually, but tab-complete does not suggest any of the kernel files, and tells me that the files do not exist, if I type in their full names.

View 6 Replies View Related

Ubuntu :: Message At GRUB Screen Even Different Kernels Not Getting Loaded

Mar 18, 2010

I am not able to log to my system as i am getting a strange message at GRUB screen even different kernels are not getting loaded. The entire thing i get is as follows: GNU GRUB version 1.97~beta4 [Minimal BASH-like line editing is supported.For the first word,TAB lists possible command completions.Anywhere else TAB lists possible device/file completions.

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

Fedora ::automatically Add New Kernels To Grub ?

Feb 17, 2010

I'm sure there is a thread on this somewhere, but after looking though the first 100+ search results, I can't seem to find it.

After a kernel update today, I noticed that new kernels are not being added to my grub menu.lst (so consequently, I was running an older kernel).

Any obvious reason why this would happen (kernels being installed normally, with yum update)? I thought the whole process was supposed to be automagic.

Would it have anything to do with the fact that I just kept my F11 menu.lst, and added a F12 kernel to it when I installed F12 (to a separate partition), then eventually (today, finally) removed the f11 kernels from it?

Here's my menu.lst, in case it's useful:

Code:

View 14 Replies View Related

Software :: GRUB2 - Autoprobe "update Grub" Grub Seems To Detect All OS And Generates Grub.cfg

Feb 28, 2011

I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.

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

Ubuntu :: Grub Removed After Xp Install / Get That Back?

May 18, 2010

I'm relatively new to ubuntu. I have an IBM X31 type 2672. It was running
windows 7 and ubuntu netbook edition 10.04. I installed windows xp after running these two OS' for a while to try and fix an issue I had with video playback. However, when I run the pc now it boots straight into xp. I have read the forums about reinstalling grub. However, the first command in the grub shell that locates the HDD doesn't work . Which means the other commands don't work

View 6 Replies View Related

Ubuntu Installation :: Update My System Without Having Efi-grub Removed?

Jul 15, 2011

I'm running Kubuntu natty on grub-efi-amd64. I've just received notification of a bunch of new packages to install, I believe part of it is a kernel update. When I click on "apply" a window comes up which says "Additional changes are required to complete the task". "2 packages to remove" lists "grub-efi" and "grub-efi-amd64". It lists 5 packages to install 3 of which are linux kernel and 2 of which are the bios version of grub.

How can I update my system without having efi-grub removed?

View 1 Replies View Related

Ubuntu Installation :: GRUB Removed After Windows 7 Boot

Sep 1, 2011

I'm running Ubuntu 11.04 and Windows 7 on a Dell Inspiron. On boot I get the GRUB menu listing Ubuntu (+ old versions) and Windows 7. However, if I boot Windows 7 all is fine until I reboot. On this next boot GRUB is gone and Windows boots. Ubuntu is still there, I can get into using my live-cd and 'repair' GRUB. After that, on booting GRUB is back and fine (including Windows 7). Does any one have an idea how to fix the booting/GRUB thing more constructive?

View 9 Replies View Related

Ubuntu :: Why Does Installing Grub-doc Remove BOTH Grub-pc And Grub-common

Jan 3, 2010

I'm just slightly confused here, but... what the? Why does installing grub-doc remove BOTH grub-pc, and grub-common? So basically it seems like by installing grub-doc, I have uninstalled grub totally (yes, it is still there as the bootloader, but i have no way of updating it now!) from my system. What's the conflict between grub-doc and grub-pc, such that grub-pc has to be removed?

View 5 Replies View Related







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