|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 31 楼』:
使用 LLM 解释/回答一下
现在基本可以肯定可以和GHOST结合转换盘符,
我现在机器上的AUTOEXEC 和 CONFIG.SYS 好象都有错误!能否贴出你呢?
Now it can basically be confirmed that the drive letter can be converted in combination with GHOST. The AUTOEXEC and CONFIG.SYS on my current machine seem to have errors! Can you post yours?
|
|
2007-4-17 13:02 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
|
2007-4-17 13:06 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 33 楼』:
使用 LLM 解释/回答一下
几位好啊, 能运行了就好...
我刚发现有个极其奇怪的代码编译的问题, 百思不得其解....一样的代码,却有两种不同的结果,有点怀疑编译器....
晚了, 明天再解决....
各位也辛苦了, 休息吧...
Hello everyone, it's good that it can run...
I just found an extremely strange problem with code compilation, and I can't figure it out... The same code has two different results, and I'm a bit suspicious of the compiler....
It's late, I'll solve it tomorrow....
You all have worked hard too, rest well...
|
|
2007-4-17 13:14 |
|
|
0451lym
高级用户
   
积分 760
发帖 357
注册 2005-10-10
状态 离线
|
|
2007-4-17 13:16 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
|
2007-4-17 13:39 |
|
|
llztt1
中级用户
  
积分 214
发帖 94
注册 2007-1-11
状态 离线
|
『第 36 楼』:
使用 LLM 解释/回答一下
我们三个对GHOST的自动批处理一直很有兴趣,只是一直苦于找到一款稳定通用精小的可准确分析加载IFS后盘符为GHOST所需X:Y分区格式的软件,现在GOTOmsdos这个修改版本才60多K,加载速度也很快,够精致的了,如果完善一下就很完美了
1、能正确加载IFS后的盘符,这是自动批处理GHOST的关键,实现盘符和X:Y格式的正确转换(DOS对NTFS的支持我的意见是用IFS,可读可写中文支持好还支持EXT分区?,NTFSPRO还差一点的,当然兼而有之最好了,呵呵)
2、如果在TODISK分析出的分区信息中加上一列直接是GHOST的X:Y分区格式就更方便了,呵呵,不用批处理去刻意计算,当然如果代价太大,譬如代码增大太多,那就不要也巴(加上一句,如果方便也加上一列是GRUB的X:Y分区格式,呵呵)
3、如果2的建议不成,请务必顺序排列分区先后顺序,因为需要批处理去分析TODISK生成的分区信息计算得出X:Y,所以这个顺序是不能有差错的
4、TODISK生成的各种信息的在文本上的绝对位置更固定一下更精确一下,因为批处理分析这些信息时是用绝对的位置数定位的,不能允许有变动的。譬如START对应的扇区开始数,那个宽度够不够,是否会碰上更大扇区而变宽,以及现在看来激活的*和隐藏的*都没有对齐最顶层的A和H。(LABEL也回否有变宽问题,建议把LABEL放在最后)
5、能否加一列显示剩余空间,当然同2建议一样,如果代价太大,就放弃
以上是自动批处理GHOST的要求,下面关于恢复备份MBR DBR的,乱提的
1、其实我也不懂,VISTA据说在MBR的哪8个字节里动了手脚,用FDISK等工具修复的MBR是不能启动VISTA的,可否把VISTA的MBR和NT的MBR都集成到TODISK里,做个参数随时还原回去,当然这里MBR应该是狭义的不包含硬盘分区表的MBR。乱提议的,呵呵
2、WINIMAGE有个BOOTPART可以恢复NT的DBR好像是,不知TODISK可否参考一下
TODISK本身就是个还原备份工具,却被我们几个用来分析分区信息用,这哪里是提建议,直接是量身定做衣服了,冒犯之处请见谅了
We three have always been very interested in the automatic batch processing of GHOST, but we have been struggling to find a stable, general-purpose, and compact software that can accurately analyze the partition format of X:Y required by GHOST after the IFS is loaded. Now the modified version of GOTOmsdos is only more than 60K, and the loading speed is also very fast, which is quite compact. It would be perfect if it is improved.
1. Correctly loading the drive letters after IFS is loaded is the key to the automatic batch processing GHOST, and realizing the correct conversion of drive letters and X:Y format. (Regarding DOS support for NTFS, my opinion is to use IFS, which has good Chinese support for reading and writing and also supports EXT partitions? NTFSPRO is still a bit worse, of course, it is best to have both, hehe)
2. If a column of the partition information analyzed by TODISK that is directly in the X:Y partition format of GHOST is added, it will be more convenient, hehe. There is no need to deliberately calculate in the batch processing. Of course, if the cost is too high, such as the code increasing too much, then it is not necessary either. (Add a sentence, if it is convenient, add a column of the X:Y partition format of GRUB, hehe)
3. If the suggestion in 2 is not possible, be sure to arrange the order of the partitions in sequence, because the batch processing needs to analyze the partition information generated by TODISK to calculate X:Y, so this order must not be wrong.
4. Fix the absolute position of various information generated by TODISK in the text more accurately. Because the batch processing analyzes these information by using absolute position numbers for positioning, there must be no changes allowed. For example, the starting sector number corresponding to START, whether the width is enough, whether it will widen when encountering a larger sector, and now it seems that the activated * and hidden * are not aligned with the top-level A and H. (Is there also a problem of widening for LABEL? It is suggested to put LABEL at the end)
5. Can a column be added to display the remaining space? Of course, the same as the suggestion in 2, if the cost is too high, give up.
The above are the requirements for the automatic batch processing GHOST. The following is about restoring the backed-up MBR DBR, which is randomly proposed.
1. Actually, I don't understand either. It is said that VISTA has tampered with 8 bytes in the MBR. The MBR repaired by tools such as FDISK cannot boot VISTA. Can the MBR of VISTA and NT be integrated into TODISK, and a parameter can be used to restore it at any time? Of course, here the MBR should be the MBR that does not include the hard disk partition table in the narrow sense. It is a random proposal, hehe.
2. WINIMAGE has a BOOTPART that can restore the DBR of NT, I think. I wonder if TODISK can refer to it.
TODISK itself is a restore backup tool, but it is used by the few of us to analyze partition information. This is not just giving suggestions, but directly customizing clothes. Please forgive the offense.
|
|
2007-4-17 21:46 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 37 楼』:
使用 LLM 解释/回答一下
Originally posted by llztt1 at 2007-4-17 12:24 PM:
测试25楼版本 , 成功运行
但没有加载IFS后的盘符..
是本身不能加载 , 还是25楼版本被精简掉这一功能??
可以的
TODISK -P -IFS
Originally posted by llztt1 at 2007-4-17 12:24 PM:
Test version 25th floor, successfully run
But there is no drive letter after loading IFS..
Is it that it cannot be loaded itself, or is the function of version 25th floor streamlined??
Yes
TODISK -P -IFS
|
|
2007-4-17 22:11 |
|
|
cchessbd
高级用户
   
积分 525
发帖 222
注册 2006-8-28
状态 离线
|
『第 38 楼』:
使用 LLM 解释/回答一下
不知道程序对未分区的硬盘是怎么处理的?
刚刚在qemu中测试,MTD不能运行。
建议将minitodisk 改下名字,嘿嘿,先帮你改了 ^_^
I don't know how the program handles unpartitioned hard drives?
Just tested in qemu, MTD can't run.
It is suggested to change the name of minitodisk, hehe, I changed it for you first ^_^
|
|
2007-4-18 02:49 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 39 楼』:
使用 LLM 解释/回答一下
1、能正确加载IFS后的盘符,这是自动批处理GHOST的关键,实现盘符和X:Y格式的正确转换(DOS对NTFS的支持我的意见是用IFS,可读可写中文支持好还支持EXT分区?,NTFSPRO还差一点的,当然兼而有之最好了,呵呵)
本来就能加载NTFSPRO/IFS后的盘符
2、如果在TODISK分析出的分区信息中加上一列直接是GHOST的X:Y分区格式就更方便了,呵呵,不用批处理去刻意计算,当然如果代价太大,譬如代码增大太多,那就不要也巴(加上一句,如果方便也加上一列是GRUB的X:Y分区格式,呵呵)
TODISK/MINITO 的分区表示(包括数字表示和盘符)本来就是都和GHOST/NTFSPRO/IFS 完全一致的
4、TODISK生成的各种信息的在文本上的绝对位置更固定一下更精确一下,因为批处理分析这些信息时是用绝对的位置数定位的,不能允许有变动的。譬如START对应的扇区开始数,那个宽度够不够,是否会碰上更大扇区而变宽,以及现在看来激活的*和隐藏的*都没有对齐最顶层的A和H。(LABEL也回否有变宽问题,建议把LABEL放在最后)
显示空间完全足够, 不会超出,各个项目已经是最大值的空间
主分区和隐藏,由于是用星号表示, 所以有意紧靠着,才直观形象
5、能否加一列显示剩余空间,当然同2建议一样,如果代价太大,就放弃
已没有地方给剩余空间了,去掉编号也不够
以上是自动批处理GHOST的要求,下面关于恢复备份MBR DBR的,乱提的
1、其实我也不懂,VISTA据说在MBR的哪8个字节里动了手脚,用FDISK等工具修复的MBR是不能启动VISTA的,可否把VISTA的MBR和NT的MBR都集成到TODISK里,做个参数随时还原回去,当然这里MBR应该是狭义的不包含硬盘分区表的MBR。乱提议的,呵呵
这个注意不错, 可以我这里没有 VISTA, 不过加进MBR的代码很容易,可以考虑加进去,
2、WINIMAGE有个BOOTPART可以恢复NT的DBR好像是,不知TODISK可否参考一下
这个跟加进 MBR代码道理一样, 很容易的,可以考虑加进去,
这样就是处理
两种MBR(DOS/WIN32 VISTA)
但, DBR, 不同操作系统各有各的DBR, 有点麻烦...
所以,这个工作,还是由分区管理工具去做吧, TODISK/MINITO 毕竟主要是磁盘/分区备份工具
Last edited by GOTOmsdos on 2007-4-18 at 07:06 AM ]
1. The drive letters that can be correctly loaded after IFS are crucial for the automatic batch processing GHOST. Realize the correct conversion between drive letters and X:Y format. (Regarding DOS support for NTFS, in my opinion, using IFS is good as it is readable, writable, has good Chinese support, and also supports EXT partitions? NTFSPRO is still a bit short, of course, it's best to have both, heh heh)
Originally, the drive letters after loading NTFSPRO/IFS can be loaded.
2. If a column directly showing the GHOST X:Y partition format is added to the partition information analyzed by TODISK, it will be more convenient, heh heh. There's no need to deliberately calculate it with batch processing. Of course, if the cost is too high, such as the code increasing too much, then it's not necessary either. (Add a sentence: If it's convenient, also add a column showing the GRUB X:Y partition format, heh heh)
The partition representations (including numerical representation and drive letters) generated by TODISK/MINITO are originally completely consistent with GHOST/NTFSPRO/IFS.
4. Fix the absolute positions of various information generated by TODISK in the text to be more fixed and precise, because when batch processing analyzes these information, it locates using absolute position numbers, and changes are not allowed. For example, the starting sector number corresponding to START, whether the width is sufficient, whether it will widen when encountering larger sectors, and currently, the activated * and hidden * are not aligned with the top-level A and H. (Is there a problem of widening for LABEL? It is suggested to place LABEL at the end)
The display space is completely sufficient and will not exceed. Each item already has the maximum space. For primary partitions and hidden ones, since they are indicated by asterisks, they are deliberately close to be intuitive and vivid.
5. Can a column be added to display the remaining space? Of course, similar to suggestion 2, if the cost is too high, give it up
There is no space left for the remaining space. Even removing the numbering is not enough.
1. Actually, I don't understand either. It is said that VISTA has tampered with 8 bytes in the MBR. The MBR repaired with tools like FDISK cannot boot VISTA. Can we integrate the MBRs of VISTA and NT into TODISK and have a parameter to restore them at any time? Of course, here MBR should be the narrow sense not including the hard disk partition table. Random proposal, heh heh]
This idea is good. I don't have VISTA here, but it's easy to add the MBR code. We can consider adding it.
2. WINIMAGE has a BOOTPART that can restore the NT DBR, I think. I wonder if TODISK can refer to it
This is the same principle as adding the MBR code. It's easy to add. We can consider adding it.
This is to handle
Two types of MBRs (DOS/WIN32 VISTA)
But, DBRs are different for different operating systems. It's a bit troublesome...
Therefore, this work should still be done by the partition management tool. After all, TODISK/MINITO is mainly a disk/partition backup tool.
Last edited by GOTOmsdos on 2007-4-18 at 07:06 AM ]
|
|
2007-4-18 06:53 |
|
|
GOTOmsdos
铂金会员
       C++启程者
积分 5154
发帖 1827
注册 2003-7-18
状态 离线
|
『第 40 楼』:
使用 LLM 解释/回答一下
应几位热心用户的要求,
在配合NTFSPRO/IFS 的基础上,又增加了和GHOST和DOS批处理配合的功能
已更新,见首帖.
At the request of several enthusiastic users, on the basis of cooperating with NTFSPRO/IFS, the function of cooperating with GHOST and DOS batch processing has been added. It has been updated, see the first post.
|
|
2007-4-18 06:54 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 41 楼』:
使用 LLM 解释/回答一下
辛苦了 下来试下
You've worked hard. Let's try it down.
|
|
2007-4-18 07:05 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 42 楼』:
使用 LLM 解释/回答一下
问一个基本问题,如何获得帮助信息?
实机dos下试了 todisk- /? todisk- /h todisk- -h todisk- --hh todisk- 均无信息。如何用?
另外 输入todisk 死机。无任何信息。
Ask a basic question, how to get help information?
Under the actual machine DOS, I tried todisk- /? todisk- /h todisk- -h todisk- --hh todisk- and there was no information. How to use it?
In addition, entering todisk causes a crash. No information is given.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-4-18 08:31 |
|
|
terse
银牌会员
    
积分 2404
发帖 946
注册 2005-9-8
状态 离线
|
『第 43 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2007-4-18 08:31:
问一个基本问题,如何获得帮助信息?
实机dos下试了 todisk- /? todisk- /h todisk- -h todisk- --hh todisk- 均无信息。如何用?
另外 输入todisk 死机。无任何信息。
-d : 显示全部硬盘
-d2 : 显示硬盘2
-p : 显示全部硬盘全部分区
-p2 : 显示硬盘2全部分区
-p2 -NEFSPRO : 显示加载ntfs4dos后硬盘2的全部分区并显示盘符
-p2 -ifs : 显示加载-ifs后硬盘2的全部分区并显示盘符
-pfn : 显示FAT和NTFS分区
-p2:3 : 显示硬盘2分区3
-pc: : 显示 C:
Originally posted by lianjiang2004 at 2007-4-18 08:31:
Ask a basic question, how to get help information?
Tried todisk- /? todisk- /h todisk- -h todisk- --hh todisk- under the actual machine DOS, no information. How to use?
In addition, entering todisk causes a crash. No information.
-d : Display all hard drives
-d2 : Display hard drive 2
-p : Display all partitions of all hard drives
-p2 : Display all partitions of hard drive 2
-p2 -NEFSPRO : Display all partitions of hard drive 2 after loading ntfs4dos and display drive letters
-p2 -ifs : Display all partitions of hard drive 2 after loading -ifs and display drive letters
-pfn : Display FAT and NTFS partitions
-p2:3 : Display partition 3 of hard drive 2
-pc: : Display C:
|
|
2007-4-18 08:37 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 44 楼』:
使用 LLM 解释/回答一下
谢谢楼上的。刚才我试了todisk -d1 死机。
根据你提供的用法,我再试试。
Thanks to the person above. Just now I tried todisk -d1 and it crashed. According to the usage you provided, I'll try again.
|

Windows 一键还原
http://www.yjhy.com |
|
2007-4-18 08:50 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 45 楼』:
使用 LLM 解释/回答一下
又试了,todisk- -p可以。而todisk -p死机。看来我的机子不能运行todisk。
下面是ghost的输出的硬盘信息。
------------------
*********************************
Date : Tue Apr 17 17:49:36 2007
Error Number: (0)
Message: Stats Dump
Version: 8.3.0.1331 (Nov 28 2005, Build=1331)
OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Command line arguments: -dd -dfile=c:\ggho\temp\GHSTSTAT.TXT
Active Switches :
AutoName
PathName :
DumpFile :
DumpPos : 0
FlagImplode : 0
FlagExplode : 0
Operation Details :
Total size.........0
MB copied..........0
MB remaining.......0
Percent complete...0%
Speed..............0 MB/min
Time elapsed.......0:00
Time remaining.....0:00
Program Call Stack
sub_main
main
Call Stack
Address Frame Logical Addr Module
0x000000007c92eb94 0x000000000012f8f0 KiFastSystemCallRet+0x0000000000000000
0x000000000012fbe0 0x0000000000000003 0x0000:0x0000000000000000
End Call Stack
Start heap available: 549740544
Cur heap available: 549588992
Total Memory: 802926592
Conventional Memory
Inital Conventional Memory Size = 0
Current Conventional Memory Size = 0
Allocated
33500 ghost.cpp:1386
Free
Fat details:
NTFS details:
----------------
NTFS Global Flags:
----------------
contiguousWrite=1 forceDiskClusterMapping=0
inhibitCHKDSK=1 ignoreBadLog=0 ignoreCHKDSKBit=0
enable_cache=0 xfrbuflen=0
last_attr_type = 0
loadExact = 0
----------------
Disk Info :
remote.............0
drive..............0
sectors_used.......234436230
estimated_used.....0
pemax..............6
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
0 0 80 b No 63 15438402 15438465 0 No
1 1 0 17 No 15438465 15293880 30732345 0 No
2 2 0 7 Yes 30732408 20482812 51215220 0 No
3 3 0 7 Yes 51215283 30732282 81947565 0 No
4 4 0 b Yes 81947628 61448562 143396190 0 No
5 5 0 7 Yes 143396253 91040292 234436545 0 No
Disk Info :
remote.............0
drive..............0
sectors_used.......0
estimated_used.....0
pemax..............0
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
Fixed Drives
Drive 0 ST3120026AS 3JT44KKK
WinNT (Active)
Total Sectors 234441648
Bytes per Sector 512
MB 114473
Cylinders 14593
Heads 255
Sectors per Track 63
Successful IO Count 124
Floppy Drives
Remote Drives
AsyncIo : 0
Image Devices
Key[1] 1:1
Key[2] C:
Path C:
Desc C: 1:1 [WINXP]
Type FAT
Disk 0
Offset 63
Key[1] 1:2
Path 1:2
Desc 1:2 [pwin2k]
Type NTFS
Disk 0
Offset 15438465
Key[1] 1:3
Key[2] D:
Path D:
Desc D: 1:3 [PROGRAM]
Type NTFS
Disk 0
Offset 30732408
Key[1] 1:4
Key[2] E:
Path E:
Desc E: 1:4 [MYDATA]
Type NTFS
Disk 0
Offset 51215283
Key[1] 1:5
Key[2] F:
Path F:
Desc F: 1:5 [APPZ]
Type FAT
Disk 0
Offset 81947628
Key[1] 1:6
Key[2] G:
Path G:
Desc G: 1:6 [DV]
Type NTFS
Disk 0
Offset 143396253
Key[1] H:
Path H:
Desc H:
Type CD
Key[1] I:
Path I:
Desc I: [雅信CAT3 .5]
Type CD
*********************************
Tried again, todisk -p works. But todisk -p crashes. It seems my machine can't run todisk.
Here is the hard drive information output by ghost.
------------------
*********************************
Date : Tue Apr 17 17:49:36 2007
Error Number: (0)
Message: Stats Dump
Version: 8.3.0.1331 (Nov 28 2005, Build=1331)
OS Version: Microsoft Windows XP Professional Service Pack 2 (Build 2600)
Command line arguments: -dd -dfile=c:\ggho\temp\GHSTSTAT.TXT
Active Switches :
AutoName
PathName :
DumpFile :
DumpPos : 0
FlagImplode : 0
FlagExplode : 0
Operation Details :
Total size.........0
MB copied..........0
MB remaining.......0
Percent complete...0%
Speed..............0 MB/min
Time elapsed.......0:00
Time remaining.....0:00
Program Call Stack
sub_main
main
Call Stack
Address Frame Logical Addr Module
0x000000007c92eb94 0x000000000012f8f0 KiFastSystemCallRet+0x0000000000000000
0x000000000012fbe0 0x0000000000000003 0x0000:0x0000000000000000
End Call Stack
Start heap available: 549740544
Cur heap available: 549588992
Total Memory: 802926592
Conventional Memory
Inital Conventional Memory Size = 0
Current Conventional Memory Size = 0
Allocated
33500 ghost.cpp:1386
Free
Fat details:
NTFS details:
----------------
NTFS Global Flags:
----------------
contiguousWrite=1 forceDiskClusterMapping=0
inhibitCHKDSK=1 ignoreBadLog=0 ignoreCHKDSKBit=0
enable_cache=0 xfrbuflen=0
last_attr_type = 0
loadExact = 0
----------------
Disk Info :
remote.............0
drive..............0
sectors_used.......234436230
estimated_used.....0
pemax..............6
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
0 0 80 b No 63 15438402 15438465 0 No
1 1 0 17 No 15438465 15293880 30732345 0 No
2 2 0 7 Yes 30732408 20482812 51215220 0 No
3 3 0 7 Yes 51215283 30732282 81947565 0 No
4 4 0 b Yes 81947628 61448562 143396190 0 No
5 5 0 7 Yes 143396253 91040292 234436545 0 No
Disk Info :
remote.............0
drive..............0
sectors_used.......0
estimated_used.....0
pemax..............0
Version............0
# Ord Boot Id Ext First Num Last Used NTFS
Fixed Drives
Drive 0 ST3120026AS 3JT44KKK
WinNT (Active)
Total Sectors 234441648
Bytes per Sector 512
MB 114473
Cylinders 14593
Heads 255
Sectors per Track 63
Successful IO Count 124
Floppy Drives
Remote Drives
AsyncIo : 0
Image Devices
Key 1:1
Key C:
Path C:
Desc C: 1:1
Type FAT
Disk 0
Offset 63
Key 1:2
Path 1:2
Desc 1:2
Type NTFS
Disk 0
Offset 15438465
Key 1:3
Key D:
Path D:
Desc D: 1:3
Type NTFS
Disk 0
Offset 30732408
Key 1:4
Key E:
Path E:
Desc E: 1:4
Type NTFS
Disk 0
Offset 51215283
Key 1:5
Key F:
Path F:
Desc F: 1:5
Type FAT
Disk 0
Offset 81947628
Key 1:6
Key G:
Path G:
Desc G: 1:6
Type NTFS
Disk 0
Offset 143396253
Key H:
Path H:
Desc H:
Type CD
Key I:
Path I:
Desc I:
Type CD
*********************************
|

Windows 一键还原
http://www.yjhy.com |
|
2007-4-18 09:00 |
|
|