![]() |
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 02:33 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS开发编程 & 发展交流 (开发室) » miniTO Single Program DPT/DBR/FAT/CMOS Multi-function Maintenance Tool |
| Printable Version 28,549 / 230 |
| Floor1 GOTOmsdos | Posted 2007-04-17 06:38 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
At the request of terse's friend, I specially streamlined TOdisk into a mini version, which has the functions of displaying the partition table, backing up/restoring/comparing disk partition table chains (DPT/DBR/FAT/CMOS).
In addition to covering all the functions of SRCTOOLS, it also has the following ten functions: 1. All functions are in one program. 2. Support backing up partition tables of any file system (including LINUX, etc., represented by GHOST's numerical method) and NTFS partition information DBR, etc. (represented by GHOST's numerical method to represent partitions. Also, if NTFSPRO/IFS is loaded, you can directly use the drive letter). 3. Support backing up the partition table chains of all hard disks and any hard disks, and support global comparison. 4. Support copying the DBR copy provided by the FAT32 system to the DBR. 5. Support the drive letters of NTFS/LINUX after loading NTFSPRO/IFS. 6. Support representing partitions in numerical form, breaking through the limitations of FAT partitions, consistent with GHOST. 7. Support converting and displaying between partitions represented by numerical form and drive letter representation. 8. Support cooperating with DOS batch processing. 9. Support backing up CMOS and generating CMOS passwords. 10. Support displaying the hard disk table and the total partition table. Its functions far exceed the similar tool dosBACK I wrote before... ********************************** At the request of several enthusiastic users, On the basis of cooperating with NTFSPRO/IFS, the functions of cooperating with GHOST and DOS batch processing are added. And the function of displaying the numerical partition such as (1:2) with the drive letter (such as D:) or vice versa is added: (And the numerical representation of partitions of the TOdisk/miniTO program is the same as that of GHOST, that is, using the direct sequential order... can be used in cooperation with GHOST, everyone can compare. After loading NTFSPRO/IFS, it is also consistent with them, because the drive letters they add are also sequential.) The usage is as follows: miniTO -turn 1:2 will display D: It can also be combined with the ERRORLEVEL of DOS batch processing to store the output in a file: Success returns 1 Failure returns 2 BAT file: miniTO -turn 1:2 >FILE REM Enter 1:2 will display D: REM Enter D: will display 1:2 IF ERRORLEVEL 2 GOTO FAIL IF ERRORLEVEL 1 GOTO OK :FAIL Do your thing GOTO END :OK Do your thing GOTO END :END Will store D: or 1:2 in FILE If NTFSPRO/IFS is loaded, you can: miniTO -turn 1:2 -ntfspro >FILE (or -ifs) Will handle it with the drive letters they added If there is a problem when running on a real hard disk or in a virtual machine, you can add -NOHP at the end. It is very convenient and practical, welcome everyone to try! Look at the usage, enter the program name or program name -?/-h You can also refer to: (the part about DPT/DBR/FAT/CMOS) http://www.cn-dos.net/forum/viewthread.php?tid=22883&fpage=1&highlight=&page=8 To use TOdisk, please refer to: http://www.cn-dos.net/forum/viewthread.php?tid=22883&page=1&sid=ZXsc2C#pid136677 Latest version, WIN version and source code address: http://www.cn-dos.net/forum/viewthread.php?tid=30157&fpage=1 [ Last edited by GOTOmsdos on 2007-5-6 at 11:27 AM ] Attachments miniTO-1.8.4.zip (39.82 KiB) miniTO-1.9.zip (40.84 KiB) miniTO.1.9.1.zip (40.84 KiB) |
|
| Floor2 0451lym | Posted 2007-04-17 06:49 |
| 高级用户 Posts 357 Credits 760 | |
|
Your full version I don't know why I can't use it. The help can be displayed, but it freezes when displaying the partition table! I'll test this streamlined version!
|
|
| Floor3 GOTOmsdos | Posted 2007-04-17 06:53 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Their core code is the same, only some functions are cut off. Other netizens run normally, and there is no problem here. You can post the CONFIG.SYS/AUTOEXEC.BAT, and I'll help you take a look.
|
|
| Floor4 0451lym | Posted 2007-04-17 06:56 |
| 高级用户 Posts 357 Credits 760 | |
|
config.sys
DOS=HIGH,UMB,AUTO NUMLOCK=ON device=\SYS\config.exe device=\SYS\ConfigP.Mnu ; 0NestMenu= ; color=1d,c ; initial=10,4 ; time=5,Remaining time ; caption= ; caption= ; caption=a, My Image Recovery System ; caption=4, ---------------------------------------------- ; endnote=e, Press ↑↓ keys or corresponding letter keys to jump, press space bar to select ; endnote=e, Press → key to enter submenu continuously, press ← key to return in order ; endnote=e, Press Enter key to end driver selection and enter my image recovery system ; endnote=e, ; item=1=Select Memory Driver Default load: HIMEM + UMBPCI ; item=2=Select CD-ROM Driver Not loaded by default ; item=3=Select _USB Disk Driver Not loaded by default ; item=4=Select _USB CD-ROM Driver Not loaded by default ; item=5=Select _USB Mouse Driver Not loaded by default ; 1RadioMenu= ; caption= ; caption= ; caption= ; caption=a, Select Memory Driver ; caption=4, ============================================== ; item=0=Load HIMEM ; item=0,1=Load HIMEM + EMM386 ; DefaultItem=0,2=Load HIMEM + UMBPCI ; 2CheckMenu= ; caption= ; caption= ; caption= ; caption=a, Select CD-ROM Driver ; caption=4, ============================================== ; item=3=Load gcdrom (SATA-CD) ; item=4=Load vide-cdd (PATA-CD) ; item=5=Load QCDROM (PATA-CD) ; 3RadioMenu= ; caption= ; caption= ; caption= ; caption=a, Select _USB Disk Driver ; caption=4, ============================================== ; item=6,7=Load DI1000DD ; item=6,8=Load ASPIDISK ; 4RadioMenu= ; caption= ; caption= ; caption= ; caption=a, Select _USB CD-ROM Driver ; caption=4, ============================================== ; item=6,9=Load USBCD ; item=6,10=Load NJUSBCDA ; 5RadioMenu= ; caption= ; caption= ; caption= ; caption=a, Select _USB Mouse Driver ; caption=4, ============================================== ; item=6,11=Load UHCI ; item=6,12=Load OHCI ; block=0 DEVICE=\SYS\MEM\HIMEM.SYS /TESTMEM:OFF ; block=1 DEVICE=\SYS\MEM\EMM386.exe noems DEVICEHIGH=\SYS\MEM\QSCACHE.SYS /F /S7 ; block=2 DEVICE=\SYS\MEM\UMBPCI.SYS /S DEVICEHIGH=\SYS\MEM\QCACHE.SYS /L /S5 ; block=3 SET D3=GCDROM ; block=4 SET D4=videcdd ; block=5 SET D5=QCDROM ; block=6 SET D6=usbaspi ; block=7 SET D7=di1000dd ; block=8 SET D8=ASPIDISK ; block=9 SET D9=USBCD ; block=10 SET D10=NJUSBCDA ; block=11 SET D11=UHCI ; block=12 SET D12=OHCI ; block=end FILESHIGH=100 BUFFERSHIGH=10,0 SHELL=COMMAND.COM /P /F /E:4096 FCBSHIGH=8,0 STACKSHIGH=18,512 LASTDRIVEHIGH=Z [ Last edited by 0451lym on 2007-4-17 at 06:59 AM ] |
|
| Floor5 0451lym | Posted 2007-04-17 06:56 |
| 高级用户 Posts 357 Credits 760 | |
|
autoexec.bat
@ECHO OFF cls rem pictview logo.sys --q --nocls DEL logo.sys SET DIRCMD=/OGN /4 SET PROMPT=$d $t$_$p$g SET HDPMI=16384>NUL SET RAMDRIVE=v:>NUL XMSDSK 12288 %RAMDRIVE% /T /Y>NUL PATH=%RAMDRIVE%;%RAMDRIVE%\BAT;%RAMDRIVE%\UCDOS; COPY COMMAND.COM %RAMDRIVE%>NUL SET COMSPEC=%RAMDRIVE%\COMMAND.COM SET TEMP=%RAMDRIVE%\TEMP IF EXIST LYM. REN LYM LYM.EXE IF EXIST LYM.EXE LYM /Y %RAMDRIVE%\>NUL IF EXIST GHOST.EXE COPY GHOST.EXE %RAMDRIVE%>NUL FOR %%X IN (LYM.EXE GHOST.EXE) DO IF EXIST %%X DEL %%X echo 引导盘符>%temp%\YD.INI cd>>%temp%\YD.INI strings YD=read %temp%\YD.INI,2 strings YD=filedrive %YD% PATH=%PATH%%YD%; echo 内存盘符>%temp%\RAM.INI echo %RAMDRIVE%>>%temp%\RAM.INI CALL Drive.bat IFS %D3% %D4% %D5% %D6% %D7% %D8% %D9% %D10% %D11% %D12% go %RAMDRIVE%\ CALL HZ.BAT rem config.bat :TC |
|
| Floor6 0451lym | Posted 2007-04-17 06:57 |
| 高级用户 Posts 357 Credits 760 | |
|
Entering directly with F5 also dies!
I have 2 hard drives. The first hard drive has 6 partitions. The second hard drive has a single 80G large partition! Thanks for the advice! [ Last edited by 0451lym on 2007-4-17 at 07:09 AM ] |
|
| Floor7 GOTOmsdos | Posted 2007-04-17 07:24 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
Directly entering with F5 also dies! A bit hard to believe.. Generally, it shouldn't be like that When using TODISK, besides insufficient memory, when the compression function is used, there may be a compression failure, but it will also give an error prompt Maybe there are some special configurations or hardware issues? Here I tested some drivers, all run normally, including XMSDSK, TW, DOSLFN, DOSKEY, etc. Just now terse adjusted CONFIG.SYS, now it runs normally. You can try his CONFIG.SYS to see where the problem is? : Change BUFFERS=30 in CONFIG.SYS to BUFFERSHIGH=10,0 terse can now run TODISK |
|
| Floor8 0451lym | Posted 2007-04-17 08:35 |
| 高级用户 Posts 357 Credits 760 | |
|
Using Lao Ge's and xusen's DOS disks both caused死机. It might be a problem with the hard disk!
PSI can generate the partition table, but it can normally display the hard disk sorting problem: Disk 0: N L Type FS Size Active Hidden Label Used Free 0 C Primary FAT 32 5.0 GB Yes No 2.3 GB 2.7 GB 1 Extended 69.5 GB 2 D Logical FAT 32 5.0 GB No No 3.9 GB 1.1 GB 3 E Logical FAT 32 4.0 GB No No 1.4 GB 2.6 GB 4 F Logical FAT 32 4.0 GB No No 2.6 GB 1.4 GB 5 G Logical FAT 32 30.8 GB No No 18.7 GB 12.1 GB 6 H Logical FAT 32 25.7 GB No No 软件备份 22.7 GB 3.0 GB Disk 1: N L Type FS Size Active Hidden Label Used Free 0 Primary Free 7.8 MB 1 Extended 74.5 GB 2 I Logical NTFS 74.5 GB No No iU霖 71.1 GB 3.4 GB There are errors when generating the partition table with omnifs: Disk: 1 (74.53GB) M:[ST380011A] S:[3JV5R0L2] 1.1 ( 5.01GB) [C:\] Active Volume FAT32 Primary 1.2 ( 5.01GB) [D:\] Volume FAT32 Extended 1.3 ( 4.01GB) [E:\] Volume FAT32 Extended ( 60.49GB) Unused Space Extended ( 2.49MB) Unused Space Primary Disk: 2 (74.53GB) M:[ST3802110A] S:[4LR3N3AC] ( 7.84MB) Unused Space Primary 2.1 ( 74.52GB) Volume NTFS l:[扩展磁盘] Extended ( 2.49MB) Unused Space Primary It is initially suspected that the error starts when analyzing partition 1.4, or that the死机 occurs when analyzing partition 1.4. I don't know if TODISK is still persistent in not crossing over when an error occurs? But I wonder why PSI can list normally? The compatibility of TODISK still needs to be improved! Thanks for the help from GOTOmsdos! Thanks for sharing!!!! |
|
| Floor9 terse | Posted 2007-04-17 08:41 |
| 银牌会员 Posts 946 Credits 2,404 | |
|
Don't load UMBPCI.SYS
I tried it. After I loaded it here, it can't run. Also: Really thank you very much GOTOmsdos. I'll go download the slim version. [ Last edited by terse on 2007-4-17 at 08:42 AM ] |
|
| Floor10 0451lym | Posted 2007-04-17 08:52 |
| 高级用户 Posts 357 Credits 760 | |
Originally posted by terse at 2007-4-17 08:41: I only added HIMEM.SYS memory driver, and didn't add anything else, still can't work! [ Last edited by 0451lym on 2007-4-17 at 08:54 AM ] |
|
| Floor11 GOTOmsdos | Posted 2007-04-17 09:19 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Anyway, thank you for paying attention to miniTO. Now I don't know what the reason is for the error. I have checked the code and haven't found the problem... But I can check again to see if there are any places with insufficient fault tolerance...
You can try using only one hard disk alternately to see where the problem is? [ Last edited by GOTOmsdos on 2007-4-20 at 07:18 AM ] |
|
| Floor12 cchessbd | Posted 2007-04-17 09:20 |
| 高级用户 Posts 222 Credits 525 | |
|
Try rebuilding the MBR with spfdisk.
If there's an issue with the partition table, don't blame the program... If that doesn't work, use kvfix to set the MBR to 0, then rebuild with diskgen. Then run Todisk, and it should be okay. |
|
| Floor13 GOTOmsdos | Posted 2007-04-17 09:23 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
Originally posted by cchessbd at 2007-4-17 09:20 AM: Thanks for your attention! However, I still think that even if it's a hard drive problem causing a crash, the program is somewhat responsible. If the program is robust enough, it should have a prompt to exit... Wait a minute, I'll check the relevant code again... |
|
| Floor14 GOTOmsdos | Posted 2007-04-17 09:25 |
| 铂金会员 Posts 1,827 Credits 5,154 | |
|
Originally, the slim version could only back up the total partition table chain, but now it has also added support for the function of a single partition table/DBR/FAT. Only then is it complete.
Updated [ Last edited by GOTOmsdos on 2007-4-17 at 09:27 AM ] |
|
| Floor15 cchessbd | Posted 2007-04-17 09:29 |
| 高级用户 Posts 222 Credits 525 | |
Originally posted by GOTOmsdos at 2007-4-17 09:25: Not bad, not bad. It can display my Ipod. |
|
| 1 2 3 4 … 16 Next |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |