免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2264 | 回复: 3
打印 上一主题 下一主题

menu.lst可否直接修改默认启动项,我修改后报分区信息错误,内详 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-30 16:23 |只看该作者 |倒序浏览
linux-wcs:~ # lsb_release -a
LSB Version:    core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description:    SUSE Linux Enterprise Server 10 (i586)
Release:        10
Codename:       n/a

linux-wcs:~ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on 二  5月 13 04:06:48 UTC 2008
color white/blue black/light-gray
default
timeout 3
gfxmenu (hd0,9)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Server 10
    root (hd0,9)
    kernel /vmlinuz root=/dev/sda11 vga=791  resume=/dev/sda3  splash=silent showopts
    initrd /initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Server 10
    root (hd0,9)
    kernel /vmlinuz root=/dev/sda11 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /initrd
linux-wcs:~ #

想修改成默认启动Windows系统,可否直接修改,谢谢!

[ 本帖最后由 bird918 于 2008-6-30 16:25 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-06-30 16:27 |只看该作者
可以直接在default后面加数字就可以了

论坛徽章:
0
3 [报告]
发表于 2008-06-30 17:28 |只看该作者
原帖由 bird918 于 2008-6-30 16:23 发表
linux-wcs:~ # lsb_release -a
LSB Version:    core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.1-ia ...


0 or 1

论坛徽章:
0
4 [报告]
发表于 2008-06-30 17:31 |只看该作者
/boot/grub/menu.lst
/boot/grub/grub.conf根本就是一个文件
链接而已 。你可以更改随便一个。网上介绍的这俩个的都适用
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP