LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Deepin (https://www.linuxquestions.org/questions/linux-deepin-101/)
-   -   How do I uninstall Kernel 3.8.0-28-generic (https://www.linuxquestions.org/questions/linux-deepin-101/how-do-i-uninstall-kernel-3-8-0-28-generic-4175476231/)

DeepinGal 09-06-2013 05:37 PM

How do I uninstall Kernel 3.8.0-28-generic
 
I have 3.8.0-28-generic on my grub. When it launches my screen's wallpaper is not on the full screen and I cannot use my keyboard or my mouse. I tried using different ports and it still will not recognize either.

I have to shut the computer down and reboot and choose 'advance options'. I must use 3.8.0-25-generic.

How do I remove the kernel that doesn't work, or how do I fix it? I don't recall how I even got 3.8.0-28. Maybe the Deepin Software Center installed it when I clicked 'update'.

HELP

RockDoctor 09-07-2013 07:21 AM

Perhaps
Code:

sudo apt-get remove 3.8.0-28-generic

DeepinGal 09-07-2013 10:47 AM

Quote:

Originally Posted by RockDoctor (Post 5023579)
Perhaps
Code:

sudo apt-get remove 3.8.0-28-generic

Thanks for your help. I typed it in the terminal and now I have to reboot.

Code:

joan@joan-OptiPlex-745:~$ sudo apt-get remove 3.8.0-28-generic
[sudo] password for joan:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Note, selecting 'linux-headers-3.8.0-28-generic' for regex '3.8.0-28-generic'
Note, selecting 'linux-image-extra-3.8.0-28-generic' for regex '3.8.0-28-generic'
Note, selecting 'linux-image-3.8.0-28-generic' for regex '3.8.0-28-generic'
Package 'linux-image-extra-3.8.0-28-generic' is not installed, so not removed
The following packages will be REMOVED:
  linux-headers-3.8.0-28-generic linux-image-3.8.0-28-generic
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 46.0 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 251761 files and directories currently installed.)
Removing linux-headers-3.8.0-28-generic ...
Removing linux-image-3.8.0-28-generic ...
Examining /etc/kernel/prerm.d.
run-parts: executing /etc/kernel/prerm.d/dkms 3.8.0-28-generic /boot/vmlinuz-3.8.0-28-generic
dkms: removing: bcmwl 6.20.155.1+bdcom (3.8.0-28-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  bcmwl
Version: 6.20.155.1+bdcom
Kernel:  3.8.0-28-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

wl.ko:
 - Uninstallation
  - Deleting from: /lib/modules/3.8.0-28-generic/updates/
 - Original module
  - No original module was found for this module on this kernel.
  - Use the dkms install command to reinstall any previous module version.

depmod.....

DKMS: uninstall completed.
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.0-28-generic /boot/vmlinuz-3.8.0-28-generic
update-initramfs: Deleting /boot/initrd.img-3.8.0-28-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.8.0-28-generic /boot/vmlinuz-3.8.0-28-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.8.0-25-generic...
P: Updating /boot/extlinux/linux.cfg...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.8.0-28-generic /boot/vmlinuz-3.8.0-28-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.8.0-25-generic
Found initrd image: /boot/initrd.img-3.8.0-25-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
 you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
 you may need to re-run your boot loader[grub]


DeepinGal 09-07-2013 10:52 AM

Quote:

Originally Posted by RockDoctor (Post 5023579)
Perhaps
Code:

sudo apt-get remove 3.8.0-28-generic

Thank you very much for helping me. I just rebooted and everything is working fine:) I really appreciate your assistance.


All times are GMT -5. The time now is 11:40 AM.