|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 406 楼』:
使用 LLM 解释/回答一下
修改分区id后,存在一个卸载后如何回到分区原来状态的问题。
以前也想过给GGhost一键恢复增加一个选项,可选择是否把最后分区改成12的隐藏分区。
后来想想还是放弃了,还是需要隐藏的自己改为好。
(当然可考虑以某种形式保存原分区id的办法。)
After modifying the partition ID, there is a problem of how to return to the original state of the partition after uninstallation.
I also thought about adding an option to GGhost one-click recovery before, which could choose whether to change the last partition to a hidden partition with ID 12.
Later, I thought about giving up and still needed to hide it myself.
(Of course, a way to save the original partition ID in some form can be considered.)
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-23 18:07 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 407 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2008-11-23 18:07:
修改分区id后,存在一个卸载后如何回到分区原来状态的问题。
以前也想过给GGhost一键恢复增加一个选项,可选择是否把最后分区改成12的隐藏分区。 ...
对啊,如何保存(查看)原来的ID?
Originally posted by lianjiang2004 at 2008-11-23 18:07:
After modifying the partition ID, there is a problem of how to return to the original state of the partition after uninstallation.
I also thought about adding an option to GGhost one-click recovery before, which can choose whether to change the last partition to a hidden partition with ID 12. ...
Yes, how to save (view) the original ID?
|
|
2008-11-23 19:42 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 408 楼』:
使用 LLM 解释/回答一下
一般机子,不是ntfs,就是fat的,问题也不是很大。不过从安全性、兼容性角度必须考虑恢复原样的问题。
可以考虑保存到文件,或者保存到保留扇区的方式。
不知有何更可靠、安全、简单的办法。
Generally, the machines are either NTFS or FAT, and the problem is not too big. However, from the perspective of security and compatibility, the issue of restoring to the original state must be considered. You can consider saving to a file or saving to the reserved sector. I wonder if there are any more reliable, secure, and simple methods.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-23 20:15 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 409 楼』:
使用 LLM 解释/回答一下
下面是把一个ntfs分区改成12后,不同工具的识别结果。
dsptw只是显示为标准的Log HIDE_FAT,
而omnifs则能准确显示出原分区的格式。
当然不同工具,功能不同,不可如此简单比较。
----------------------------------------------------------
No. Dr Tag FileSystem Volume Act StartPos Sectors MBytes FreeMB
1 C: Pri Win95_FAT32 WINXP Yes 63 3807342 1859 770
2 Pri Hide_FAT16 3807405 289170 141
3 D: Log Win95_FAT32 PRO 4096638 385497 188 94
4 Log HIDE_FAT 4482198 2056257 1004
Disk: 1 (16GB) M:
1.1: ( 1.82GB) Active Volume FAT32 l:
1.2: ( 141.20MB) Hidden Volume FAT16 l:
1.3: ( 188.23MB) Volume FAT32 l:
1.4: (1004.03MB) Diag Hidden Volume NTFS l:
Below is the recognition result of different tools after changing an NTFS partition to 12.
dsptw just shows it as a standard Log HIDE_FAT,
while omnifs can accurately show the original partition format.
Of course, different tools have different functions, and they cannot be simply compared in this way.
----------------------------------------------------------
No. Dr Tag FileSystem Volume Act StartPos Sectors MBytes FreeMB
1 C: Pri Win95_FAT32 WINXP Yes 63 3807342 1859 770
2 Pri Hide_FAT16 3807405 289170 141
3 D: Log Win95_FAT32 PRO 4096638 385497 188 94
4 Log HIDE_FAT 4482198 2056257 1004
Disk: 1 (16GB) M:
1.1: ( 1.82GB) Active Volume FAT32 l:
1.2: ( 141.20MB) Hidden Volume FAT16 l:
1.3: ( 188.23MB) Volume FAT32 l:
1.4: (1004.03MB) Diag Hidden Volume NTFS l:
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-23 21:40 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 410 楼』:
使用 LLM 解释/回答一下
这是修改前的结果。
No. Dr Tag FileSystem Volume Act StartPos Sectors MBytes FreeMB
1:1 C: Pri Win95_FAT32 WINXP Yes 63 3807342 1859 769
1:2 Pri Hide_FAT16 3807405 289170 141
1:3 D: Log Win95_FAT32 PRO 4096638 385497 188 100
1:4 E: Log HPFS/NTFS DATA 4482198 2056257 1004 540
1.1: ( 1.82GB) [C:\] Active Volume FAT32 l:[WINXP]
1.2: ( 141.20MB) Hidden Volume FAT16 l:[DOS]
1.3: ( 188.23MB) [D:\] Volume FAT32 l:[PRO]
1.4: (1004.03MB) [E:\] Volume NTFS l:[DATA]
This is the result before modification.
No. Dr Tag FileSystem Volume Act StartPos Sectors MBytes FreeMB
1:1 C: Pri Win95_FAT32 WINXP Yes 63 3807342 1859 769
1:2 Pri Hide_FAT16 3807405 289170 141
1:3 D: Log Win95_FAT32 PRO 4096638 385497 188 100
1:4 E: Log HPFS/NTFS DATA 4482198 2056257 1004 540
1.1: ( 1.82GB) Active Volume FAT32 l:
1.2: ( 141.20MB) Hidden Volume FAT16 l:
1.3: ( 188.23MB) Volume FAT32 l:
1.4: (1004.03MB) Volume NTFS l:
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-23 21:42 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 411 楼』:
使用 LLM 解释/回答一下
没错,ID=12有很多好处,文件系统(ntfs/fat32/fat)并没有改变,omnifs识别出也没有任何意义。
就算是id=12,能看出文件系统是ntfs/fat32/fat不是难事,问题的关键在于:
ntfs/fat32/fat还有个隐藏的对应ID,这才是重要的。
按说,能写ID,就应能读出ID,19951001应该知道这个参数(说实在话,changetype这个参数我是找不到的),等他来吧。
如能读出原来的ID,一切问题就迎刃而解!
啊,你就是lianjiang大元帅吧,我是歌理,多多指教。
Yes, ID=12 has many advantages. The file system (ntfs/fat32/fat) has not changed, and there is no meaning for omnifs to identify it.
Even if it is ID=12, it is not difficult to see that the file system is ntfs/fat32/fat. The key point is:
ntfs/fat32/fat also has a hidden corresponding ID, which is important.
Speaking of which, since you can write the ID, you should be able to read the ID. 19951001 should know this parameter (to be honest, I can't find the changetype parameter), wait for him.
If the original ID can be read, all problems will be easily solved!
Ah, you are Marshal lianjiang, I am Geli, please give me more advice.
|
|
2008-11-24 00:28 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 412 楼』:
使用 LLM 解释/回答一下
omnifs识别出也没有任何意义
-----------------------------
其意义就在于不用保存原id,就可以知道原分区格式,以恢复原样。能实现这点的话,还不够吗?呵呵。
The identification by omnifs is also meaningless.
-----------------------------
Its meaning is that without saving the original ID, you can know the original partition format to restore it to the original state. If this can be achieved, isn't it enough? Hehe.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-24 09:45 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 413 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2008-11-24 09:45:
omnifs识别出也没有任何意义
-----------------------------
其意义就在于不用保存原id,就可以知道原分区格式,以恢复原样。能实现这点的话,还不够吗?呵呵。
我这么理解:分区ID与文件系统(所说的分区格式)应该是不同的,即不管分区ID是什么,其文件系统(如NTFS)都 不会变,除非重新格式化,对于NTFS而言,有多种的ID分区与其对应,最简单的就是隐藏与非隐藏之分,(此外通过实际应用发现,Vista格式的NTFS与XP下的NTFS也不完全一样,证明是同样在DOS下,对两种系统的NTFS识别率不一样)
所以,保存或识别分区ID是有必要的,而omnifs所识别的文件系统很多软件都能做(dspt稍做修改也应能识别),例如XP就能正确识别。
请问,此图用什么 软件得到的?
Last edited by qwe123456 on 2008-11-24 at 16:42 ]
Originally posted by lianjiang2004 at 2008-11-24 09:45:
The identification of omnifs is also meaningless
-----------------------------
The significance lies in that without saving the original ID, you can know the original partition format to restore it to the original state. If this can be achieved, isn't it enough? Hehe.
I understand it this way: The partition ID and the file system (the so-called partition format) should be different. That is, no matter what the partition ID is, the file system (such as NTFS) will not change unless it is reformatted. For NTFS, there are multiple ID partitions corresponding to it. The simplest is the difference between hidden and non-hidden. (In addition, through practical applications, it is found that the NTFS in Vista format is not completely the same as that in XP, proving that under DOS, the recognition rates of the two systems' NTFS are different)
Therefore, it is necessary to save or identify the partition ID, and many software can do the file system recognized by omnifs (dspt can also recognize it with a little modification), for example, XP can correctly recognize it.
What software was used to get this picture?
Last edited by qwe123456 on 2008-11-24 at 16:42 ]
附件
1: 20080914_79b1a522feea54028c97cOaR20nZpFOb.jpg (2008-11-24 16:41, 27.03 KiB,下载次数: 3)
|
|
2008-11-24 16:21 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 414 楼』:
使用 LLM 解释/回答一下
上图是grub的工具获得的。
另外,dspt似乎是完全根据id来识别的,而不会管到底实际是何种文件系统。
Last edited by lianjiang2004 on 2008-11-24 at 18:44 ]
The above picture was obtained with the grub tool.
In addition, dspt seems to identify completely based on the id, regardless of what kind of file system it actually is.
Last edited by lianjiang2004 on 2008-11-24 at 18:44 ]
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-24 18:41 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 415 楼』:
使用 LLM 解释/回答一下
比如,我把最后的ntfs分区的id改为0b, dsptw显示的是fat32,omnifs显示的就是ntfs。
For example, I changed the ID of the final NTFS partition to 0b, dsptw shows it as FAT32, and omnifs shows it as NTFS.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-24 18:59 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 416 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2008-11-24 18:59:
比如,我把最后的ntfs分区的id改为0b, dsptw显示的是fat32,omnifs显示的就是ntfs。
我试了,的确如此。
看来DSPT是要改进一下,ID与文件系统要分别提取、识别 。
另外GRUB提取的ID好象在WINDOWS无法使用,且给出的分区号与实际不对应。
等 楼主来吧,看他能否取出分区ID。
Originally posted by lianjiang2004 at 2008-11-24 18:59:
For example, I changed the ID of the final NTFS partition to 0b. DSPTW shows it as FAT32, and OMNIFS shows it as NTFS.
I tried it, and it's indeed like that.
It seems that DSPT needs to be improved. The ID and the file system should be extracted and recognized separately.
In addition, the ID extracted by GRUB seems not to be usable in WINDOWS, and the given partition number does not correspond to the actual one.
Wait for the owner to come, see if he can extract the partition ID.
|
|
2008-11-25 10:57 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 417 楼』:
使用 LLM 解释/回答一下
Originally posted by qwe123456 at 2008-11-25 10:57:
我试了,的确如此。
看来DSPT是要改进一下,ID与文件系统要分别提取、识别 。
另外GRUB提取的ID好象在WINDOWS无法使用,且给出的分区号与实际不对应。
等 楼主来吧,看他能否取出分区ID。
grub给出的是grub本身的硬盘分区识别号。要转换才能变为一般意义的分区号。
Originally posted by qwe123456 at 2008-11-25 10:57:
I tried, and it's indeed like this.
It seems that DSPT needs to be improved. The ID and the file system need to be extracted and identified separately.
In addition, the ID extracted by GRUB seems to be unusable in WINDOWS, and the partition number given does not correspond to the actual one.
Wait for the owner to come, see if he can extract the partition ID.
The partition identification number given by GRUB is the partition identification number of the GRUB itself. It needs to be converted to become the general - meaning partition number.
|

Windows 一键还原
http://www.yjhy.com |
|
2008-11-25 11:03 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 418 楼』:
使用 LLM 解释/回答一下
将错就错,如果没有其他办法,可以用下表得到对应的ID,
对于win而言方,仅需fat/fat16/fat32/ntfs及其对应的隐藏ID即可,共4个+“hide",
虽然这不是很准确,但也应该能够保存原来的ID了。
楼主这家伙跑哪 去了?
ID 分区类型
0x01 DOS_FAT12
0x05 Extended
0x04 DOS_FAT16
0x06 DOS_FAT16
0x07 HPFS/NTFS
0x0b Win95_FAT32
0x0c Win95_FAT32
0x0e Win95_FAT16
0x0f Extended_LBA
0x82 Linux_Swap
0x83 Linux_Native
0x85 Linux_Extended
0x11 Hide_FAT12
0x14 Hide_FAT16
0x16 Hide_FAT16
0x17 Hide_HPFS/NTFS
0x27 Hide_HPFS/NTFS
0x1b Hide_FAT32
0x1c Hide_FAT32
0x1e Hide_FAT16
0x42 Dynamic_Disk
0x93 Hide_Linux
0xd7 HIDE_DELL
0xdd HIDE_DELL
0xdb HIDE_DELL
x0de HIDE_DELL
0x12 HIDE_FAT
0xbc ATI_SEC_ZONE
0xa5 FreeBSD
If you can't do otherwise, you can use the following table to get the corresponding ID. For Windows, only the corresponding hidden IDs for fat/fat16/fat32/ntfs are needed, totaling 4 + "hide". Although this is not very accurate, it should be able to preserve the original ID. Where did the original poster go?
ID Partition Type
0x01 DOS_FAT12
0x05 Extended
0x04 DOS_FAT16
0x06 DOS_FAT16
0x07 HPFS/NTFS
0x0b Win95_FAT32
0x0c Win95_FAT32
0x0e Win95_FAT16
0x0f Extended_LBA
0x82 Linux_Swap
0x83 Linux_Native
0x85 Linux_Extended
0x11 Hide_FAT12
0x14 Hide_FAT16
0x16 Hide_FAT16
0x17 Hide_HPFS/NTFS
0x27 Hide_HPFS/NTFS
0x1b Hide_FAT32
0x1c Hide_FAT32
0x1e Hide_FAT16
0x42 Dynamic_Disk
0x93 Hide_Linux
0xd7 HIDE_DELL
0xdd HIDE_DELL
0xdb HIDE_DELL
x0de HIDE_DELL
0x12 HIDE_FAT
0xbc ATI_SEC_ZONE
0xa5 FreeBSD
|
|
2008-11-25 11:27 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 419 楼』:
使用 LLM 解释/回答一下
Originally posted by lianjiang2004 at 2008-11-25 11:03:
grub给出的是grub本身的硬盘分区识别号。要转换才能变为一般意义的分区号。
lianjiang2004,经常看见你,你是网管,不上班或这是你的工作,呵呵,好奇,随便问问。
Originally posted by lianjiang2004 at 2008-11-25 11:03:
The GRUB gives the hard disk partition identification number of GRUB itself. It needs to be converted to become the general partition number.
lianjiang2004, I often see you. Are you a network administrator, not working or this is your job, heh heh, just curious, just asking casually.
|
|
2008-11-25 11:29 |
|
|
goli2008
中级用户
  
积分 252
发帖 97
注册 2006-9-17
状态 离线
|
『第 420 楼』:
使用 LLM 解释/回答一下
由于碰到dspt不认识的分区时,会给出ID,所以加个参数(或者已有了?),取出ID是非常容易的。
Since when encountering a partition that dspt doesn't recognize, it will give an ID, so adding a parameter (or already exists?), it's very easy to get the ID.
|
|
2008-11-25 11:44 |
|