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-22 18:18
中国DOS联盟论坛 » DOS启动盘 & LOGO技术 (启动盘室) » Avldrng.exe: Transition from pure DOS mode to ntldr boot View 8,761 Replies 28
Original Poster Posted 2005-09-09 23:02 ·  中国 北京 鹏博士BGP
中级用户
★★
CPU
Credits 362
Posts 96
Joined 2004-07-08 00:00
22-year member
UID 28010
Gender Male
From 北京
Status Offline

======================

With the power of Grldr and VFloppy, we can add wonderful support for the DOS environment on the nt system; and with the magic of AvldrNG, we can reverse this process: we can make the DOS environment jump to the boot environment of the NT system. ;-)


=============

Do you still remember the 3-in-1 attempt of Avldr for Grub? Yes, this AvldrNG is also improved and perfected on the basis of the trial version of Avldr for Grub. Due to the launch of WinVI, I think this tool should be useful. For example:


◎ We don't have a boot environment with ntldr, but we need to load a WinPE from the hard disk. For example, this WinPE:

http://sysoft.zdwx.com/forum/viewthread.php?tid=169&fpage=1, then we only need to place files such as setupldr.bin, bootdetect.com, winnt.sif, etc. in C:\, and then run in pure dos

c:\>Avldrng /loader=setupldr.bin to load this PE.


◎ With a boot environment with ntldr installed, we can run Avldrng.exe under Windows, drag c:\setupldr.bin to the file selection dialog of Avldrng.exe, then select "Install", and then open C:\boot.ini and paste it, and a new boot entry can be added. Restart the computer, select the new entry, and you can load this WinPE. Of course, if you know Windows Vista, then it has a new PE technology called the Wim method. For this WimPE, you can refer to

http://sysoft.zdwx.com/forum/viewthread.php?tid=158&fpage=1

After obtaining bootmgr, we can use AvldrNG to load this WimPE. WinPE is not far away!


◎ Can I use AvldrNG to load NTLDR/PELDR/Bootmgr/Grldr from a floppy disk? Yes. But be sure to remember that the order in which AvldrNG scans the specified bootloader files is hd1 -> hd2 -> fd1 -> fd2. It should be noted that if the first hard disk does not exist, it will look for hd2; if the specified loader file is not found on the previous hard disk partition, it will try the A drive. If the A drive reset fails, it will try the B drive. Of course, if there is none, it will push you to a boot menu. ... ... ;-)


For the latest version, please query from http://sysoft.zdwx.com/forum/viewthread.php?tid=167&pid=1104&page=1.

[ Last edited by Gandalf on 2005-9-9 at 23:12 ]
Attachments
snap.png
AviBeta3.zip (80.05 KiB, Credits to download 1 pts, Downloads: 233)
Floor 2 Posted 2005-09-10 07:02 ·  中国 安徽 宿州 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
Can this method allow entering WinXP from DOS? Please have the moderator analyze its feasibility.
Floor 3 Posted 2005-09-10 11:59 ·  中国 北京 海淀区 联通
中级用户
★★
CPU
Credits 362
Posts 96
Joined 2004-07-08 00:00
22-year member
UID 28010
Gender Male
From 北京
Status Offline
This is completely possible. There are two methods:

1. Put ntldr, ntdetect.com, boot.ini, bootfont.bin (optional) onto your DOS boot floppy disk; of course, here we rename ntldr to ntldr2, then boot the system with this disk, and run at the command line:

a:\>avldrng /loader=ntldr2 to load that ntldr on your floppy disk. And if your boot.ini is properly configured, then you can boot the WinXP system on your hard disk. ;)

2. Suppose that your C:\ already has those NT boot files, then no matter what the partition format of C: is, we can boot the system with a DOS boot disk, and then run Avldrng.exe to transfer the system to the boot of the system on C:\. ;)

Cool or not?!
Floor 4 Posted 2005-09-10 17:18 ·  中国 上海 金山区 电信
银牌会员
★★★
Credits 1,231
Posts 498
Joined 2002-12-03 00:00
23-year member
UID 398
Gender Male
Status Offline
Thanks for sharing good stuff,
言多必失!必失!!油多菜不坏,礼多人不怪
Floor 5 Posted 2005-09-11 07:15 ·  中国 安徽 宿州 泗县 电信
银牌会员
★★★
Credits 1,339
Posts 595
Joined 2004-05-26 00:00
22-year member
UID 25306
Gender Male
From 安徽 宿州
Status Offline
Originally posted by Gandalf at 2005-9-10 11:59 AM:
This is completely possible. There are two ways:

1. Put ntldr, ntdetect.com, boot.ini, bootfont.bin (optional) onto your DOS boot floppy; of course, here we rename ntldr to ntldr2, and then..

What I mean is: Before installing WinXP, I formatted the C: drive to be the system drive using Format c:/s, and then installed WinXP. Then when starting WinXP, pressing F8 can enter DOS. In such a DOS, can I enter WinXP without restarting?
Floor 6 Posted 2005-09-11 11:20 ·  中国 北京 鹏博士BGP
中级用户
★★
CPU
Credits 362
Posts 96
Joined 2004-07-08 00:00
22-year member
UID 28010
Gender Male
From 北京
Status Offline
Of course that's not possible. If it were feasible, Grub4Win would have been made long ago. Hehe. ;)
Floor 7 Posted 2007-03-19 04:02 ·  中国 福建 福州 电信
新手上路
Credits 2
Posts 1
Joined 2006-08-21 03:00
19-year member
UID 60939
Status Offline
Can Avldrng be used for VISTA installation?
Floor 8 Posted 2007-04-18 09:07 ·  中国 广东 广州 电信
初级用户
Credits 25
Posts 11
Joined 2007-04-18 07:08
19-year member
UID 85593
Gender Male
Status Offline
Floor 9 Posted 2007-04-20 12:39 ·  中国 上海 东方有线
初级用户
Credits 30
Posts 13
Joined 2007-04-07 14:00
19-year member
UID 84286
Gender Male
Status Offline
LZ, the solution you mentioned seems to be able to solve a problem I raised before:
http://www.cn-dos.net/forum/viewthread.php?tid=29312&fpage=1&highlight=

I could boot the system with command.exe\io.sys\config.sys under fat32 before. Now I want to use Dos in ntfs partition. How can I boot the system with the most streamlined several files (I don't like to install cumbersome tools like矮人, although they are excellent), and can realize the read-write function of ntfs partition. Hehe, it's a problem of the century. Everyone, help out.

Is that right? Can you go to help me solve it? Thank you.
能不能告诉我现在谁的计算机使用Dos作为主要的操作系统。
Floor 10 Posted 2008-04-10 16:25 ·  中国 安徽 淮南 电信
新手上路
Credits 4
Posts 2
Joined 2008-04-10 16:01
18-year member
UID 115490
Gender Male
Status Offline
Good stuff
Floor 11 Posted 2008-04-13 11:35 ·  中国 广东 深圳 电信
初级用户
Credits 24
Posts 11
Joined 2006-03-08 19:45
20-year member
UID 51609
Status Offline
Originally posted by chujiafu at 2005-9-11 07:15:

What I mean is: Before installing WinXP, I formatted the C: drive as the system drive using Format c:/s, and then installed WinXP. Then when WinXP starts, press F8, and you can enter DOS. In such a DOS, can you enter WinXP without restarting?




Actually, it is feasible, but the prerequisite is that the C drive must be in Fat 32 format
Floor 12 Posted 2008-04-14 19:43 ·  中国 江苏 徐州 中移铁通
初级用户
Credits 43
Posts 29
Joined 2008-03-31 15:01
18-year member
UID 114543
Gender Male
Status Offline
Haha, amazing... In this way, even if you install Win98 later - if someone still installs Win98 & xP - there's no need to worry.
Floor 13 Posted 2008-04-15 13:23 ·  中国 山西 大同 联通
新手上路
Credits 10
Posts 5
Joined 2008-04-15 12:49
18-year member
UID 115967
Gender Male
Status Offline
Floor 14 Posted 2008-05-08 00:24 ·  中国 辽宁 沈阳 联通
新手上路
Credits 2
Posts 1
Joined 2008-05-07 23:13
18-year member
UID 118055
Gender Male
Status Offline
Floor 15 Posted 2008-05-13 10:12 ·  中国 江西 吉安 遂川县 电信
中级用户
★★
Credits 253
Posts 112
Joined 2006-05-31 11:12
20-year member
UID 56308
Gender Male
Status Offline
Now the grub4dos can also load NTLDR and setup.bin from DOS.
Forum Jump: