[SOLVED] How do I uninstall Kernel 3.8.0-28-generic
Linux DeepinThis forum is for the discussion of Linux Deepin.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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'.
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]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.