文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > menu.lst减肥
侵权投诉

menu.lst减肥

Ubuntu

升级以后,因为内核版本会更新,但以前的内核版本Ubuntu ,对于已 不再需要返回的启动项, 如果每次开机都出现这么一长串的话,严重影响心情,可通过下述操作为 menu.lst减肥

1. 启动终端,在终端里面输入命令行: sudo vim /boot/grub/menu.lst ,回车后输入你的系统管理员密码
这时弹出会在文本编辑器里面打开一个menu.lst文件,以下是我的部分menu.lst默认启动OS为XP系统,每次系统启动后自动从XP开始启动;

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 3

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=ca95a4f5-ff60-41b0-9332-d1d60c93ffda ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=ca95a4f5-ff60-41b0-9332-d1d60c93ffda

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alt

第1页

你可能喜欢

热门文档

相关文档

  • menu.lst最上面是这样写的

    menu.lst最上面是这样写的_互联网_IT/计算机_专业资料。menu.lst... menu.lst减肥 3页 免费 GRUB的配置文件的menu.l... 3页 免费 Menu Lst ...

  • 非常重要的程序 grldr-menu.lst

    非常重要的程序 grldr-menu.lst_电脑基础知识_IT/计算机_专业资料。非常重要的... menu.lst减肥 3页 免费 menu.lst配置 暂无评价 6页 1下载券...

  • menu.lst

    /CDlinux WLAN advanced V #configfile /CDlinux/boot/menu.lst kernel (hd0... menu.lst减肥 3页 免费 menu 2页 免费 Grub4dos菜单文件menu.l... 3页 ...

  • Grub4dos菜单文件menu.lst详解

    Grub4dos菜单文件menu.lst详解 - 电脑数码 - 八通社区 以下是一个menu.lst的例子,我们通过这个例子来学习grub4dos菜单文件的编写与修改,然后我们就可以修改基于grub...

  • Menu Lst 文件详解

    Menu Lst 文件详解_IT/计算机_专业资料。Menu Lst 文件详解default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title Red Hat ...

  • menu.lst配置

    menu.lst配置_计算机硬件及网络_IT/计算机_专业资料。menu.lst配置... menu.lst减肥 3页 免费 grub中的menu.lst示例(支... 2页 免费 Grub4dos...

  • grub menu.lst 命令索引 命令解释

    grub menu.lst 命令索引 命令解释_IT/计算机_专业资料。grub menu.lst 命令索引 命令解释 blocklist 用法: 用法: blocklist FILE 描述: 描述: 输出文件的块清单...

  • GRUB的配置文件的menu.lst的写法

    那就创建一个;用下面的命令; 然后我们再做一个/boot/grub/menu.lst 的链接 /boot/grub/grub.conf [root@localhost ~]# ln -s menu.lst grub.conf 现在...

  • grub中的menu.lst示例(支持ISO文件直接仿真启动)

    grub中的menu.lst示例(支持ISO文件直接仿真启动)_IT/计算机_专业资料。grub中的menu.lst示例(支持ISO文件直接仿真启动)### 本文件由“☆松叶落☆”制作 QQ:★...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email