我装windows后装了Ubuntu,然后Ubuntu重装,最后系统启动选择系统时Ubuntu出现了两次,怎么删除呀!??
来源:百度知道 编辑:UC知道 时间:2024/06/16 17:25:50
sudo gedit /boot/grub/menu.lst
找到类似:
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.26-1-amd64
root (hd0,2)
kernel /vmlinuz-2.6.26-1-amd64 root=/dev/sda6 vga=773 ro quiet
initrd /initrd.img-2.6.26-1-amd64
title Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
root (hd0,2)
kernel /vmlinuz-2.6.26-1-amd64 root=/dev/sda6 ro single
initrd /initrd.img-2.6.26-1-amd64
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
我是debian,ubuntu类似处理
安你的情况,linux的段落会出现四段,先看看kernel /vmlinuz-XXX的XXX都一样吗?不一样不要删,表示不同内核,有时有用的