免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: xrxu_cainiao
打印 上一主题 下一主题

/lib/moudels/linux/kernel/sound 可以删吗? [复制链接]

论坛徽章:
0
11 [报告]
发表于 2011-05-30 08:33 |只看该作者
可以删除老内核。

论坛徽章:
0
12 [报告]
发表于 2011-05-30 17:45 |只看该作者
尝试着卸载了两个内核
其中一个内核末尾提示似乎启动项啥的
麻烦前辈们帮看一眼吧,谢谢:

  1. server1:/lib/modules# apt-get remove linux-image-2.6.26-2-686
  2. Reading package lists... Done
  3. Building dependency tree      
  4. Reading state information... Done
  5. The following packages were automatically installed and are no longer required:
  6.   gnome-keyring libhtml-template-perl mysql-server-core-5.1 libgp11-0 libgcr0 fam ttf-dejavu esound-clients portmap
  7. Use 'apt-get autoremove' to remove them.
  8. The following packages will be REMOVED:
  9.   linux-image-2.6.26-2-686
  10. 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  11. After this operation, 60.0 MB disk space will be freed.
  12. Do you want to continue [Y/n]? Y
  13. (Reading database ... 33068 files and directories currently installed.)
  14. Removing linux-image-2.6.26-2-686 ...
  15. Examining /etc/kernel/postrm.d .
  16. run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.26-2-686 /boot/vmlinuz-2.6.26-2-686
  17. run-parts: executing /etc/kernel/postrm.d/zz-update-grub 2.6.26-2-686 /boot/vmlinuz-2.6.26-2-686
  18. Generating grub.cfg ...
  19. Found linux image: /boot/vmlinuz-2.6.32-5-686
  20. Found initrd image: /boot/initrd.img-2.6.32-5-686
  21. done
  22. The link /vmlinuz.old is a damaged link
  23. Removing symbolic link vmlinuz.old
  24. Unless you used the optional flag in lilo,
  25. you may need to re-run your boot loader[lilo]
  26. The link /initrd.img.old is a damaged link
  27. Removing symbolic link initrd.img.old
  28. Unless you used the optional flag in lilo,
  29. you may need to re-run your boot loader[lilo]
复制代码

论坛徽章:
0
13 [报告]
发表于 2011-05-30 17:47 |只看该作者
清理出126M可用了,松口气了。 只是现在还没重启过

server1:/lib/modules# apt-get autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages will be REMOVED:
  esound-clients fam gnome-keyring libgcr0 libgp11-0 libhtml-template-perl mysql-server-core-5.1 portmap ttf-dejavu
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
After this operation, 16.9 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 30523 files and directories currently installed.)
Removing esound-clients ...
Removing fam ...
Stopping file alteration monitor: FAM.
Removing gnome-keyring ...
Removing libgcr0 ...
Removing libgp11-0 ...
Removing libhtml-template-perl ...
Removing mysql-server-core-5.1 ...
Removing portmap ...
Stopping portmap daemon....
Removing ttf-dejavu ...
Processing triggers for man-db ...
Processing triggers for gconf2 ...
server1:/lib/modules# df -lh
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             259M  120M  126M  49% /
tmpfs                1013M     0 1013M   0% /lib/init/rw
udev                 1009M  120K 1009M   1% /dev
tmpfs                1013M     0 1013M   0% /dev/shm
/dev/sda9             219G   74G  135G  36% /home
/dev/sda8             373M   11M  343M   3% /tmp
/dev/sda5             4.6G  874M  3.5G  20% /usr
/dev/sda6             2.8G  2.4G  234M  92% /var
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP