﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-LLVM-随笔分类-linux</title><link>http://www.cppblog.com/mikesheng/category/19951.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 29 Oct 2013 08:23:40 GMT</lastBuildDate><pubDate>Tue, 29 Oct 2013 08:23:40 GMT</pubDate><ttl>60</ttl><item><title>GRUB2删除启动菜单项</title><link>http://www.cppblog.com/mikesheng/archive/2013/10/29/203949.html</link><dc:creator>LLVM</dc:creator><author>LLVM</author><pubDate>Tue, 29 Oct 2013 08:17:00 GMT</pubDate><guid>http://www.cppblog.com/mikesheng/archive/2013/10/29/203949.html</guid><wfw:comment>http://www.cppblog.com/mikesheng/comments/203949.html</wfw:comment><comments>http://www.cppblog.com/mikesheng/archive/2013/10/29/203949.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/mikesheng/comments/commentRss/203949.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/mikesheng/services/trackbacks/203949.html</trackback:ping><description><![CDATA[&nbsp;&nbsp; <span style="font-size: 8pt;">机器上安装了5个OS,分别是win7, opensuse12.3,&nbsp; linux mint15, winXP linux mint14,其中winXP, linux mint14安装在一个硬盘上，另外三个安装在第二个硬盘上，整个机器由Linux mint 15的GRUB2来负责引导，最近想从GRUB2的启动菜单中删除winXP与linux mint14的启动选项，发现GRUB2不能直接编辑配置文件，否则可能导致无法引导，经过一番搜索才知道原来GRUB2的菜单由/etc/grub.d/30_os-prober脚本动态搜索系统生成，于是我将winXP系统分区下的一些引导文件以及linux mint14 /boot目录下的文件全部删除(如果移动系统文件同样也没问题)，再使用sudo update-grub重新生成启动菜单即可。</span><br /><div></div><img src ="http://www.cppblog.com/mikesheng/aggbug/203949.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/mikesheng/" target="_blank">LLVM</a> 2013-10-29 16:17 <a href="http://www.cppblog.com/mikesheng/archive/2013/10/29/203949.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>