[问题]双启动问题!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 5
- 注册时间: 2007-01-17 0:33
[问题]双启动问题!
先是在一块硬盘里安装了XP在第一个分区,然后拔掉插上另一块硬盘安装了UBUNTU。再把原来安装XP的硬盘插上设为从盘。请问如何才能搞个双启动的菜单出来?现在我要启动XP只能进CMOS里设置才能进。谢谢各位!!
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 955
- 注册时间: 2006-12-18 17:04
- 来自: 福建泉州
-
- 帖子: 5
- 注册时间: 2007-01-17 0:33
就是第一个IDE口接现在安装UBUNTU的这块硬盘,第二个IDE口接安装XP的那块硬盘。我试了上面的方法,好像启动不起来。我把menu.lst贴上来,看看是那里错了。
## lockold=true
# lockold=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
boot
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
chainloader +1
### END DEBIAN AUTOMAGIC KERNELS LIST
## lockold=true
# lockold=false
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## ## End Default Options ##
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda2 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot
title Ubuntu, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet
boot
title Windows NT/2000/XP (loader)
root (hd1,0)
savedefault
chainloader +1
### END DEBIAN AUTOMAGIC KERNELS LIST
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
重装grub,把grub安装在ext3所在分区,然后让ubuntu所在的硬盘通过ntloader 去引导ubuntu
再在bios中设定ubuntu所在的硬盘引导系统
修改ubuntu所在硬盘的boot.ini,加入xp所在硬盘的xp 选项,
这样处理后:就可以通过ubuntu所在的硬盘的ntloader引导两块硬盘中的所有系统
以后不怕重装xp,也不怕再在任何一块硬盘上安装xp或vista ,不用再拔掉硬盘也不会出任何问题
如果再boot目录中加入dos启动相关映像,同时修改 menu.list,这样处理后用ghost备份这两个系统也非常方便
如何用ntloader 引导 ubuntu 的具体做法可参考安装版块的置顶帖。如何修改boot.ini,google一下
再在bios中设定ubuntu所在的硬盘引导系统
修改ubuntu所在硬盘的boot.ini,加入xp所在硬盘的xp 选项,
这样处理后:就可以通过ubuntu所在的硬盘的ntloader引导两块硬盘中的所有系统
以后不怕重装xp,也不怕再在任何一块硬盘上安装xp或vista ,不用再拔掉硬盘也不会出任何问题
如果再boot目录中加入dos启动相关映像,同时修改 menu.list,这样处理后用ghost备份这两个系统也非常方便
如何用ntloader 引导 ubuntu 的具体做法可参考安装版块的置顶帖。如何修改boot.ini,google一下
no security measure is worth anything if an attacker has physical access to the machine