[问题]双硬盘呀双硬盘,XP呀XP,你要如何才能启动?

各种窗口管理器和美化相关
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

[问题]双硬盘呀双硬盘,XP呀XP,你要如何才能启动?

#1

帖子 yangyang » 2007-05-15 1:59

我的机子,第一个硬盘是STAT,上面装着XP,而另一个硬盘(接到了一张IDE阵列卡上),就是就是第二块,里面是装状Kubuntu,先装的XP,后来在第二块盘子上装了kubuntu,安装时到了最后那个安装GRUB的时候,把GRUB装到了(hd1)上了,就第二块盘上面,然后弄到能进kubuntu,再住K里面改menu.lst,把kubuntu的(hd1,0)改成(hd0,0),最后的XP引导部分(hd0,0)改成(hd1,0)原因就是GRUB它在引导时会把本身认成第一个盘,并且在XP启动部分的root下面,加上了
map (hd0) (hd1)
map (hd1) (hd0),,这两句我并不知道为什么要加上去,是群里的兄弟给的意见,说XP的要加上这个,

结果重启机子,kubuntu能顺利进入,而XP不行,选XP的菜单后,出现了一句"starting up................",然后就光标在下一行跳动,进不了XP

今晚,又大胆的试着把XP里的boot.ini改成rdisk1,结果还是一样

但我的店里面的另一台机子上,是一条IDE线接两个硬盘,k是也是装到了第二个盘上,按上面的方法,是两个系统都能顺利进入的,我就纳闷了 :(

双硬盘呀双硬盘,XP呀XP,你要如何才能启动?

请大家帮帮忙了,特别谢谢的!!
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#2

帖子 yangyang » 2007-05-15 12:41

高手帮我
huafirefox
帖子: 18
注册时间: 2007-04-17 19:26

#3

帖子 huafirefox » 2007-05-15 13:51

什么都不用改在GRUB里编辑就行了,Esc---E---E---Enter---save
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#4

帖子 yangyang » 2007-05-15 17:53

???楼上的兄弟说说,要怎么弄呀???


什么都不用改???

我是搞了很久还搞不好的呀~~~
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#5

帖子 yysq009 » 2007-05-15 17:57

他的意思是说,只要在GRUB里面 修改 引导参数就可以了。
不行的话 去看看GRUB说明吧! 我==去看看我的GRUB启动XP的信息。。等下帖过来!

title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

好像 只要修改红色区域就可以了!!!!确定下你的XP的位置吧!

Do as you would be done by !
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#6

帖子 yangyang » 2007-05-15 18:41

嗯,我的XP是在第一个硬盘的第一个分区!!

是不是把
map (hd0) (hd1)
map (hd1) (hd0)

去掉就可以了??

我的XP是
root (hd1,0)
没错吧,是第一个硬盘,但是,GRUB会认成每二个硬盘啊,就应该是(hd1,0)吧??
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#7

帖子 nihui » 2007-05-15 18:52

第一块硬盘的第一个分区是“hd0,0” :?
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#8

帖子 yangyang » 2007-05-15 20:03

楼上的,你是不是没有看好我的发的贴子呀??

哎呀,还是不行,那两行
map ^^^^去掉也是一样,启动XP时就出现
starting up ...
然后光标在下面闪!!!


难道只有我才会有这种情况么?下面这个是我的xorg.conf

# 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 change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## 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=666923d4-1d4a-4183-a2a8-ea1e2849471d ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

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

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

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash noapic

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## 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.20-15-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=666923d4-1d4a-4183-a2a8-ea1e2849471d ro quiet splash noapic
initrd /boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=666923d4-1d4a-4183-a2a8-ea1e2849471d ro single
initrd /boot/initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
savedefault
chainloader +1

就算我把
map (hd0) (hd1)
map (hd1) (hd0)
去掉也是不行的,可是我不明白我另一台机子怎么就可以!!!
请各位大大帮忙看看吧,真的是搞了很多天的了,到现在还没有解决!!
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#9

帖子 yangyang » 2007-05-16 10:35

帮我呀~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
头像
tommy007
帖子: 1352
注册时间: 2007-02-18 0:42

#10

帖子 tommy007 » 2007-05-16 20:08

你要启动哪个硬盘的xp?2个xp的引导原来是不是写在一起的? 你XP引导往哪写的就让grub指向哪。

那个XP是在什么样的情况下安装的,就会决定引导往哪里写。
大概就是:一块硬盘的情况下装的?两块硬盘的情况下装的话,哪个盘作为启动盘。 装的时候有没有raid卡之类的(这一点不确定)

而且你说接到阵列卡上,没组raid?

第一个硬盘第一个分区(hd0,0),= =~~LZ慢慢研究。闪。

ps:
觉得grub麻烦死了的话,就导出linux的mbr,找个xp光盘,进故障控制台 fixmbr一下。
然后把linux的mbr文件丢入xp启动分区,写一行到boot.ini算是搞定。。。

附上我的boot.ini
linux.bot就是用dd命令导出的mbr.. ,由于我系统装在xfs分区,没有独立一个ext3的/boot分区,所以用lilo和这个办法。Grub不认xfs真是@#$%....

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\Windows
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\Windows="Windows Fundamentals for Legacy PCs" /FASTDETECT
c:\linux.bot="KUBUNTU 6.06 LTS"
c:\bootgrub="GRUB"
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

#11

帖子 donny » 2007-05-16 22:10

你装7。04。自然会帮你搞定GRUB启动问题
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#12

帖子 yangyang » 2007-05-17 0:28

谢谢上面两位,我是Kubuntu7.04,

对,我再说一下吧,我的每一个硬盘(STAT)上面,装的是XP,就在第一个分区上,
第二个盘(120G)跟第三个盘(80G)都是IDE,接在阵列卡上,但是我并没有做RAID,然后,我的KUBUNTU是安装到了120G的这个IDE上面的,XP先前已经是安装好的了,后来装了个KUBUNTU,然后装到最后的时候,我用的是install cd装的,安装到最后部分时,是提示说我的系统里面装了XP的系统并提示说要装GRUB,我选否了,要选"是"的话,安装程序是默认会安装到第一个盘子上的,我选"否"后,然后把安装的盘指定成(hd1),就是说,GRUB是安装到第二个硬盘的MBR上了,这是没错的,安装完成后我的KUBUNTU可以启动,但是我的XP不行,就回车后出现
starting up...然后下面光标在闪!
很奇怪,不论我的XP那,改成从(hd0,0)启动或者从(hd1,0)启动都不行,但我的kubuntu是正常的!!
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#13

帖子 yangyang » 2007-05-17 15:07

失望了!
头像
donny
帖子: 335
注册时间: 2005-10-03 15:25

#14

帖子 donny » 2007-05-17 18:51

有可能是因为你没装GRUB原因。你按我BLOG里的方法重新恢复下GRUB试试
还有可能就是,你的主从盘跳线没设置
yangyang
帖子: 555
注册时间: 2007-03-20 12:50

#15

帖子 yangyang » 2007-05-18 10:27

哦,楼上的,我是有装GRUB的,是装到了每二个盘上面的!!
回复