LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 962|回复: 6

menu.lst 要启动WINDOWS,菜单要怎么写?

[复制链接]
发表于 2009-4-16 12:46:33 | 显示全部楼层 |阅读模式
大家能提供一下吗?谢了。
 楼主| 发表于 2009-4-16 12:49:54 | 显示全部楼层
title 【01】启动 主硬盘主分区操作系统
rootnoverify (hd1,0)
makeactive
chainloader +1

这样写有问题吗?
回复 支持 反对

使用道具 举报

发表于 2009-4-16 12:51:27 | 显示全部楼层
我的:
  1. default                0
  2. timeout                30
  3. color cyan/blue white/blue
  4. ## ## End Default Options ##
  5. title                Debian GNU/Linux, kernel 2.6.26-2-amd64
  6. root                (hd0,2)
  7. kernel                /vmlinuz-2.6.26-2-amd64 root=/dev/sda7 vga=773 ro quiet
  8. initrd                /initrd.img-2.6.26-2-amd64
  9. title                Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
  10. root                (hd0,2)
  11. kernel                /vmlinuz-2.6.26-2-amd64 root=/dev/sda7 ro single
  12. initrd                /initrd.img-2.6.26-2-amd64
  13. title                Debian GNU/Linux, kernel 2.6.26-1-amd64
  14. root                (hd0,2)
  15. kernel                /vmlinuz-2.6.26-1-amd64 root=/dev/sda7 ro quiet
  16. initrd                /initrd.img-2.6.26-1-amd64
  17. title                Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
  18. root                (hd0,2)
  19. kernel                /vmlinuz-2.6.26-1-amd64 root=/dev/sda7 ro single
  20. initrd                /initrd.img-2.6.26-1-amd64
  21. ### END DEBIAN AUTOMAGIC KERNELS LIST
  22. # This is a divider, added to separate the menu items below from the Debian
  23. # ones.
  24. title                Other operating systems:
  25. root
  26. # This entry automatically added by the Debian installer for a non-linux OS
  27. # on /dev/sda1
  28. title                Microsoft Windows XP Professional
  29. root                (hd0,0)
  30. savedefault
  31. makeactive
  32. chainloader        +1
复制代码

我的win在sda1和sda5,你是前几天问两个硬盘的吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-16 13:03:01 | 显示全部楼层
title                Microsoft Windows XP Professional
root                (hd0,0)
savedefault
makeactive
chainloader        +1

写了,提示filesystem type unknown,partition type 0x7
回复 支持 反对

使用道具 举报

发表于 2009-4-16 15:59:26 | 显示全部楼层
你问的问题太。。。,都没有说清楚嘛,首先,是一个硬盘还是两个硬盘,winxp位于哪个分区?这样才能

Post by yoxu;1975230
title                Microsoft Windows XP Professional
root                (hd0,0)
savedefault
makeactive
chainloader        +1

写了,提示filesystem type unknown,partition type 0x7


root 句,改下就好了,
没有必要写上 savedefault,
回复 支持 反对

使用道具 举报

发表于 2009-4-16 20:05:41 | 显示全部楼层
楼主先把分区布局贴出来看看吧
回复 支持 反对

使用道具 举报

发表于 2009-4-16 20:14:22 | 显示全部楼层
楼主知道google吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表