中国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-10-27 01:04
47,815 topics / 349,928 posts / today 0 new / 48,289 members
DOS启动盘 & LOGO技术 (启动盘室) » Experts, please advise on a difficult problem in making a floppy boot disk
Printable Version  882 / 1
Floor1 walu Posted 2004-01-07 00:00
高级用户 Posts 201 Credits 916
I want to achieve this: after booting the computer from a floppy disk, it shows

Press:

Number key "1" — back up the system
Number key "2" — restore the system
Number key "3" — exit to DOS

Then once number key "1" is pressed, it will automatically look for the last hard disk partition as the partition for storing the GHO file,
then do the backup, and after the backup is finished it will automatically run a command like "gdisk.exe 1 /hide /p:3" to hide the partition. The difficult point is how can gdisk automatically change the /p:3 parameter?

gdisk usage:
gdisk.exe 1 /hide /p:3 hides the third partition
gdisk.exe 1 /hide /p:4 hides the fourth partition
...and so on
Floor2 dos时代菜鸟 Posted 2004-01-07 00:00
初级用户 Posts 216 Credits 672
I’ve never used gdisk, but there are experts here in this area, look around yourself.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023