Grub引导双硬盘的XP(搞定)
时间:2006-12-22
来源:互联网
新盘做的主盘...因为数据线不够长..不然就得拆硬盘换位置.....
新盘加了以后用spfdisk引导不起来了,没办法只好改用grub,但是还是只能引导Gentoo.....XP总是引导不起来,一选就跳到了grub的命令行界面.
两块硬盘四个主分区,两块硬盘上都有windows..
要修改那些地方才能正常启动啊?我试着修改过boot.ini,好像不管用
作者: txl263 发布时间: 2006-12-22
你的windows在哪个分区?
这种信息还需要人提醒才提供么?
作者: zhllg 发布时间: 2006-12-22
作者: txl263 发布时间: 2006-12-22
作者: zhllg 发布时间: 2006-12-22
作者: txl263 发布时间: 2006-12-22
rootnoverify (hd0,0)
makeactive
chainloader +1
作者: txl263 发布时间: 2006-12-22
rootnoverify (hd1,0)?
作者: zhllg 发布时间: 2006-12-22
作者: txl263 发布时间: 2006-12-22
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
我用ghost做的,是不是需要把rdisk(0)改成1?
作者: txl263 发布时间: 2006-12-22
您可以用grub的map来指令来操作把两块硬盘的序列对调,这样就不用在BIOS中设置了;在menu.lst中加如下的内容,比如下面的;
title WinXp
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,0)
chainloader +1
makeactive
貌似这样就不用改 rootnoverify (hd0,0) 和boot.ini了吧.....需要回家试验一下
还有
如果有多个Windows 系统,怎么才能引导出来呢?应该用hide 和unhide指令操作;比如我们安装了两个Windows ,一个是位于(hd0,0)的windows 98 ,另一个是安装的是位于(hd0,1)的WindowsXP;这时我们就要用到hide指令了;
title Win98
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1
makeactive
title WinXP
unhide (hd0,1)
hide (hd0,0)
rootnoverify (hd0,1)
chainloader +1
makeactive
作者: txl263 发布时间: 2006-12-22
作者: txl263 发布时间: 2006-12-24
info里就有,敲上面的命令
作者: zhllg 发布时间: 2006-12-24
作者: txl263 发布时间: 2007-01-21
http://www.linuxsir.org/main/?q=node/130
是这么写的
default=0 timeout=3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title Red Hat Linux (2.4.18-14) root (hd0,0) kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ initrd /boot/initrd-2.4.18-14.img title Microsoft Windows XP map (hd0) (hd1) map (hd1) (hd0) root (hd1,0) chainloader (hd1,0)+1 makeactive boot
作者: txl263 发布时间: 2007-01-21
default 0 timeout 30 splashimage=(hd1,1)/boot/grub/splash.xpm.gz # For booting GNU/Linux map title GentooLinux-2.6.19-gentoo-r1 root (hd1,1) kernel /boot/vmlinuz-2.6.19-gentoo-r1 root=/dev/sdb2 real_root=/dev/sdb2 vga=791 s plash=silent CONSOLE=/dev/tty1 #initrd /initrd.img #initrd /boot/splash-livecd-2005.1-1024x768 # For booting Windows NT or Windows95 title Windows XP map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) makeactive chainloader +1 # For loading DOS if Windows NT is installed title Windows VISTA rootnoverify (hd0,0) makeactive chainloader +1 # For loading DOS if Windows NT is installed
作者: txl263 发布时间: 2007-01-21
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28