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


ADVERTISEMENT

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

Fedora :: Removing Non-PAE Kernels

Aug 9, 2010

i installed the PAE kernel and was wondering if it's safe (and how) to remove the non-PAE kernels. from the system.This is F13.

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

General :: Removing Previous Older Kernels 'vmlinuz' When Updates Get Newer Versions

Mar 30, 2010

Is removing previous older kernels "vmlinuz", when updates do get a newer version an easy task, or do the more recent Linux like Ubuntu 9.10 do that automatically, and only keep a few older previous kernels ?

View 6 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 :: Removing Duplicate Entries In Grub2?

Mar 6, 2010

I have made a custom grub2 menu however, both the default and the custom show together. So my grub looks like the list below, the bolded entries are my custom ones. How do I get rid of the duplicates? I have tried apt-get remove and deleting old kernels.

ubuntu,linux ...
ubuntu,linux recovery
memtest
memtest
windows7
windows7
ubuntu linux
ubuntu linux recover

View 7 Replies View Related

Ubuntu Installation :: Removing Kernel From Grub2?

Apr 28, 2011

How do you go about removing old kernel from other distros from the grub menu. For example I have lucid and ubuntu studio installed. Lucid controls the grub2. So how would I remove the old kernel out of the ubuntu studio?

View 9 Replies View Related

Ubuntu :: Removing Items From The Boot (grub2) Menu?

Jan 9, 2011

Have recently installed 10.10 and have several other OS' installed, as well as other NTFS (non-OS) partitions. After a couple of updates, my boot menu shows about 8 entries, whereas I should only have about 4... How is this fixed in Grub2?

Have installed Startup Manager, and there seems to be no option here...

View 3 Replies View Related

Ubuntu Installation :: Grub2 Removing Old Kernel Versions Forever

Apr 14, 2010

Here's how to always have only the latest kernel version in your grub:
Code:
sudo gedit /etc/grub.d/10_linux

Find these lines:
Code:
list=`for i in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
if grub_file_is_not_garbage "$i" ; then echo -n "$i " ; fi
done`

And change it with this:
Code:
for ver in /boot/vmlinu[xz]-* ; do
list="$ver"
done

Notice two differences.
1. There's no ` before "for" and after "done" keywords.
2. There's no list= before "for"

If you want to change the name of entry, scroll down to the end of the file and find last two occurrences of:
Code:
linux_entry
${OS} stands for Ubuntu and ${version} stands for your kernel version. I changed this into:
Code:
linux_entry "${OS} 9.10 Karmic Koala"

You can use your own imagination. If you want to have specific name for your Windows entry, in /boot/grub/grub.cfg copy everything between:
Code:
### BEGIN /etc/grub.d/30_os-prober ###
and
Code:
### END /etc/grub.d/30_os-prober ###
paste it in
/etc/grub.d/40_custom

Change the text between double quotes right after menu entry. (For example, my 40_custom looks like this now:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the menu entries you want to add after this comment. Be careful not to change the 'exec tail' line above.
menuentry "Windows 7" {
insmod ntfs
set root=(hd0,1)
search --no-floppy --fs-uuid --set bcdc24dddc249424
chainloader +1
}
)
and make 30_os-prober not executable:
Code:
sudo chmod -x 30_os-prober

If you want to remove recovery mode entry, just uncomment this line in /etc/default/grub:
Code:
#GRUB_DISABLE_LINUX_RECOVERY="true"
PS Don't forget to run
Code:
sudo update-grub
After you finish editing everything! And check in /boot/grub/grub.cfg if everything is ok!

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

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

Programming :: Removing Things From A List?

Jun 8, 2010

I am doing something for a class, and i have to list all the files in the users home directory, and i did a ls -F so the directories have a / after them but i don't know how to remove them because i just want the files not the directories

when I run the command i get
Desktop/
"file"

i need the Desktop/ to go away

View 2 Replies View Related

Fedora :: Using Xargs With Yum (Removing List Of Software)

Jan 23, 2010

I used the command shown below to remove a list of software using yum. It worked, but is there a way of doing this without using the -y option? I would like to review the results before the transaction takes place. I would like to use the same method for installing additional software after a clean install.
cat filename | xargs yum -y remove

View 8 Replies View Related

Debian Configuration :: Removing List Of Unwanted Packages

May 5, 2011

I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.

So I ran dpkg --get-selections > selections
and had it sent to my new desktop installation.

Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?

View 1 Replies View Related

Ubuntu :: Stopp GRUB2 From Updating List On Update?

Mar 17, 2011

Is there a way to stop GRUB2 from updating grub.cfg with new entries after an update? It shits me because it goes and writes over all my custom modifications of current entries.. e.g:

"Windows 7 Home Premium" (which I made), gets changed back to:

"Windows 7 (loader) (/dev/sda2)"

View 2 Replies View Related

Ubuntu Installation :: Add Msdos622 With Fat16 In Grub2 Menu List?

Dec 24, 2010

but i really really new in ubuntu (linux), i just finished installing my ubuntu 10.10 desktop edition. after restart for the first time i can see my windows xp and windows 7 os were in the menu list but not my msdos 6.22 with fat 16 partition. I try to edit grub.cfg to add but i am not sure what the command line should i use in menu entry, could someone give an example. I really need that since i still make a programming project using C++ dos and Clipper.

View 2 Replies View Related

Ubuntu :: Removing Updates From Updates Manager List

Jan 29, 2011

There are some updates in the Update Manager list which I do not install. Among them, some drivers for HP Printers (I don't know why this cropped up; I don't even use printers on my laptop), and gcj updates (I use gcc/g++ but not gcj). I unchecked them the first time I saw them on my UM list. However, for every subsequent batch of new updates, UM retains these updates and I need to uncheck them every time. How can I remove them totally from my UM list?

View 2 Replies View Related

Ubuntu :: Grub2 Doesn't List Fedora, Even Though Upgrade-grub "finds" It?

Jan 21, 2010

In general I love Ubuntu Karmic, and think it's the most polished Gnome distro out there, but since installing it on my laptop alongside Fedora I haven't been able to boot into the latter.

I know that I could fix it by adding an entry into the 40_custom file, but wonder if there's a simpler fix.

The command
Quote:

sudo update-grub

actually finds and lists the Fedora Constantine kernel, but it still doesn't appear in the bootloader menu. Before I delve around and break something, does this mean that there's a line commented out in one of the config files?

I'm not going to slag off Grub 2 because I can see that it has clear benefits, especially for power users, and I don't mind change if it brings clear benefits. So long, /boot/grub/menu.lst.

View 9 Replies View Related

Ubuntu Installation :: Removing Evolution From Synaptic Vs Just Removing The Applet

Feb 27, 2011

what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.

im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.

all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.

View 1 Replies View Related

Debian Multimedia :: Removing Epiphany Without Removing Half The System?

May 31, 2011

I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software

View 14 Replies View Related

Fedora :: Removing Notifications And Safely Removing Drives?

Aug 25, 2010

These should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.

View 5 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Fedora :: Dual Booting - Grub2 To See F15 Or Be Installed Using Grub2?

Jul 11, 2011

I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.

Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.

View 10 Replies View Related







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