中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 07:11
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Does Grub only recognize the first three partitions in the hard drive?
Printable Version  1,845 / 8
Floor1 longdanie Posted 2007-11-27 11:36
初级用户 Posts 15 Credits 45
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?
Floor2 longdanie Posted 2007-11-27 18:17
初级用户 Posts 15 Credits 45
I just discovered that the F drive is in NTFS format, no wonder! Does GRUB4DOS only recognize partitions in FAT32 format?
Floor3 loveheartrain Posted 2007-11-27 21:27
初级用户 Posts 81 Credits 174
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.
Floor4 不点 Posted 2007-11-27 23:03
银牌会员 Posts 1,115 Credits 2,491
Execute the following sequence at the GRUB command line:

debug 0x7FFFFFFF
geometry (hd0)
geometry (hd1)

Copy the displayed information.
Floor5 longdanie Posted 2007-11-28 10:13
初级用户 Posts 15 Credits 45
After booting GRUB, enter the following commands in the command line:


GRUB feedbacks the following information:
Floor6 longdanie Posted 2007-11-28 10:17
初级用户 Posts 15 Credits 45
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!
Floor7 不点 Posted 2007-11-28 11:27
银牌会员 Posts 1,115 Credits 2,491
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.
Floor8 longdanie Posted 2007-11-28 14:50
初级用户 Posts 15 Credits 45
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.
Floor9 不点 Posted 2007-11-28 17:46
银牌会员 Posts 1,115 Credits 2,491
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.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023