|
ww111222
中级用户
  
积分 354
发帖 83
注册 2003-3-23
状态 离线
|
『楼 主』:
[求助] SATA硬盘上启动GRUB4DOS,结果E文提示
使用 LLM 解释/回答一下
在 以前的 IDE 硬盘上 都正常,
联想品牌机, SATA硬盘, 在BIOS里 已经设置为:
SATA mode : Legacy IDE
联想 扬天 T5900V,
硬盘:WD800BD
C: 40G NTFS 主分区
d: 30G NTFS
e: 3G FAT32
F: 7G FAT32 主分区
GRUB4DOS 在 F盘
特别备注: 这是从 网上下载的 一键还原 程序, 在别的 IDE 硬盘上已经用了2个多月了,
而且同时 装机 IDE 正常 ,SATA不正常
这是 menu.lst的内容
find --set-root /boot/grub/menu.lst
#以上命令为手工加载菜单时准备
default 0
timeout 2
#splashimage /Boot/Grub/Splash.gz
#foreground ffff00
fontfile /Boot/Grub/Fonts.gz
#cdrom --init
title 一键还原系统
map --mem /Boot/IMG/OneKeygh/ghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
title 启动Micro PE
chainloader /Boot/WXPE/LDRXPE
boot
title 重新启动计算机,恢复正常引导
map --mem /Boot/img/reboot.ima (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
title 关闭计算机
halt
我要启动 一键还原系统
结果提示:
map --mem /boot/img/onekeygh/ghost.img (fd0)
Warning: unreognized 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: unreognized 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 ]
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 ]
|
|
2008-4-14 22:24 |
|
|
fs999
初级用户
 
积分 24
发帖 11
注册 2006-3-8
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
你的分区情况如何? FAT ? or NT ? 多大的分区?
What is your partition situation? FAT? or NT? What's the size of the partition?
|
|
2008-4-14 23:03 |
|
|
ww111222
中级用户
  
积分 354
发帖 83
注册 2003-3-23
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
联想 扬天 T5900V,
硬盘: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 ]
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 ]
|
|
2008-4-14 23:06 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
如果你很在乎,就干脆用微软的 fdisk 和 format 把这个盘做掉,再安装 grub 就好了。你也可以不理会这个警告。
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.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2008-4-14 23:30 |
|
|
ww111222
中级用户
  
积分 354
发帖 83
注册 2003-3-23
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2008-4-14 11:30 PM:
如果你很在乎,就干脆用微软的 fdisk 和 format 把这个盘做掉,再安装 grub 就好了。你也可以不理会这个警告。
谢谢不点大侠,
不行呀,
它现在是 不启动那个IMG文件, 而是 直接重新启动了,
导致的结果是 循环 启动
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
|
|
2008-4-14 23:39 |
|
|
fs999
初级用户
 
积分 24
发帖 11
注册 2006-3-8
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
会不会 由于你的 img 是基于 fat 格式的,而你的是NTFS 格式的并且已经超过 32G
造成无法启动 ghost.img (fd0) 呢? (我是新手不要笑我啊 )
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)
|
|
2008-4-15 00:33 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
看来分区表真的影响了grub,你只能重建它了。用 win98 或者 winme 的 FDISK 来做。最好是 winme 的,因为 winme 的 fdisk 支持大于 32G 的分区。当然,事先要备份所有的数据。
进入 DOS 后用 FDISK 来做,注意不要弄错了盘,把你的其他盘毁掉了。
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.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2008-4-15 08:52 |
|
|
fujianabc
金牌会员
     
积分 3467
发帖 1616
注册 2004-6-21
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
楼主碰到了所谓的“分区表不良“问题,也就是windows可以识别分区表,而grub不能识别,除了fdisk重建外,也可以手动改分区表修复。
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.
|
|
2008-4-15 10:39 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by fujianabc at 2008-4-15 10:39:
楼主碰到了所谓的“分区表不良“问题,也就是windows可以识别分区表,而grub不能识别,除了fdisk重建外,也可以手动改分区表修复。
有没有具体的修改实例供参考?
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?
|

Windows 一键还原
http://www.yjhy.com |
|
2008-4-15 10:53 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
有人在使用gghost时就碰到了类似问题。
windows下显示有3个分区,dos下ghost只能识别2个分区。
后来格式化了一下那个不能识别分区,就可以了。
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.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-4-15 10:56 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
是的,配合下面的办法试试。
1. 截获分区表(即MBR一个扇区),最好截获 63 个扇区或者更多。存入一个文件,比如叫做 mymbr
2. 用 bootlace mymbr 来试图把 grldr 的引导代码装入这个 mymbr 文件中,此时,由于 mymbr 中的分区表有问题,所以,你会得到出错信息。
3. 手动用十六进制编辑器修改 mymbr 中的分区表,并保存。你当然得会改才行,其实这个不容易。一般你只能修改四个分区表项中每个分区结尾的 CHS 值,别的不能随便动。
4. 再次运行 bootlace mymbr ,看看是否出错,如果不再出错,你就可以把这个分区表复制到你的相应的真实硬盘上了。如果仍然出错,你再返回到第 3 步。
=========
重要补充:你的硬盘应该是支持 LBA 的,如果是这样的话,你就没必要改了,改了也没多大用。因为对于支持 LBA 的磁盘,grub 是能够良好运行的。楼主的问题可能是 IMG 文件的制作不良所带来的问题。
Last edited by 不点 on 2008-4-15 at 11:17 AM ]
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 ]
|

因为我们亲手创建,这个世界更加美丽。 |
|
2008-4-15 11:05 |
|
|
ww111222
中级用户
  
积分 354
发帖 83
注册 2003-3-23
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by 不点 at 2008-4-15 11:05 AM:
是的,配合下面的办法试试。
1. 截获分区表(即MBR一个扇区),最好截获 63 个扇区或者更多。存入一个文件,比如叫做 mymbr
2. 用 bootlace mymbr 来试 ...
我在 BIOS 里 已经设置 SATA 为 IDE 模式了,但还是不行
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
|
|
2008-4-15 14:04 |
|