请问各位如何正确删除ubuntu10.10更新后留下的旧vmlinuz?

系统安装、升级讨论
回复
hanxuaiztt
帖子: 4
注册时间: 2011-01-02 22:05
送出感谢: 0
接收感谢: 0

请问各位如何正确删除ubuntu10.10更新后留下的旧vmlinuz?

#1

帖子 hanxuaiztt » 2011-01-02 22:15

请问各位如何正确删除ubuntu10.10更新后留下的旧vmlinuz?
如下,几次更新后就多了这么多东西,其实只要一两个就可以了
menuentry 'Ubuntu, with Linux 2.6.35-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro quiet splash
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
echo 'Loading Linux 2.6.35-24-generic ...'
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro quiet splash
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
echo 'Loading Linux 2.6.35-23-generic ...'
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
echo 'Loading Linux 2.6.32-24-generic ...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.26-2-686' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro quiet splash
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry 'Ubuntu, with Linux 2.6.26-2-686 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
echo 'Loading Linux 2.6.26-2-686 ...'
linux /boot/vmlinuz-2.6.26-2-686 root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.26-2-686
}
menuentry 'Ubuntu, with Linux 2.6.26-1-686' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
linux /boot/vmlinuz-2.6.26-1-686 root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro quiet splash
initrd /boot/initrd.img-2.6.26-1-686
}
menuentry 'Ubuntu, with Linux 2.6.26-1-686 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set b791aa98-e414-4b09-be19-11207a15e676
echo 'Loading Linux 2.6.26-1-686 ...'
linux /boot/vmlinuz-2.6.26-1-686 root=UUID=b791aa98-e414-4b09-be19-11207a15e676 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.26-1-686

请问一个高明的方法,而不只是在这里去掉几个启动项目的好方法以!
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
送出感谢: 1 次
接收感谢: 89 次
联系:

Re: 请问各位如何正确删除ubuntu10.10更新后留下的旧vmlinuz?

#2

帖子 cuihao » 2011-01-02 22:18

apt-get删除旧的内核。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
回复

回到 “系统安装和升级”