如何删除多余的启动项ubuntu启动项

怎样删除多余启动菜单 - 查看主题 & Ubuntu中文论坛
&[ 17 篇帖子 ]&
&文章标题 : 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
Ubuntu 开机启动显示有 :windows
7Ubuntuwindows xp
的子菜单中有 : xp 、Ubuntu点击win 7下面的Ubuntu 无法进入系统,只有先选择 windows xp 再选Ubuntu才可以进入
Ubuntu系统!所以想把win
7 下面那个 Ubuntu 选项删掉 ,查了好多都不知道怎样删 ,所以望高手给予解决,谢谢!
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
23:29帖子: 2114地址: 曾也在NB大学呆过
双系统?你是用什么引导的?ubuntu9.10?
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
5:53帖子: 4663
在ubuntu下载运行,结果贴上来看看。
_________________电子书下载:
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:在ubuntu下载运行,结果贴上来看看。那个有什么用?我下载来,但不知道怎么用 ?
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
kumox 写道:双系统?你是用什么引导的?ubuntu9.10?下载ubtuntu9.10.iso文件,在xp里面直接就可以安装啊
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
5:53帖子: 4663
你把文件先复制到桌面,终端运行:代码:sudo bash ~/桌面/boot_info_script055.sh把RESULTS.txt文件内容贴上来。
_________________电子书下载:
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:你把文件先复制到桌面,终端运行:代码:sudo bash ~/桌面/boot_info_script055.sh把RESULTS.txt文件内容贴上来。
Boot Info Script 0.55
dated February 15th, 2010
============================= Boot Info Summary: ============================== =& Windows is installed in the MBR of /dev/sdasda1: _________________________________________________________________________
File system:
Boot sector type:
Vista: Fat 32
Boot sector info:
No errors found in the Boot Parameter Block.
Operating System:
Windows XP
Boot files/dirs:
/boot.ini /bootmgr /boot/bcd /grldr /ntldr
/ /wubildr.mbr /wubildrsda2: _________________________________________________________________________
File system:
Extended Partition
Boot sector type:
Boot sector info:
sda5: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:
sda6: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
According to the info in the boot sector, sda6 starts
at sector 63.
Operating System:
Boot files/dirs:
/Windows/System32/winload.exesda7: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
According to the info in the boot sector, sda7 starts
at sector 63.
Operating System:
Boot files/dirs:
sda8: _________________________________________________________________________
File system:
Boot sector type:
Windows XP
Boot sector info:
According to the info in the boot sector, sda8 starts
at sector 63.
Operating System:
Boot files/dirs:
/ubuntu/winboot/wubildr.mbr /ubuntu/winboot/wubildr
/ubuntu/disks/root.disk /ubuntu/disks/swap.disksda8/Wubi: _________________________________________________________________________
File system:
Boot sector type:
Boot sector info:
Operating System:
Ubuntu 9.10
Boot files/dirs:
/boot/grub/grub.cfg /etc/fstab=========================== Drive/Partition Info: =============================Drive: sda ___________________ _____________________________________________________Disk /dev/sda: 320.1 GB,
bytes255 heads, 63 sectors/track, 38913 cylinders, total
sectorsUnits = sectors of 1 * 512 = 512 bytesDisk identifier: 0x0defaa1ePartition
Id System/dev/sda1
63,488,879
63,488,817
c W95 FAT32 (LBA)/dev/sda2
63,488,880
625,137,344
561,648,465
f W95 Ext d (LBA)/dev/sda5
63,488,943
210,949,514
147,460,572
7 HPFS/NTFS/dev/sda6
210,949,578
378,893,024
167,943,447
7 HPFS/NTFS/dev/sda7
378,893,088
569,921,939
191,028,852
7 HPFS/NTFS/dev/sda8
569,922,003
625,137,344
55,215,342
7 HPFS/NTFSblkid -c /dev/null: ____________________________________________________________Device
/dev/loop0
f1a63fe0-f4bd-443d-805a-adf
C6F8A6E7F8A6D549
3EC8C4F4C8C4AC09
============================ &mount | grep ^/dev
output: ===========================Device
Mount_Point
Options/dev/loop0
(rw,errors=remount-ro)/dev/sda8
(rw)/dev/sda7
/media/3EC8C4F4C8C4AC09
(rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)================================ sda1/boot.ini: ================================;;Warning: Boot.ini is used on Windows XP and earlier operating systems.;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.;[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&Microsoft Windows XP Professional& /NOEXECUTE=OPTIN /FASTDETECTC:\wubildr.mbr = &Ubuntu&======================== sda8/Wubi/boot/grub/grub.cfg: ========================## DO NOT EDIT THIS FILE## It is automatically generated by /usr/sbin/grub-mkconfig using templates# from /etc/grub.d and settings from /etc/default/grub#### BEGIN /etc/grub.d/00_header ###if [ -s /boot/grub/grubenv ]; then
have_grubenv=true
load_envfiset default=&0&if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entryfiif [ ${recordfail} = 1 ]; then
set timeout=-1else
set timeout=10fi### END /etc/grub.d/00_header ###### BEGIN /etc/grub.d/05_debian_theme ###set menu_color_normal=white/blackset menu_color_highlight=black/white### END /etc/grub.d/05_debian_theme ###### BEGIN /etc/grub.d/10_linux ###### END /etc/grub.d/10_linux ###### BEGIN /etc/grub.d/10_lupin ###menuentry &Ubuntu, Linux 2.6.31-14-generic& { insmod ntfs set root=(hd0,8) search --no-floppy --fs-uuid --set a3f854 loopback loop0 /ubuntu/disks/root.disk set root=(loop0) linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda8 loop=/ubuntu/disks/root.disk ro
quiet splash initrd /boot/initrd.img-2.6.31-14-generic}menuentry &Ubuntu, Linux 2.6.31-14-generic (recovery mode)& { insmod ntfs set root=(hd0,8) search --no-floppy --fs-uuid --set a3f854 loopback loop0 /ubuntu/disks/root.disk set root=(loop0) linux /boot/vmlinuz-2.6.31-14-generic root=/dev/sda8 loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.31-14-generic}### END /etc/grub.d/10_lupin ###### BEGIN /etc/grub.d/20_memtest86+ ###### END /etc/grub.d/20_memtest86+ ###### BEGIN /etc/grub.d/30_os-prober ###menuentry &Windows 7 (loader) (on /dev/sda1)& { insmod fat set root=(hd0,1) search --no-floppy --fs-uuid --set ec61-3785 chainloader +1}### END /etc/grub.d/30_os-prober ###### BEGIN /etc/grub.d/40_custom #### This file provides an easy way to add custom menu entries.
Simply type the# menu entries you want to add after this comment.
Be careful not to change# the 'exec tail' line above.### END /etc/grub.d/40_custom ###============================= sda8/Wubi/etc/fstab: =============================# /etc/fstab: static file system information.## Use 'blkid -o value -s UUID' to print the universally unique identifier# this may be used with UUID= as a more robust way to name# devices that works even if disks are added and removed. See fstab(5).## &file system& &mount point&
&pass&proc
0/host/ubuntu/disks/root.disk /
loop,errors=remount-ro 0
1/host/ubuntu/disks/swap.disk none
0================= sda8/Wubi: Location of files loaded by Grub: =================
3.7GB: boot/grub/grub.cfg
.6GB: boot/initrd.img-2.6.31-14-generic
.6GB: boot/vmlinuz-2.6.31-14-generic
.6GB: initrd.img
.6GB: vmlinuz
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
5:53帖子: 4663
你是wubu装的,boot.ini被win7的bootmgr和xp的ntldr各调用一次,所以在菜单上出现两次。我自己现在没装win7没办法试。先查ubuntu启动项id代码:bcdedit然后删除启动项代码:bcdedit /delete {id}
_________________电子书下载:
21:47,总共编辑了 1 次
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
15:12帖子: 7868
选 win 7下面的Ubuntu 是什么反应?
_________________
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
onshoestring 写道:你是wubu装的,boot.ini被win7的bootmgr和xp的ntldr各调用一次,所以在菜单上出现两次。我自己现在没装win7没办法试。先查ubuntu启动项id代码:bcdedit然后删除启动项代码:bcdedit /delete {id}xuyongping@ubuntu:~$ bcdedit No command 'bcdedit' found, did you mean: Command 'fcdedit' from package 'opensg-tools' (universe)bcdedit: command not found那是什么意思
22:06,总共编辑了 1 次
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
smallapple 写道:选 win 7下面的Ubuntu 是什么反应?文件:\wubildr.mbr状态:Oxc000000f无法加载所有项,应为应用程序丢失或损坏。大概就所上面那样了,应该是找不到引导文件吧!
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
15:12帖子: 7868
bcdedit 是win7的运行程序,要在win下面运行。那个 win7 下的 ubuntu 是win7引导程序直接吊用 boot.ini 的启动项出现的菜单,删不掉的,要把 boot.ini 中的 ubuntu 删除才可以,删除后连 xp 下也没有 ubuntu 启动项的。找不文件应该是 boot.ini 格式有问题,把 boot.ini 的原始内容以代码方式贴上来看看。
_________________
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
smallapple 写道:bcdedit 是win7的运行程序,要在win下面运行。那个 win7 下的 ubuntu 是win7引导程序直接吊用 boot.ini 的启动项出现的菜单,删不掉的,要把 boot.ini 中的 ubuntu 删除才可以,删除后连 xp 下也没有 ubuntu 启动项的。找不文件应该是 boot.ini 格式有问题,把 boot.ini 的原始内容以代码方式贴上来看看。c盘里到boot.ini 吗 ?;;Warning: Boot.ini is used on Windows XP and earlier operating systems.;Warning: Use BCDEDIT.exe to modify Windows Vista boot options.;[boot loader]timeout=30default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS[operating systems]multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&Microsoft Windows XP Professional& /NOEXECUTE=OPTIN /FASTDETECTC:\wubildr.mbr = &Ubuntu&
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
15:12帖子: 7868
引用:C:\wubildr.mbr = &Ubuntu&等号前后各有一个空格,把空格删了,代码:C:\wubildr.mbr=&Ubuntu&保存后重启选win7下的那个ubuntu看看
_________________
&文章标题 : Re: 怎样删除多余启动菜单发表于 :
12:27帖子: 16
送出感谢: 0 次
接收感谢: 0 次
smallapple 写道:引用:C:\wubildr.mbr = &Ubuntu&等号前后各有一个空格,把空格删了,代码:C:\wubildr.mbr=&Ubuntu&保存后重启选win7下的那个ubuntu看看en ,现在win7下的那个ubuntu可以正常进入来,可以不必删了,谢谢了!再问下,xp下的那个ubuntu可以删不,然后直接点windows xp就进入XP 而不要复选 ?
显示帖子 : 全部帖子1天7天2周1个月3个月6个月1年&排序 作者发表时间文章标题 升序降序&
&[ 17 篇帖子 ]&
正在浏览此版面的用户:没有注册用户 和 2 位游客
您 不能 在这个版面发表主题您 不能 在这个版面回复主题您 不能 在这个版面编辑帖子您 不能 在这个版面删除帖子您 不能 在这个版面提交附件
选择一个版面
------------------
公告/注意事项
& &新闻和通知
& &校园社团支持
& && &华东校区
& && &华南校区
& && &华北校区
& && &华中校区
& && &东北校区
& && &西北校区
& && &港澳台校区
& && &国外校区
& &软件推荐
& &非常任务
系统安装区
& &教学和常见问答
& && &课堂教学和培训
& &初学者园地 - 16.10 - Yakkety Yak
& &系统安装和升级
& && &新立得和软件源
& && &Wubi安装讨论
& &启动和引导
& &网卡问题以及网络和拨号
& && &校园网拨号
& &笔记本、UMPC支持
& &手机和平板
& && &Ubuntu移动应用开发
& &常用硬件支持
& &系统架构支持
配置美化区
& &字体美化和中文支持
& && &个人配置文件存放点
& &桌面特效
& &窗口管理器
& &屏幕抓图
& &办公、图像、机械电子设计等
& && &Vim和Emacs
& &因特网相关软件
& &影音多媒体
& &Wine及其分支
& &游戏和游戏模拟器
& &虚拟机和虚拟化
& &其它类软件
& &开源模板库
服务器管理
& &服务器基础应用
& &数据库管理
& &服务器维护和硬件相关
& &Ubuntu VPS
参与Ubuntu开发
& &软件和文档翻译
& &编译或打包
& &Ubuntu错误报告
程序设计区
& &Shell脚本
& &GTK+和QT
& &软件/网站开发
& && &Python/Php/Perl
& && &C/C++/Java
& &内核及嵌入式开发
& &开源小工具
& &Ubuntu 17.04
& &Ubuntu 16.04 LTS
& &Ubuntu 14.04 LTS
& &Ubuntu 12.04 LTS
& &Ubuntu 10.04 LTS
& &老旧版本支持
& && &Ubuntu 15.10
& && &Ubuntu 15.04
& && &Ubuntu 14.10
衍生发行版
& &Ubuntu GNOME
& &Kubuntu
& &Xubuntu & Lubuntu
& &Ubuntu中文衍生版
& && &UbuntuKylin
& &Ubuntu国外衍生版
& && &Mint
& &Ubuntu衍生版制作
& &其它类Unix OS发行版
& && &Arch发行版
& && &Debian发行版
& && &OpenSUSE发行版
& && &Deepin
& &深度PK版
& &Ubuntu故事和感慨
& &Full Circle开源杂志
分享交流区
& &同城交流
& &线下活动专版
& &Ubuntu宣传推广
& &论坛管理
& && && &Ubuntu中文网上商店删除windows下ubuntu双系统残留的启动项
&最近重装系统,发现原来ubuntu的启动项还在,但是选择却进不去,删除了ubuntu的文件夹以后启动项仍然存在。所以上网找了一下删除方法。
&网上最多的就是bcdedit命令了,大家也可以自己上网查bcdedit的使用方法。
&管理员身份运行cmd,输入bcdedit
C:\Windows\system32&bcdedit
会得到下面一些列结果
Windows 启动管理器
--------------------
标识符 & & &
&{bootmgr}
device & &
&partition=C:
description & &
& Windows Boot Manager
locale & &
inherit & &
{globalsettings}
default & &
resumeobject & &
&{-b574-11de-93f9-ecd0ffea532c}
displayorder & &
&{current}
&{-b574-11de-93f9-ecd0ffea532c}
&{b5d09b48-5bdc-4b57-a096-7b7c6bde08f1}
toolsdisplayorder & &
& {memdiag}
timeout & &
Windows 启动加载器
-------------------
标识符 & & &
&{current}
device & &
&partition=C:
path & & &
&\Windows\system32\winload.exe
description & &
& Windows 7
locale & &
inherit & &
{bootloadersettings}
recoverysequence & &
&{-b574-11de-93f9-ecd0ffea532c}
recoveryenabled & &
osdevice & &
&partition=C:
systemroot & &
& &\Windows
resumeobject & &
&{-b574-11de-93f9-ecd0ffea532c}
实模式启动扇区
---------------------
&{-b574-11de-93f9-ecd0ffea532c}
&partition=D:
&\ubuntu\winboot\wubildr.mbr
description
实模式启动扇区
---------------------
标识符 & & &
&{b5d09b48-5bdc-4b57-a096-7b7c6bde08f1}
device & &
&partition=C:
path & & &
&\okldr.mbr
description & &
& OneKey Ghost
红字部分就是我的ubuntu启动项。
执行下面命令C:\Windows\system32&bcdedit /delete
{-b574-11de-93f9-ecd0ffea532c}
其中{-b574-11de-93f9-ecd0ffea532c}是标识符后面的字符串。
手动打比较麻烦,但是cmd里面复制粘贴比较麻烦,可以右键标记,选中自己要复制的内容,然后在标题栏(最大化最小化关闭按钮那一排)右键选择编辑—&复制,再在自己需要粘贴的地方右键—&粘贴(ctrl+V不起作用)
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。kitytu 的BLOG
用户名:kitytu
文章数:39
访问量:20211
注册日期:
阅读量:5863
阅读量:12276
阅读量:353892
阅读量:1051475
51CTO推荐博文
1 进入目录删除
cd&/boot/&ls&sudo&chmod&777&*2.6.32-33*&sudo&rm&-fv&&*2.6.32-33-* & & &/通配符中间为要删除文件的关键字/
2 更新启动信息,下次启动时就不会在启动项中显示
sudo&update-grub&
3 确定默认启动内核 或 系统
&& & 有两种方法 :
&& a && 装startupmanager&&图形启动项管理器
sudo&apt-get&install&startupmanager&
&&& 然后: &&& 系统----系统管理------启动管理器& (选择默认启动的系统或内核)
&& b&& 修改& grub& (有一定风险,有点麻烦) 改完& ,要 sudo update-grub 更新一下
&本文出自 “” 博客,请务必保留此出处
了这篇文章
类别:┆阅读(0)┆评论(0)Ubuntu系统中删除不要的启动项-Ubuntu-操作系统-壹聚教程网Ubuntu系统中删除不要的启动项
你有没有发现使用ubuntu系统久了会发现多一些不必要的启动项了,那么这些启动项我们要如何进行删除呢?下面一聚教程小编来给各位整理了两种操作技巧。
方法一如下:
使用root账户进入ubuntu,找到/boot/grub/grub.cfg文件,先将其属性改为读写,之后打开文件,仔细看看就能发现多余的启动项信息,将你不要的启动项删掉,保存退出。记得再将文件属性改回来。
也可以这样:
使用命令 sudo chmod +w /boot/grub/grub.cfg,将grub.cfg文件的属性改为可写。
修改之后,再用命令:sudo gedit /boot/grub/grub.cfg修改。
以上的方法,只是将启动项中的信息抹掉了你不想要的一部分,并未从根本上删除那些内核,如果想删除掉不需要的内核,可以采用以下方法:
首先输入命令查看已安装内核:dpkg --get-ions|grep
之后输入命令如:sudo apt-get remove linux-headers-2.6.32-21-generic 来删除你不需要的内核
下面是补充:
每当升级到新的版本后,grub会自动调整开机启动菜单的顺序,把新的内核放在启动菜单的开始,但不会删除旧的内核版本。这样,当Ubuntu的升级次数一多,启动菜单中将变得非常臃肿。而且那些旧版本的内核基本不会用,不如删除之。通常的解决方案如下
1.找出系统已经安装的内核版本,在终端里输入命令:
dpkg &get-selections | grep linux-image
然后会显示系统中已安装的内核,例如:
linux-image-3.11.0-12-generic& install
linux-image-3.11.0-18-generic& install
linux-image-extra-3.11.0-12-generic& install
linux-image-extra-3.11.0-18-generic& install
linux-image-generic& install
2.卸载旧的内核版本,在终端里输入命令:
sudo apt-get remove linux-image-3.11.0-12-generic linux-image-extra-3.11.0-12-generic
这样就卸载掉了。
最近又看到用正则查找并卸载的方式,更为轻松:
sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
sudo apt-get purge ~ilinux-image-.*\(\!`uname -r`\)
这样如果发现有旧版的内核,会自动提示卸载。确定卸载即可
总结,推荐使用补充方法来删除启动项吧,还有千成录要删除内核哦,这个其实真心没必要去删除了,因为删除内核可能导致系统挂掉哦。
上一页: &&&&&下一页:相关内容

我要回帖

更多关于 删除多余的系统启动项 的文章

 

随机推荐