i have 3 kernels on my ubuntu 10.10 (2.6.35-22; 2.6.35-23; 2.6.35-24). i tried to remove the oldest kernel 2.6.35-22 through synaptic manager, but it says that the kernel is not installed on the system. in fact, all the kernels i have on my system were shown as not installed. when i right-click it highlights only 'mark for installation'. so i tried to remove it from the terminal using the command:
it processes and show that it has been deleted. then i typed:
sudo update-grub2
it showed the grub2 without the deleted kernel. then i restarted, but it was still there. then i logged into the latest kernel (2.6.35-24) and typed:
sudo update-grub
it showed everything including the deleted kernel. then i typed:
sudo update-grub2
and it now showed everything, including the deleted kernel. i thought it was a problem with grub showing deleted entries, so i tried to boot the deleted kernel (2.6.35-22) and surprisingly it booted very well, no hicks or slows. i rebooted into the latest kernel and then tried to re-run the kernel delete command via the terminal, but it said that the old kernel (2.6.35-22) is not installed.
i don't know what's wrong. how do i delete the 2.6.35-22 kernel and update my grub/grub 2?
***besides, my grub is stil GRUB 1.xx version. but how come i still have / can run grub and grub2 on my system? and is also can update both grubs?
I'm having issues with the current kernel is lucid ..Is it safe to issue "apt-get remove 2.6.32-29-server" to remove the current kernel ? Will aptitude automatically configure grub2 to boot on the previous kernel ?
I installed 2.6.34 and no longer need 2.6.32-21. When I go into the package manager and mark it for removal...It looks like it tries to install 2.6.32-22 and 2.6.32-22 Generic and then upgrade Linux-headers-generic.
I have inserted a module with modprobe. However it seems to have problem. 1- How can I remove the module from modprobe? 2- If I reboot and the kernel can not boot up because of this faulty module, how can I remove it?
the correct way to remove custom kernels? I was trying to install a driver and only got it half way right and I want to wipe the slate clean and try again.Here's the original:Debian GNU/Linux, kernel 2.6.26-2-amd64root(hd0,4)kernel/boot/vmlinuz-2.6.26-2-amd64 root=UUID=64dcc531-f5b0-47e8-99c4-abeecfab9353 ro quietinitrd/boot/initrd.img-2.6.26-2-amd64
I'm trying to install VMWare server on my Kubuntu box and it's telling me there are 3 "kernel modules" that it needs me to remove (apparently they were installed previously and VMWare isn't liking that).How do I remove them? Never messed with the kernel modules before.
I am currently running the xen (64 bit) kernel, but want to move to the non xen kernel(64 bit) while retaining my carefully crafted system. I tried this once before by unticking the "virtualisation" and it removed the xen kernel, leaving me with nothing to boot from.
The latest kernel(2.6.32.9-67) is causing problems for my laptop.What are the best practices for safely removing a kernel?( Yum wants to remove gcc and friends also...)How can one prevent Software Update from relisting the bad boy?
Sorry if it is a dumb question (i'm coming from deb/ubuntu and i'm totally new to rpm - installed Smeegol on a Samsung N150). After some try&error i finally got my Broadcom4313 working but underway to that i got lots of new kernels and now i don't understand not so much anymore.
I think the kernel default-devel it was me installing it using the distribution manager to get working make (for trying to install the original Broadcom driver package; i stopped that attempt because i didn't where exactly to move/cp the built driver).
I got this problem where my USB ports don't work. So if I do the command:
modprobe -r ehci_hcd
it fixes it. I can put it in the /etc/rc.local so that it runs every time when the server reboots. But, I want the ehci module removed without ever being loaded because sometimes the server goes through an fsck and the module is loaded and therefore I cannot use my IPMI to access the server.
I believe that my kernel has it within it because blacklisting the module does not work. I've tried remaking the initrd with this:
add module to /etc/modprobe.d/blacklist mkinitrd -f /boot/initrd-$(uname-r).img $(uname -r)
and that didn't work. I've searched on how to do it but nothing is really clear. I would like to know what the command would be to do this. I use Fedora 8.
I would like the ehci_hcd module to not be loaded so that if the server goes through an fsck, the module is still not loaded.
from [URL] How to remove them completely? The ipw2200 driver complains that it could not agree with certain symbols in ieee80211 module. Before taking another route, I would like to know how to completely remove the files installed by these driver packages.
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?
I was wondering how can I determine among the modules loaded at boot which of them are really necessary and which are not, in order to reduce the boot process time and have a more "elegant" system start.
I know this theme is a little bit of complicated because it depends of the user's point of view and demand a high knowledge of which things are happening in your system but I need somewhere to start improving the performance of my debian system.
The latest installed kernel stopped working. ( 2.6.35.13-92.fc14.i686) It won't boot. I just get black screen with blinking cursor in top left corner. How do I, or can I, remove and reinstall?
Now I've got debug, default, desktop, ec2, trace, vanilla, xen installed im my system. I usually only boot with desktop, and I was wondering if it is OK to remove other stuff except debug, default, and desktop.
I've searched high and low, and can't figure this one out. I have a older Olympus Camera (2001 or so). When I plug in the USB connection, I get the following log output: $ dmesg | grep sd [20047.625076] sd 21:0:0:0: Attached scsi generic sg7 type 0 [20047.627922] sd 21:0:0:0: [sdg] Attached SCSI removable disk
Secondly, the drive is not mounted in the FS, but when I run gphoto2 I get the following error: $ gphoto2 --list-config *** Error *** An error occurred in the io-library ('Could not lock the device'): Camera is already in use. *** Error (-60: 'Could not lock the device') ***
What command will unmount the drive. For example in Nautilus, I can right click and select "Safely Remove Device". After doing that, the /dev/sg7 and /dev/sdg devices are removed.
Some things I've tried already are sdparm and sg3_utils, however I am unfamiliar with them, so it's possible I just didn't find the right command.
# mount | grep sdg # mount | grep sg7 # umount /dev/sg7 umount: /dev/sg7: not mounted # umount /dev/sdg umount: /dev/sdg: not mounted # gphoto2 --list-config
*** Error *** An error occurred in the io-library ('Could not lock the device'): Camera is already in use. *** Error (-60: 'Could not lock the device') ***
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?
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'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?
This has been bothering me for years now...when I go to remove a thumb drive from my computer, I have two options when I right click the device eject and safely remove. What on earth is the difference supposed to be?
I am the only user on my laptop so there are somethings that I don't need.I would like to remove the login at start. What do I remove to make it go away? Second one is Keyring. Is it necessary? Can I remove it without causing problems?
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
Anyone else seeing this? I do 'safely remove' to remove USB flash drive. disappears. Five seconds (or less) later, it reappears. The second time I do 'safely remove', it stays gone.
My laptop has only 2GB of RAM so I don't think I need the PAE kernel, also there are some drivers that I want to install, they were built for non-PAE kernel.
So far I read that I have to change the :
/etc/sysconfig/kernel --------- # UPDATEDEFAULT specifies if new-kernel-pkg should make # new kernels the default UPDATEDEFAULT=yes
I get the following error message trying to install dazuko on xubuntu 10.04: "headers for target kernel version could not be found" But when I run sudo apt-get install linux-headers-$(uname -r), I get the message that I already installed the headers. My current kernel is 2.6.34-020634-generic
How can I install dazuko withouth having this problem??