China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-23 18:57
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Virtual floppy drive, good stuff! View 3,076 Replies 27
Original Poster Posted 2003-08-16 00:00 ·  中国 北京 联通
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
It can conveniently add a DOS boot option under Windows NT, 2k, xp, 2k3, and supports NTFS, FAT32, and FAT16 partitions, making booting DOS simple and fast.
Features: safe, it does not write code to the boot sector, will not damage the system, and does not require restoring the MBR. Convenient, you can restart the system at any time and enter the DOS environment.

http://bbs.wwwfox.net/cgi-bin/topic.cgi?forum=2&topic=10476&show=0



Floor 2 Posted 2003-08-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
I don't really understand. Do I have to modify it myself?
Floor 3 Posted 2003-08-16 00:00 ·  中国 北京 联通
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
1. Extract that download into a newly created folder under C:\BOOT
2. In the C:\BOOT folder there must also be an image file you want to boot, DOS.IMG
3. Run the batch file install_vfloppy.bat
4. Modify the file C:\BOOT.INI as instructed and add a boot item
5. Restart, OK!
Floor 4 Posted 2003-08-16 00:00 ·  中国 广东 汕尾 电信
中级用户
★★
Credits 417
Posts 137
Joined 2003-05-30 00:00
23-year member
UID 2638
Gender Male
Status Offline
Bump
Floor 5 Posted 2003-08-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
The following is quoted from LK's post on 2003-8-16 18:18:18:
1.Extract that download into a newly created folder under C:\BOOT
2.In the folder C:\BOOT there must also be an image file you want to boot, DOS.IMG
3.Run the batch file install_vfloppy.bat
4.Modify the file C:\BOOT.INI as instructed and add a boot item
5.Restart, OK!

Does it have to be under C:\BOOT?
If I put it under D:\BOOT, is that OK? How do I modify it?
Floor 6 Posted 2003-08-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
I'm lazy, so I made a small change, hehe!




Floor 7 Posted 2003-08-16 00:00 ·  中国 福建 福州 电信
元老会员
★★★
农民
Credits 2,903
Posts 991
Joined 2003-07-23 00:00
23-year member
UID 7391
Gender Male
From 福建省
Status Offline
Could you explain what you changed, and what differences there are in use?
艰难奋长戟,万古用一夫

中国DOS联盟 http://www.cn-dos.net 欢迎大家来共同学习
我的MSN&E-Mail cn_archer@hotmail.com QQ 56049418
Floor 8 Posted 2003-08-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
Actually I didn't change much, just modified install_vfloopy.bat a bit, so you don't have to edit boot.ini and xxx.img yourself:
Originally it was:

vfloppy -1 vloader.bin -2 vmemdsk.bin -i dos.img
Changed to:

rename c:\boot\*.img dos.img
attrib -r -h -s c:\boot.ini
echo c:\boot\vloader.bin ="Virtual Floopy " >>c:\boot.ini
vfloppy -1 vloader.bin -2 vmemdsk.bin -i dos.img

Floor 9 Posted 2003-08-16 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
I want to know, if it's not placed under C:\BOOT but somewhere else, for example under D:\BOOT, how should it be modified?
Floor 10 Posted 2003-08-16 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Could it be that after seeing the GRUB boot disk I made, he developed and modified GRUB further himself and made this new software? But why can't this software run under pure DOS?


Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 11 Posted 2003-08-17 00:00 ·  中国 广西 南宁 联通
初级用户
Credits 195
Posts 29
Joined 2003-03-22 00:00
23-year member
UID 1213
Gender Male
Status Offline
The stuff LK makes is always only half understandable, always showing off that little bit of programming skill of his... (speechless...)
Floor 12 Posted 2003-08-17 00:00 ·  中国 广西 柳州 电信
高级用户
★★★
Credits 915
Posts 309
Joined 2002-12-22 00:00
23-year member
UID 567
Gender Male
Status Offline
Wrong! I didn't write this thing, I just reposted a link.

Hehe! It'd be nice if I had programming skill to show off... I'm also: (speechless...)
Floor 13 Posted 2003-08-17 00:00 ·  中国 广东 广州 越秀区 电信
中级用户
★★
Credits 422
Posts 136
Joined 2002-11-09 00:00
23-year member
UID 203
Gender Male
Status Offline
I read through the instructions briefly, haven't tried it yet, but the idea is pretty good

Instructions:
Virtual Floppy
by lyh728
This is a virtual floppy system similar to pqmagic's vfloppy.sys,
which I implemented after referring to the grub source code and the
disassembled code of pqmagic's vfloppy.sys.
See the post written by brother vx_xsj at the end.
Since there is already pqmagic's vfloppy.sys, why did I still want to modify it?
Mainly because pqmagic's vfloppy.sys stores its boot loader in the MBR
and also occupies the first 3 sectors of the disk, which means that when
vfloppy.sys is installed, it needs to write data to the 3 sectors starting
from the MBR. If an error occurs at that time,
the system may become unbootable.
So is there any other boot loader that can do similar work?
lilo needs to be installed under linux, and it cannot emulate a floppy
nu2.nu's diskemu is on CD, and does not support fat, ntfs
BootScriptor is also on CD, and does not support fat, ntfs
isolinux is also on CD, and does not support fat, ntfs
syslinux can support fat16, fat12, but does not support fat32, ntfs
grub supports the most formats. Someone is working in this direction, but it is still not easy to use at present (meaning emulating a floppy on a hard disk), though it is the most likely to achieve this goal soon.
............

So I combined grub's source code and the binary file of vfloppy.sys to make this thing.
Usage:
Suppose vfloppy is placed in c:\boot, and drive C can be in fat16 fat32 ntfs partition format
Run vfloppy -1 vloader.bin -2 vmemdsk.bin -i dos.img ,

Add an item in c:\boot.ini: c:\boot\vloader.bin ="virtual floopy "
After restarting the system, choose virtual floopy from the ntloader menu
and it will load the image c:\boot\dos.img and run it
Features:
Safe, it does not write code to the boot area, will not damage the system, and there is no need to restore the MBR
Convenient, you can restart the system at any time and enter the DOS environment
On systems with no CD-ROM drive, no floppy drive, only windows NT, windows 2k, windows xp, win2k3,
it is very convenient for running other OSes.

Testing:
Tested successfully in a win2k3 English Standard environment, supports ntfs, fat32, fat16 partitions.
The MS DOS7.10 boot disk made by DOS Forum moderator Wengier



Reference:
calV's question:

My CD-ROM and floppy drive are both broken, but I want to reinstall 2000 under DOS. Is there any way? Please help me, any way is fine. Can I delete some 2000 system files so that at boot it can't enter 2000 and jumps directly into DOS mode?


The post written by brother vx_xsj:
_________ vx_xsj's release preview! ! ! ! _________

  I've already solved calV's problem for him. Since I said it can be done, then naturally it can be done, because I'm not good at deceiving people, so this
can be achieved ( strange logic )

  I had already discovered this method before, I just wanted to make it better ( mainly to make the boot disk better ), so during this period I have been
writing this boot disk, and planned to announce this discovery when it was relatively complete

  But while helping calV I ran into something strange. At first I found that this method could not succeed! But later it worked again.
To find the reason for this, I decided to announce it early

  Anyone who has used Drive Image 5 knows that it only starts working after a reboot. On NT-kernel systems
this is very obvious. Since PQDI cannot run under the NT kernel, then after reboot it naturally enters a system it can run under
—DOS. But many people don't have any other system installed besides 2000/XP, so where does this DOS come from?

  According to analysis, it has a program that can boot the system into a virtual floppy ( omitting a lot here ), and this virtual floppy
actually uses a VFD-format image ( omitting more ), and another program it includes, VFeditor.exe,
which is the PowerQuest OEM edition of WinImage, is used to edit what it uses. My inspiration came from this

  Since it can make the system boot into a virtual floppy, then future boot disks can be replaced by it. When the local machine
cannot use a floppy/CD-ROM for some reason, such as an ultra-thin notebook, when you happen not to have an external floppy or CD drive,
and yet need to boot into DOS to do some operations ( such as reinstalling the system, killing viruses ),
it becomes very convenient ( because it seems no virus can infect a VFD image, so
its safety is just like a CDRW )

  That's enough for the introduction, let everyone try the actual thing themselves. This time I gave calV a temporary version,
and the improved version of the image will probably be announced in a few days

   Those whose system kernel is NT, and who are interested,
go get it and try it. Remember, if it runs successfully it will automatically reboot,
and then you'll see the effect of this temporary version

  If it doesn't succeed, you're welcome to bring it up and I'll improve it

                              THX


Quoted from a post by 8cat:
******************************************
Is the usage like this:
Run the main program vfinstnt.exe under win2k (automatically backs up the partition table), reboot, enter DOS, then do the related operations. After finishing, reboot again, and the normal partition table can be restored

Question:
If 2000 is reinstalled after entering DOS, will some boot-area operations performed by 2000 during installation affect this software's partition table? Will it fail to recognize the original partition table after BOOT?
If there are no problems with that, then can PQ be used?
BTW, I want one too
*********************************************************************

Sent by PM,

I guess it should be like this. To add, the partition table should be restored immediately after booting DOS

Of course not. The program in that image was originally PowerQuest Drive Image 5. Could it not modify the partition table? Naturally that's not the case

Of course PQ can be used
Floor 14 Posted 2003-08-19 00:00 ·  中国 四川 成都 教育网
初级用户
Credits 177
Posts 27
Joined 2002-12-18 00:00
23-year member
UID 546
Gender Male
Status Offline
Good stuff!
Good stuff!
It's just that it cannot support 2.88M image files. If you use one, it reports a disk I/O error!
Please, experts, take a look!
Many thanks!!
Many thanks!
Floor 15 Posted 2003-08-19 00:00 ·  中国 广东 肇庆 电信
高级用户
★★
Credits 578
Posts 135
Joined 2003-07-10 00:00
23-year member
UID 6709
Gender Male
Status Offline
The following is quoted from lotusice's post on 2003-8-19 19:47:52:

   It's just that it cannot support 2.88M image files. If you use one, it reports a disk  I/O error!

Uploaded another one that supports 2.88M images: Open attachment
Forum Jump: