|
longdanie
初级用户
 
积分 45
发帖 15
注册 2005-7-18
状态 离线
|
『楼 主』:
Grub 只能认出硬盘中的前三个分区?
使用 LLM 解释/回答一下
我安装的Grub版本是2007-11-24,我的80G硬盘只有一个主分区(C盘),其余有D、E、F三个逻辑分区;将Grub安装于Mbr之中,正常启动Grub后,在使用文件名自动完成功能时发现F盘没有认出来!Grub的提示为:“ Notice:Number of heads for drive 80 tuned from 240 to 255”。
请问:上述提示表示什么意思?为什么Grub不能识别我的最后一个分区?而在Windows中能够正常识别并使用。是Grub的Bug呢,还是我的Bios太老了,或有Bug?
The version of Grub I installed is 2007 - 11 - 24. My 80G hard disk has only one primary partition (C drive), and there are three logical partitions D, E, F left; I installed Grub in the Mbr. After normal startup of Grub, when using the filename auto - completion function, I found that the F drive was not recognized! The prompt of Grub is: "Notice: Number of heads for drive 80 tuned from 240 to 255".
What does the above prompt mean? Why can't Grub recognize my last partition? But it can be recognized and used normally in Windows. Is it a Grub bug, or is my Bios too old or has a bug?
|
|
2007-11-27 11:36 |
|
|
longdanie
初级用户
 
积分 45
发帖 15
注册 2005-7-18
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
刚才才发现F盘是NTFS格式的,难怪!难道GRUB4DOS只能识别出FAT32格式的分区吗?
I just discovered that the F drive is in NTFS format, no wonder! Does GRUB4DOS only recognize partitions in FAT32 format?
|
|
2007-11-27 18:17 |
|
|
loveheartrain
初级用户
  DOS之迷
积分 174
发帖 81
注册 2007-11-7
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
这到不是,不过象你这样多的分区我还没有试过,我也试80G的硬盘,只分了2个分区,一个主分区FAT32格式2.99GB一个扩展分区NTFS格式,MBR可以正常找到放在NTFS分区的GRLDR并启动.
This is not the case, but I haven't tried having as many partitions as you do. I also tried an 80G hard drive, only divided into 2 partitions, one primary partition in FAT32 format with 2.99GB and one extended partition in NTFS format. The MBR can normally find GRLDR placed in the NTFS partition and boot.
|

愛意之无尽@灵犀!
QQ:71216716 E_mail:l.h.r.@163.com |
|
2007-11-27 21:27 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
在grub命令行执行以下序列:
debug 0x7FFFFFFF
geometry (hd0)
geometry (hd1)
把显示信息抄上来。
Execute the following sequence at the GRUB command line:
debug 0x7FFFFFFF
geometry (hd0)
geometry (hd1)
Copy the displayed information.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-11-27 23:03 |
|
|
longdanie
初级用户
 
积分 45
发帖 15
注册 2005-7-18
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
启动GRUB后进入命令行输入如下命令:
debug 0x7fffffff
geometry (hd0)
GRUB 反馈如下信息:
int13/41 (80), version=AA210005
int13/48 (80), err=0,C/H/S=38325/16/63,Sector Count/Size=156368016/0
int13/08 (80), version=0,C/H/S=55143/255/63
int13/02 (80), err=0,
Warning: MBR cylinders(58590) is not equal to the BIOS one(55143)
Warning: MBR heads(240) is not equal to the BIOS one(255)
Warning: MBR total sectors(885880800) is greater than the BIOS one(885872295)
Some buggy BIOSes could hang when you access sectors exceeding the BIOS limit.
Notice: number of head for dive 80 tuned from 240 to 255
drive 0x80(LBA):C/H/S=58590/255/63,Sector Count/Size=885880800/512
int13/41 (80),version=AA210005
int13/48 (80),err=0,C/H/S=38325/16/63,Sector Count/Size=156368016/0
int13/08 (80),version=0,C/H/S=62252/255/63
int13/02 (80),err=0
Warning: MBR cylinders(66143) is not equal to the BIOS one(62252)
Warning: MBR heads(240) is not equal to the BIOS one(255)
Warning: MBR total sectors(1000082160) is greater than the BIOS one(1000078380)
Some buggy BIOSes could hang when you access sectors exceeding the BIOS limit.
Notice: number of head for dive 80 tuned from 240 to 255
Partition Num:0 File System Type is Fat,0xc
Partition Num:4 File System Type is Fat,0xb
Partition Num:5 File System Type is Fat,0xb
After booting GRUB, enter the following commands in the command line:
debug 0x7fffffff
geometry (hd0)
GRUB feedbacks the following information:
int13/41 (80), version=AA210005
int13/48 (80), err=0,C/H/S=38325/16/63,Sector Count/Size=156368016/0
int13/08 (80), version=0,C/H/S=55143/255/63
int13/02 (80), err=0,
Warning: MBR cylinders(58590) is not equal to the BIOS one(55143)
Warning: MBR heads(240) is not equal to the BIOS one(255)
Warning: MBR total sectors(885880800) is greater than the BIOS one(885872295)
Some buggy BIOSes could hang when you access sectors exceeding the BIOS limit.
Notice: number of head for drive 80 tuned from 240 to 255
drive 0x80(LBA):C/H/S=58590/255/63,Sector Count/Size=885880800/512
int13/41 (80),version=AA210005
int13/48 (80),err=0,C/H/S=38325/16/63,Sector Count/Size=156368016/0
int13/08 (80),version=0,C/H/S=62252/255/63
int13/02 (80),err=0
Warning: MBR cylinders(66143) is not equal to the BIOS one(62252)
Warning: MBR heads(240) is not equal to the BIOS one(255)
Warning: MBR total sectors(1000082160) is greater than the BIOS one(1000078380)
Some buggy BIOSes could hang when you access sectors exceeding the BIOS limit.
Notice: number of head for drive 80 tuned from 240 to 255
Partition Num:0 File System Type is Fat,0xc
Partition Num:4 File System Type is Fat,0xb
Partition Num:5 File System Type is Fat,0xb
|
|
2007-11-28 10:13 |
|
|
longdanie
初级用户
 
积分 45
发帖 15
注册 2005-7-18
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
另外建议,Grub应该有一个抓屏的功能或者显示重定向命令,以方便大家把错误信息贴上来。像我这样一行一行的抄实在太累了!
In addition, it is suggested that Grub should have a screenshot function or a display redirection command, so that everyone can post error messages conveniently. It's too tiring for me to copy line by line!
|
|
2007-11-28 10:17 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
最后一个分区可能已经被 BIOS 保护,使得外部程序不可能访问它。在 google 中搜索 HPA 分区,可找到相关话题。
被 BIOS 保护/隐藏了的分区,GRUB 是无法访问的。
The last partition may have been protected by the BIOS, making it impossible for external programs to access it. Search for "HPA partition" in Google to find relevant topics.
Partitions protected/hidden by the BIOS are not accessible by GRUB.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-11-28 11:27 |
|
|
longdanie
初级用户
 
积分 45
发帖 15
注册 2005-7-18
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我不明白你的话:
最后一个分区可能已经被 BIOS 保护,使得外部程序不可能访问它。
BIOS为什么要保护最后一个分区呢?如果最后一个分区是Fat32格式,它还会保护它吗?我刷了新版的BIOS后,能正常的看到所有的分区,不过我没有使用新版的。
我的BIOS是较老的版本(2001年09月11日的),是Award公司的BIOS,主板厂商的主页上有最新的版本,我没有用最新的版本是基于以下几点原因:
- 最新的BIOS是基于Phonix Award的,不能刷 ROMOS。
- 刷了最新的BIOS后,竟然不能引导硬盘中现存的XP,而老版的BIOS能正常引导。
I don't understand what you said:
The last partition may have been protected by the BIOS, making it impossible for external programs to access it.
Why would the BIOS protect the last partition? If the last partition is in Fat32 format, will it still protect it? After I flashed the new version of the BIOS, I could normally see all partitions, but I didn't use the new one.
My BIOS is an older version (dated September 11, 2001), it's an Award BIOS. The mainboard manufacturer's homepage has the latest version. I didn't use the latest version for the following reasons:
- The latest BIOS is based on Phonix Award and cannot flash ROMOS.
- After flashing the latest BIOS, it couldn't boot the existing XP in the hard disk, while the old version of the BIOS could boot normally.
|
|
2007-11-28 14:50 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
grub4dos 只能借助于 BIOS 才能识别硬盘。如果 BIOS 有 bug,导致实模式的 DOS 无法访问硬盘的最后一个分区,那么 grub4dos 也无法访问。如果实模式下的纯 DOS 可以访问最后一个分区,那么 grub4dos也应该可以访问最后一个分区。如果DOS和grub4dos都不能访问最后一个分区,这说明问题不在于grub4dos,而属于 BIOS的毛病,你也就不用去解决了。在实模式下无法访问硬盘分区,并不影响 Windows/LINUX 对硬盘分区的访问。
这个问题也与分区是什么文件系统无关,而只与 BIOS 有关。
你可以进一步研究一下究竟是不是这样。
grub4dos can only recognize the hard disk with the help of BIOS. If there is a bug in the BIOS that causes the real-mode DOS to be unable to access the last partition of the hard disk, then grub4dos cannot access it either. If the pure DOS in real mode can access the last partition, then grub4dos should also be able to access the last partition. If neither DOS nor grub4dos can access the last partition, it indicates that the problem is not with grub4dos but with the BIOS, and you don't need to solve it. The inability to access the hard disk partition in real mode does not affect the access of Windows/LINUX to the hard disk partition.
This problem is also irrelevant to what file system the partition is and only related to the BIOS.
You can further study whether this is the case.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2007-11-28 17:46 |
|