如何设置 boot.ini 中的分区号?

[复制链接]
查看11 | 回复4 | 2005-10-30 17:05:33 | 显示全部楼层 |阅读模式
这个区高手众多, 人气旺, 所以也贴在这里.

我在笔记本上安装了windows 2000中文版和英文版, 都工作正常. 但当我安装完Redhat 后, 发现 Windows 2000 英文版不能启动了. 以下为分区信息:
1, 安装windows 2000
分区如下:
1, 主分区 中文windows 2000
2, 扩展分区
其中 逻辑分区1: 数据盘
逻辑分区 2: 英文windows 2000
扩展分区留有空间给linux
磁盘其他空间留为Linux.
这时, boot.ini 内容为:
default=multi(0)disk(0)rdisk(0)partition(1)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINNT="Microsoft Windows 2000 Professional (English)" /fastdetect
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional (Chinese)" /fastdetect

2, 继续分区安装完linux
分区如下:
1, 主分区 中文windows 2000
2, 扩展分区
其中 逻辑分区 1: 数据盘
逻辑分区 2: 英文windows 2000
逻辑分区 3: Data, FAT32
逻辑分区 4: Data, FAT32
逻辑分区 5: Linux , /home
逻辑分区 6: Linux, /var
3, 主分区 Linux /root
4, 主分区 Linux swap
我使用grub, linux和中文windows 2000都启动正常, 但英文windows 2000不能启动, 说找不到 /system32/ntoskrnl.exe云云.
我确认该文件存在. 问题应该在 boot.ini 中这一句:
multi(0)disk(0)rdisk(0)partition(3)\WINNT="Microsoft Windows 2000 Professional (English)" /fastdetect
该partition id =3 应该指向英文windows 2000的分区, 但由于我继续分区后,改变了分区序号, 所以partition 3 已经指向分区了.
我试着改变该分区号,但是都没成功, 没找到规律. 不知那位大侠知道其中奥秘?
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
应该修改为
...partition(5)...吧。
不确定


回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
I guess maybe rdisk id also need to be changed.
最初由 PondKa 发布
[B]应该修改为
...partition(5)...吧。
不确定

[/B]

回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
Where do you put linux boot record? is it on the first sector of linux partion or on master boot sector? if you put linux boot record on master sector, you wiped out windows boot record, and you have to reinstall everything.
回复

使用道具 举报

千问 | 2005-10-30 17:05:33 | 显示全部楼层
Right now, Linux and Windwos 2000 (English version) works fine, except for the chinese windows 2000.


最初由 jzhou 发布
[B]Where do you put linux boot record? is it on the first sector of linux partion or on master boot sector? if you put linux boot record on master sector, you wiped out windows boot record, and you have to reinstall everything. [/B]
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行