这是我的完整的menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,7)
# kernel /vmlinuz-version ro root=/dev/sda10
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,7)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,7)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=9bec2287-2de4-4252-962f-8e1a5d78f942 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
title WindowXP
rootnoverify (hd0,0)
chainloader +1
微宝贝 于 2009-06-10 12:24:44发表:
[i=s] 本帖最后由 微宝贝 于 2009-6-10 12:26 编辑 [/i]
这是一个完整的menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# general configuration:
timeout 5 //超时时间
default 0 //这是默认启动的编号设置,我的默认是0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux //这是我的电脑默认启动 编号0
title Arch Linux
root (hd0,8)
kernel /vmlinuz26 root=/dev/sda10 ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,8)
kernel /vmlinuz26 root=/dev/sda10 ro
initrd /kernel26-fallback.img
# (2) Windows //windows的编号在这里
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
[zhh_arch@arch ~]$
微宝贝 于 2009-06-10 18:47:16发表:
default 那一行你应该该为1 。看上面我的例子。
尤其是红字部分
,,,,,
fanglk8899 于 2009-06-10 14:37:32发表:
大家帮忙解答一下谢谢啦
fanglk8899 于 2009-06-10 13:25:33发表:
这是我的完整的menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,7)
# kernel /vmlinuz-version ro root=/dev/sda10
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,7)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,7)
kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=9bec2287-2de4-4252-962f-8e1a5d78f942 rhgb quiet
initrd /initrd-2.6.27.5-117.fc10.i686.img
title WindowXP
rootnoverify (hd0,0)
chainloader +1
微宝贝 于 2009-06-10 12:24:44发表:
[i=s] 本帖最后由 微宝贝 于 2009-6-10 12:26 编辑 [/i]
这是一个完整的menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,1)
# /dev/sda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# for more details and different resolutions see
# http://wiki.archlinux.org/index.php/GRUB#Framebuffer_Resolution
# general configuration:
timeout 5 //超时时间
default 0 //这是默认启动的编号设置,我的默认是0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux //这是我的电脑默认启动 编号0
title Arch Linux
root (hd0,8)
kernel /vmlinuz26 root=/dev/sda10 ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,8)
kernel /vmlinuz26 root=/dev/sda10 ro
initrd /kernel26-fallback.img
# (2) Windows //windows的编号在这里
title Windows
rootnoverify (hd0,0)
makeactive
chainloader +1
[zhh_arch@arch ~]$
fanglk8899 于 2009-06-10 11:24:09发表:
[i=s] 本帖最后由 fanglk8899 于 2009-6-10 13:30 编辑 [/i]
我在gurb.efi 找到了第一张图片的相关内容。但不知道怎么改。
fanglk8899 于 2009-06-10 11:22:10发表:
刚进入系统就第一张图片。就进fc10 。正常的话就直接第三张图片,为什么前面还多出现了这两个选择呢?
Itatmn 于 2009-06-10 11:16:39发表:
修改 /boot/grub/menu.lst 文件
在 root 权限下打开 /boot/grub/menu.lst 文件或 /boot/grub/grub.conf 文件,找到 default 这一行,其后面的数字代表了默认启动的操作系统的编号(从 0 开始编号),将这个数字改成你想要默认启动的操作系统编号就可以了。假如你的 Linux 是 0 号,Windows 是 1 号,那么就把 default 后面的数字改成 1 就可以了。
Itatmn 于 2009-06-10 11:15:01发表:
改default