中国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 05:41
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Help] When booting GRUB4DOS on a SATA hard drive, the result is an English prompt
Printable Version  2,366 / 11
Floor1 ww111222 Posted 2008-04-14 22:24
中级用户 Posts 83 Credits 354
Previously, it was normal on IDE hard drives.

For a Lenovo branded computer, a SATA hard drive, in the BIOS it has been set as:

SATA mode : Legacy IDE

Lenovo Yangtian T5900V,

Hard drive: WD800BD

C: 40G NTFS primary partition
D: 30G NTFS
E: 3G FAT32
F: 7G FAT32 primary partition

GRUB4DOS is on drive F:

Special note: This is a one-key restore program downloaded from the internet, and it has been used for more than two months on other IDE hard drives,

Moreover, at the same time, when installing, the IDE is normal and the SATA is abnormal



This is the content of menu.lst

find --set-root /boot/grub/menu.lst
#The above command is prepared for manual loading of the menu

default 0
timeout 2

#splashimage /Boot/Grub/Splash.gz
#foreground ffff00
fontfile /Boot/Grub/Fonts.gz
#cdrom --init

title One-key restore system
map --mem /Boot/IMG/OneKeygh/ghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot



title Boot Micro PE
chainloader /Boot/WXPE/LDRXPE
boot


title Restart the computer to restore normal boot
map --mem /Boot/img/reboot.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot


title Shutdown computer
halt




I want to start the one-key restore system

The result prompts:

map --mem /boot/img/onekeygh/ghost.img (fd0)

Warning: unrecognized partition table for drive 80. Please rebuild it using
a microsoft-compatible FDISK tool(err=7). Current C/H/S=16383/255/63
FAT16 BPB found with 0xEB (jmp) leading the boot sector.

Warning: BPB total_sectors(17280) is greater than the number of sectors in the
whole disk image (17220). The int13 handler will disable any read/write operations
across the image boundary. That means you will not be able to read/write sectors
(in absolute address, i.e., lba) 17220-17279, though they are logically inside your
file system.

probed C/H/S = 240/2/36, probed total sectors = 17280

floppies_orig=0, harddrives_orig=1, floppies_curr=1, harddrives_curr=1
mpa --hook
chainloader (fd0)+1
rootnoverify (fd0)

Warning: unrecognized partition table for drive 80. Please rebuild it using
a microsoft-compatible FDISK tool(err=7). Current C/H/S=16383/255/63

root


[ Last edited by ww111222 on 2008-4-14 at 11:19 PM ]
Floor2 fs999 Posted 2008-04-14 23:03
初级用户 Posts 11 Credits 24
What is your partition situation? FAT? or NT? What's the size of the partition?
Floor3 ww111222 Posted 2008-04-14 23:06
中级用户 Posts 83 Credits 354
Lenovo ThinkCentre T5900V,

Hard disk: WD800BD

C: 40G NTFS
D: 30G NTFS
E: 3G FAT32
F: 7G FAT32

[ Last edited by ww111222 on 2008-4-14 at 11:12 PM ]
Floor4 不点 Posted 2008-04-14 23:30
银牌会员 Posts 1,115 Credits 2,491
If you care a lot, just use Microsoft's fdisk and format to wipe this disk, then install grub. You can also ignore this warning.
Floor5 ww111222 Posted 2008-04-14 23:39
中级用户 Posts 83 Credits 354
Originally posted by Budian at 2008-4-14 11:30 PM:
If you care about it very much, just use Microsoft's fdisk and format to wipe this disk, then install grub. You can also ignore this warning.



Thanks, Master Budian,


It doesn't work,


It is not booting that IMG file now, but restarting directly,


The result is a boot loop
Floor6 fs999 Posted 2008-04-15 00:33
初级用户 Posts 11 Credits 24
Could it be that because your img is based on the FAT format, and yours is in NTFS format and exceeds 32G, causing the inability to boot ghost.img (fd0)? (I'm a newbie, don't laugh at me, please)
Floor7 不点 Posted 2008-04-15 08:52
银牌会员 Posts 1,115 Credits 2,491
It seems that the partition table really affected grub, you can only rebuild it. Use FDISK of Windows 98 or Windows ME to do it. It is best to use Windows ME's because Windows ME's FDISK supports partitions larger than 32G. Of course, back up all data in advance.

After entering DOS, use FDISK to do it. Pay attention not to make a mistake with the disk and destroy your other disks.
Floor8 fujianabc Posted 2008-04-15 10:39
金牌会员 Posts 1,616 Credits 3,467
The poster encountered the so-called "bad partition table" problem, that is, Windows can recognize the partition table, but GRUB cannot recognize it. In addition to rebuilding with fdisk, you can also manually modify the partition table to repair it.
Floor9 lianjiang2004 Posted 2008-04-15 10:53
金牌会员 Posts 1,884 Credits 3,946
Originally posted by fujianabc at 2008-4-15 10:39:
The LZ encountered the so-called "bad partition table" problem, that is, Windows can recognize the partition table, but GRUB cannot recognize it. In addition to rebuilding with fdisk, you can also manually modify the partition table to repair it.

Are there any specific modification examples for reference?
Floor10 lianjiang2004 Posted 2008-04-15 10:56
金牌会员 Posts 1,884 Credits 3,946
Someone encountered a similar problem when using gghost. Under Windows, there are 3 partitions displayed, but in DOS, Ghost can only recognize 2 partitions. Later, formatting that unrecognized partition solved the problem.
Floor11 不点 Posted 2008-04-15 11:05
银牌会员 Posts 1,115 Credits 2,491
Yes, try with the following method.

1. Capture the partition table (that is, one sector of the MBR), it is best to capture 63 sectors or more. Save it to a file, for example, called mymbr

2. Use bootlace mymbr to try to load the boot code of grldr into this mymbr file. At this time, because there is a problem with the partition table in mymbr, you will get an error message.

3. Manually modify the partition table in mymbr with a hex editor and save it. Of course, you need to know how to modify it. Actually, this is not easy. Generally, you can only modify the CHS values at the end of each partition in the four partition table entries, and others cannot be changed randomly.

4. Run bootlace mymbr again to see if there is an error. If there is no error, you can copy this partition table to your corresponding real hard disk. If there is still an error, you go back to step 3.

=========

Important supplement: Your hard disk should support LBA. If so, you don't need to modify it, and it won't be of much use if you do. Because for disks that support LBA, grub can run well. The problem of the building owner may be caused by the poor production of the IMG file.

[ Last edited by 不点 on 2008-4-15 at 11:17 AM ]
Floor12 ww111222 Posted 2008-04-15 14:04
中级用户 Posts 83 Credits 354
Originally posted by 不点 at 2008-4-15 11:05 AM:
Yes, try with the following method.

1. Intercept the partition table (that is, one sector of MBR), preferably intercept 63 sectors or more. Save it into a file, for example, called mymbr

2. Try with bootlace mymbr...




I have already set SATA in BIOS to IDE mode, but it still doesn't work
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023