Ubuntu :: Clean Old Kernel "sudo Apt-get Remove Linux-image-2.6.32-29-generic"
Mar 18, 2011
i use the command to get the infomation of my linux kernel; sudo dpkg --get-selections|grep linux use this cmd to delete the old kernel sudo apt-get remove linux-image-2.6.32-29-generic but i forget --purge that cause zhe following item show like this linux-image-2.6.32-28-generic deinstall
I did the following command while I had my partition mounted and was not able to restart until i pulled the power. sudo dpkg-reconfigure linux-image-2.6.32-21-generic. Everything seems to be working okay now but before I start getting into 10.04 i wanna make sure i just didn't screw anything up.
There is a bug in the upgrade from 9.04 to 9.10. I have repeated it three times. During the "installing the upgrades" section, the upgrade always stops or freezes in the same place. The Terminal message stops at "Configuring linux-image-2.6.31-21-generic". "update-initramfs: Generating /boot/initrd.img-2.6.31-21-generic". I have a new DELL laptop computer that came with Ubuntu 9.04 pre-installed. I am using the Update Manager and have previously updated all files for 9.04 before clicking on upgrading to 9.10.
"linux-backports-modules-nouveau-2.6.32-14-generic" is "stuck" on my laptop. It's a "Not Installed (residual config)" and when I try to I get "E:linux-backports-modules-nouveau-2.6.32-14-generic: subprocess installed post-removal script returned error exit status 1"
Other than the linux kernel image I am using is it ok to remove the others I have and thus gain more disk space ? I only have a small asus 900 netbook.
i cant download and install anything. it appears i need to install linux-image-2.6.31-21-generic (version 2.6.31-21.59) but when i try to i get You have 1 broken package on your system! Use the "Broken" filter to locate it. can someone tell me how to fix a broken package
i created an USB Ubuntu [10.04], that i want to keep with me. people sometimes ask me to hep them with all sorts of windows problems, and i wanted to have a usb linux, that i could load with all kind of tools/ software to help.So, i tried doing some research, into what would be most useful. Antivirus-wise, all the links pointed at Clam AV (i also found a pdf describing how to clean a windows drive from linux - will try that soon - if this thread gathers followers, I'll post the results).Do you have any ideas what could i install more ? different AV ? some defragmenting tool? I searched a bit, but on all kinds of forums people just said that linux did not need defragmenting. i know that, but i want a linux tool that defragments NTFS drives.
We need to create a "golden" or generic image as a template to VMWare so we can deploy test servers quickly. I can create a template in VMWare but it's a duplicate of the system I made it from. How do I "unconfigure" the template system so that it goes to the installation screen to input things like host name, I/P address and so on?
My normal update/upgrade of packages on a LAMP server (Ubuntu 10.04) for my business has resulted in the following error:
Code: Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.32-24-generic-pae /boot/vmlinuz-2.6.32-24-generic-pae run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-24-generic-pae.postinst line 1003.
forgive me for raising a common problem again, but I cannot find a fix in the other threads. I am trying to catch up on upgrades. Step 1 is to get up to 9.10 from 9.04 Doing so however I am being told I don't have enough disk space I present have my 35-odd GB HDD partitioned: 6GB for Ubuntu 28 for Data and 1. or so for swap
evidently I underestimated my Ubuntu partition.
what can I do now?
I have run Computer Janitor (is that the application that results from Sudo apt-get clean? I did that but couldn't figure out how to "clean"?)
I have Gparted installed but I don't see how to use the Move/Resize option.
I'm playing around with the RHEL 6 install so as to create a minimal install image to be used as a generic node for a cloud. I posted this in the security section as reducing the number of services etc seems like a security activity, i.e. reducing the running processes to minimize the attack surface.
Anyways, looking through linux from scratch etc, and the NSA hardening list I'm a bit overwhelmed. Anyone have hints on any good documentation saying what is really needed for a basic system with network/ip/arp/eb rules? The RHEL 6 minimal basic puts in a c/c++ compiler along with other things. that seems unnecessary to me for a basic minimal install.
I have downloaded the i386-DVD.iso image and have burned it on a DVD using Nero Express 6, when it boots from the DVD, it give me an error message "Could not find kernel image: Linux" and the boot: prompt after that. I have burned another DVD using Infra Recorder with minimum write speed but with the same problem. I have Ubuntu already installed on the computer.
Update manager popped up today and I actually had some time to look through the updates. In the recommended updates section it lists "linus-image-2.6.31-20-generic (New install)." In the description is says "You likely do not want to install this package directly. Instead, install the linux-generic meta-package, which will ensure that upgrades work correctly, and that supporting packages are also installed."
I have read 2 different threads that talk a little about this message but I am still unclear on what it is trying to tell me. What does it mean when it says to "Instead, install the linux-generic meta-package"
Just installed the patches/upgrades for the 2.6.35.30 kernel. Ubuntu will not boot without me typing "y" and hitting enter and later hitting the enter key again. Just have a blank screen unless I do this. Discovered what to do by booting into recovery mode. Had to make a display selection. Just guess at the enter key the second time the boot process stopped. I new to Ubuntu so don't know where to look in the logs to provide additional information to help trouble shoot the problem. If some one can guide me as to where to look I'll post log info. Hope this is the right place to post this. If I need to make a bug report let me know.
Forgot to add: HP Pavalion dv5000 (dv5020us to be specific). AMD Turion64 processor. ATI Radeon Mobility 200M video.
I reported a bug at [URL].., then I had been asked to test the latest generic kernel in order to test whether the bug exist in latest kernel or not. I had read the information at [URL]... I installed the most current version of generic kernel. After that, I restart my computer and try to use the latest installed kernel. Then, the laptop freeze. Then, I restart my computer by turning off and on again, select the older kernel, successfully boot into Ubuntu to post this thread. What can I do since I am required to test the latest generic kernel?
I installed Mint 9 and directly after installation there were updates to download and install, which I did. One of the updates is a newer kernel, 2.6.32-24-generic. When I manually install the nVidia driver 256.44 and restart gdm it works. When I reboot I land in low resolution, have to remove and re-install the older (195.36) driver through "Hardware Drivers". Somehow the new kernel and the latest nVidia don't match together. Am I the only one suffering from this or are there more people with this problem,and what to do about it?
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).
got: The UTS Release version in include/linux/version.h"" does not match current version: "2.6.35-xxx" Please correct this make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2 make[1]:***leaving directory `/usr/src/linux-2.6.35' make:*** [kernel_image] Error 2
Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?
I've recently upgraded from Ubuntu 9.04 Server edition to Karmic Koala 9.10 server.Earlier when I ran uname -r it showed: KernelVersion-serverNow the current version I've upgraded to shows 2.6.31-20-generic-pae.Should the Ubuntu server edition be using a generic-pae kernel?
My sound was working in the past, but since I upgraded to kernel 2.6.31-20, it's no longer working. I am using Ubuntu on a Macbook and followed instructions from the Macbook 6,1 wiki on [URL]... I just installed the lastest alsa-driver using the following commands:
I installed Ubutnu 9.10 Server on my Dell Server for LAMP & OpenSSH server. After the install was complete, I noticed the the kernel installed on the server was 2.26.31-14-generic instead of 2.26.31-14-server.I am wondering why would generic kernel be installed from ubuntu-server 9.10 cd? And how do go about chaning to server kernel? Or do I even need to do that? Would generic kernel work as server kernel ?
I did the kernel update via Update Manager today. Unfortunately , after this , disaster happened whereby sh.grub> prompt appeared on screen.
I got no idea how to rescue or repair the grub. I installed Ubuntu 9.10 in my E: under Windows 7 partition and labeled as "ubuntu". It has dual boot capability.
This week my ubuntu 10.10 was updated via update center. I obtained the new kernel headers 2.6.35-23-generic but now I can't boot using this kernel version and I have to select manually 2.6.35-22-generic in grub. I can see the ubuntu plymouth splash screen but it never rise gnome. where are the boot logs and how to activate them, In /var/log/ I have "boot" file but is empty and in "boot.log" I cant see any usefull information (I have BOOTLOGD_ENABLE=yes in /etc/defaul/bootlogd).
I'm on Ubuntu 10.10 - fresh install 2 days ago, I marked all packages for upgrade in Synaptic, everything upgraded except 'linux-image-2.6.35-22-generic' kernel image. Now everytime I use apt-get or synaptic it takes ages as it tries to update the kernel image every time. The error I am receiving is as follows:
I was previously using kernel-huge until a slackware update caused some problems for me, so I switched over to kernel-generic but now I'm wondering if it uses both of my cpus on my dual core processor.