LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
 
Search this Thread
Old 09-06-2013, 05:37 PM   #1
DeepinGal
Member
 
Registered: Jun 2013
Distribution: Linux Deepin Final 2014
Posts: 32

Rep: Reputation: Disabled
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
 
Old 09-07-2013, 07:21 AM   #2
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,277

Rep: Reputation: 258Reputation: 258Reputation: 258
Perhaps
Code:
sudo apt-get remove 3.8.0-28-generic
 
Old 09-07-2013, 10:47 AM   #3
DeepinGal
Member
 
Registered: Jun 2013
Distribution: Linux Deepin Final 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by RockDoctor View Post
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]
 
Old 09-07-2013, 10:52 AM   #4
DeepinGal
Member
 
Registered: Jun 2013
Distribution: Linux Deepin Final 2014
Posts: 32

Original Poster
Rep: Reputation: Disabled
Wink

Quote:
Originally Posted by RockDoctor View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] setting up initrd / generic kernel in Grub2...can't load generic Ubunoob001 Slackware 12 03-20-2015 07:32 AM
Kernel panic with generic kernel Slackware 13.1 goodadamgood Slackware 3 01-31-2011 04:57 PM
Kernel 2.6.28.19 and 2.6.28-19-generic harsha1987 Linux - Kernel 4 10-14-2010 08:27 AM
How to compile debian kernel source into a generic kernel? linus72 Debian 3 04-29-2010 08:50 PM
slack 12, switch to generic kernel from huge kernel, using grub? jaguarrh Slackware 8 09-19-2007 06:29 AM


All times are GMT -5. The time now is 11:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration