Ubuntu Installation :: Removing Previous Versions After Updating Kernel?

Sep 12, 2010

I have looked for existing threads on this issue, but found no matches, so I am starting a new one.I first installed Ubuntu 9.04 on my laptop from a bought CD last year. When I later installed the kernel updtates with the Update Manager, I noticed the the list of versions growing when I booted up. Then something horrible happened. After installing maybe the third or fourth kernel update, I couldn't boot into Ubuntu, it failed every time. After that I left Ubuntu broken on my laptop for a while.I have now reinstalled from the CD again However, I am now very wary when it comes to installing even the important security updates, never mind the recommended ones! I prefer to keep it simple, because I don't want to do any more reinstalls for a while. So far I have just one kernel headers update on the boot list, and I am trying to figure out how to remove the previous one. I do not see the point in having a growing list of them again.

View 9 Replies


ADVERTISEMENT

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

Debian Configuration :: Warning Removing Or Updating Kernel Without GDM

Jun 12, 2011

I am an old Debian user, ho just reinstalled it again to see how it evolved since my las version (3.2). I am sharing it with Arch Linux, And decided to let bot of them. I am using GDM compiled and configured in Arch, and removed GDM2 from Debian (i just like the easy menu.list from the old GDM). The problem is that when i update the kernel, it didn't fing GDM and drops an error message. I tried removing the distro-preconfigured Kernels, as i compiled my own 3.0.0-rc2 Kerenel, but i cant delete the previous ones. Now everytime i do an install or uptgrade, apt-get drops wastes some time, and drops an error message:

[code]...

What can i do? i googled some similar errors, but where just messed up mirror.lists, or similar, i know it isnt the cause of fail.

View 2 Replies View Related

Ubuntu :: Restore Panels Like They Were In Previous Versions?

Apr 29, 2011

I just upgraded to ubuntu 11.04. now panels disappeared. everything looks too much like mac, it's way too confusing for me. is there a way to restore panels like they were in the previous versions?

View 11 Replies View Related

Ubuntu :: Can't Set Custom Login Screen Like In Previous Versions

Apr 30, 2010

After installing the newest ubuntu, 10.4, i have noticed that I cannot set a custom login screen like i could in previous versions. Is there a work around for this?

View 9 Replies View Related

OpenSUSE :: KDE 4.4 - Is It Faster / Fix Any Bugs From Previous Versions?

Feb 9, 2010

How is it? Is it faster? Does it fix any bugs from previous versions?

View 9 Replies View Related

Ubuntu :: Editing The Grub Startup Menu To Take Out Some Of The Previous Versions

Jun 12, 2010

I'm interested in editing the Grub startup menu to take out some of the previous versions of Ubuntu. First, is there a reason Grub keeps the previous versions available to boot to in that list? If it is just in case of a problem with the new installation wouldn't it make sense to only have the most recent previous installation? Anyway here is the problem, when I run: Code: "gedit /boot/grub/menu.lst"

The editing program opens the file named "menu.lst" but the file is empty. How is it possible for this file to be empty yet I have multiple boot options and they all work? Does anybody know what I am running into here?

View 2 Replies View Related

Ubuntu :: 11.04 Upgrade And Fresh Install Can't Connect To Previous Versions?

Jul 17, 2011

I upgraded my Ubuntu server install to 11.04 and could not connect to anything outside of it. Its a weird issue because if I run a ping against it as its booting up for about 20 seconds or so I get responses, then it says unreachable. (This is a wired connection by the way). If i login fast enough on the server itself I can ping google for instance and get a response, then it just stops and says host unreachable from that point on.

I then decided to setup a fresh install on the system (virtual server) and I get the same issue. All throughout the install it connected fine, just up until it fully restarts. Its like some service starts that just kills the connection. I rolled back to 10.10 on my other instance and it can connect fine.. Ive been trying everything I can find on the forums but I am pretty stumped by this,

View 2 Replies View Related

Ubuntu :: Revert To Previous Versions Without Losing Data And Install Thunderbird 3.0 ?

Jan 1, 2010

I updated to Thunderbird 3 by following instructions from http:[url]....Everything updated nicely, but in menu I don't have Thunderbird anymore - there is Shredder instead.Also Firefox was automatically updated - with change of name to Shiretoko with different icon. Wanted to make sure I added safe repositories, and why these changes?

ps. i checked some websites and seems like it is installing alpha/beta versions. so since it is not working now - how do i revert to previous versions without losing data, and how do i install thunderbird 3.0 then.

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

OpenSUSE :: VMWare Installation - Of Gcc And Kernel-sources Versions

Dec 30, 2010

Trying to install VMWare I get the following message:

Really after it VMWare anyway doesn't agree to install. Zypper says that no newer version of gcc is available. So I can't see how I can install VMWare.

View 9 Replies View Related

Ubuntu Installation :: How To Prevent Removal Of Older Kernel Versions On Update

Jul 28, 2010

I need to prevent that the latest kernel update removes the only kernel that still works in my computer. how can i do this? Currently I have 3 linux kernels versions:

Code:

Ubuntu 10.04 LTS, kernel 2.6.32-23-generic
Ubuntu 10.04 LTS, kernel 2.6.32-23-generic (recovery mode)
Ubuntu 10.04 LTS, kernel 2.6.32-22-generic

[code]...

But only the oldest works. With the new update there is a new kernel version (2.6.32-24) that possibly will not boot (like previous 2.6.32-* kernels) and also I expect that, as in previous updates, the oldest kernel will become inaccessible, thus rendering my ubuntu unbootable.

PS: unsolved threads on the underlaying problem: Can't boot default kernel after upgrading from 9.xx to 10.04 lucid Upgrade to 10.04 freezes on the Ubuntu screen

View 7 Replies View Related

Ubuntu :: Doesnt Uninstall Old Versions Automatically When Updating?

Mar 14, 2011

Here is my GRUB boot menu and the older versions of Ubuntu still appear there. It also uses very much disk space. How can i uninstall the old versions and set Ubuntu to do it automatically when i update it?

View 9 Replies View Related

Debian :: Updating Index In Apt-show-versions

Jul 8, 2011

When we use either apt-get or/and aptitude to update the index. Does anybody know where this index is kept ?The thing is when I remove an entry or two from /etc/apt/sources.list and run $ sudo aptitude update and then run apt-show-versions -a it still shows me packages whose paths I have deleted.

View 3 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 :: Updating Withough Updating Kernel ?

Apr 21, 2011

I have a 3dsp pci wifi card, and the last kernel it supports is Ubuntu 10.04 2.6.32-(21-24) I want to update but dont want to accidentally update the kernal.

View 3 Replies View Related

Ubuntu Installation :: Dualboot: WinXP Won't Boot After Removing Old Kernel?

Jun 17, 2010

I have winxp and ubuntu 10.04 dualboot. They were working ok. Today I removed old *21 kernel image and headers so grub updated the confs. That's all I did that could cause the win no longer boot. It starts booting, the screen goes black and the PC reboots. I tried safe mode, it started to load some dlls as it usually shows in safe mode but then still reboot.

Code:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Cannot Boot After Accidently Removing Kernel Image

Apr 19, 2011

I have Ubuntu 10.10 installed on my laptop.Its a dual boot with XP, have been using ubuntu/xp for a while now..Till now i always used to remove older kernel images after ubuntu update, then update grub and do "sudo apt-get autoclean" never had any problem at all.i skipped the second step, i removed the old kernel image and did "Autoclean" on apt-get but forgot to update grub.

Now after i have reboot, when grub loads i can see only 2 "Memtest" lines in grub list and 1 "windows xp" line.the "Linux kernel generic" line is missing. I can boot in xp (have done just that to post this) but since there is no line in grub list to boot into Ubuntu, cant boot in Ubuntu.Is there any option, something i can do at "Grub" to boot into Ubuntu?

View 4 Replies View Related

Ubuntu Installation :: Error Exists While Updating Linux Kernel

Mar 3, 2011

My kernel is not updating and I'm getting errors like.........

[Code]...

View 6 Replies View Related

General :: Failed Boot Versions - Have To Boot From Previous Version ?

Apr 4, 2010

I am almost brand new user of Ubuntu 9.10 loaded using Wubi. After an update I can no longer boot from the highest version (-20-generic), but have to start from a previous version (-14-generic). How do I clean up the boot image/configure grub (v 1.97 beta which I believe is Grub 2)?

View 2 Replies View Related

Fedora Installation :: Nvidia Removing Kernel Module

Jun 19, 2009

I had the 180.xxx nvidia drivers on my FC10 setup.I installed the 185.xxx and am running into issues. It gives me the fatal server error: no screens found message. Before that it says that the nvidia kernel module is 180.xxx and the driver component has 185.xxx. I can't seem to figure out how to uninstall the previous module to make this work. I removed the yum kmod nvidia. I'm running this using sh nvidia.185xxx.xxxx.run . The weird thing is that it sometimes would work but then I would restart and it would break again.
Thanks in advance,

View 9 Replies View Related

Fedora Installation :: Removing Older Kernel Installs

Mar 31, 2010

I just did an upgrade and it included the kernel. As time goes by, I will be stuck with a lot of kernels to choose from, and lower disk space. How do I remove an older kernel and everything it's related to it without breaking stuff?

View 8 Replies View Related

Ubuntu Installation :: Restricted Modules Not Updating With Latest Kernel Updates Lucid 10.04

May 8, 2010

I have noticed in the recent updates there is a Kernel update 2.6.32-22 but there is no restricted modules included. On my Desktop I have a Nvidia card which I installed the driver using the Hardware Drivers Application. As far as I know these Drivers are ether reinstalled or updated whenever there is a kernel update.

I also have a Laptop with a ATI Radeon card which I did run the updates and ended up (after the reboot) in low graphics mode, after a bit of work I was able to reinstall the drivers and get my desktop back so that's ok now.

I had this problem a few years ago with an old version of Ubuntu, kernel updates but no restricted drivers. The drivers turned up the next day and all was fine. I was just wandering if this is a known issue with Lucid or if anyone else has had this problem, It's been a couple of days since I noticed the Kernel update but still Restricted Modules. Oh I'm using Ubuntu Lucid 10.04

View 2 Replies View Related

Ubuntu :: Choose Previous Kernel With No GRUB ?

Jul 5, 2010

How do i choose a previous Kernel without a GRUB?? I have a netbook with only Ubuntu (UNR) installed so every time i update my kernel and so on i cannot see/choose the kernel version i want (i believe it enters the most recent one by default). Is there a way to do that without a grub or i have to install it even if i dont have a second OS?

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

Ubuntu :: Booting With Certain Versions Of The Kernel

Jul 14, 2010

I've been having some odd kernel issues recently. A while back I installed 2.6.32rc6 when I first upgraded to 9.04, because it solved issues I was having with surround sound. A few months back I installed mythtv and the mythbuntu binaries as well, although I have since uninstalled them. All of a sudden, I seemed to have issues booting into ubuntu with certain versions of the kernel, where it would just freeze at the white ubuntu logo, while other versions of the kernel would load fine (I think 2.6.31?) but it would display the mythbuntu logo instead (not sure if this is related).

I just upgraded to 10.04, and I still seem to have issues booting with certain kernel versions. Right now I'm running 2.6.32-020632rc6-generic which seems to work, but it's outdated, and I have surround sound issues again. Which one should I be using? Is there a way to clean this mess up? How do I fix the problem of freezing at the boot screen?

View 3 Replies View Related

Debian :: Install A Previous Kernel Release ?

Jun 13, 2010

I want to install (or compile myself) a previous kernel release (2.6.31.13). Where can I get it?
I mean a Debian Kernel with all your patches etc.

I'm using Debian Unstable. I just noticed that it was the quickest kernel (well, maybe for me only and my hardware).

View 3 Replies View Related

Fedora :: Revert To A Previous Kernel Version?

Aug 14, 2009

I'm using F11 and I've downloaded and installed kernel 2.6.30.4-25.fc11.x86_64 from koji.
Since I'm dumb.... I've installed with rpm -Uvh kernel* so now I've loose the latest stable fedora kernel...
I've tried to manually download kernel but when I try to install it complains because it's older then the current installed.
How can I restore to kernel 2.6.29?

View 1 Replies View Related

OpenSUSE Install :: 11.3 - Revert To A Previous Kernel?

Aug 20, 2010

I used to have 2.6.34-12-default kernel. Recently I downloaded and installed 2.6.35.1-1.1 DEBUG kernel. Because I cannot either use pre-compiled packages or compile new package from source, I want to go back to 2.6.34-12-DEFAULT kernel.

View 7 Replies View Related







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