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-06-25 20:08
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » Boot from a Floppy Without Changing BIOS View 1,012 Replies 10
Original Poster Posted 2003-04-25 00:00 ·  中国 浙江 杭州 华数宽带
初级用户
Credits 179
Posts 25
Joined 2003-04-02 00:00
23-year member
UID 1362
Gender Male
Status Offline
Source: http://www.fixdown.com/article/article/1140.htm

Hearing the floppy drive make noise every time at startup feels awkward; now that problem is solved!

The following is quoted
=============================================

1. The problem

  For computer safety or to speed up system startup, people generally set the BIOS to boot from the hard disk first. But once you run into a situation where you need to use a boot disk to boot the system (such as completely removing viruses under DOS, upgrading the BIOS, etc.), you first have to enter the BIOS and change the settings, and after finishing the job you have to enter the BIOS again to change them back. It's very troublesome. Is there really no way to have both fish and bear's paw? After continuous exploration and testing, a perfect solution was finally found.

  2. The idea for solving it

  Friends who have installed a dual-boot Win98 and Win2000/XP system all know that in the root directory of drive C there is a boot manager startup configuration file called boot.ini. In the Operating Systems section of this file there is a line: C\=″Microsoft Windows″. This is a default usage; its complete form is: C\BOOTSECT.DOS=″Microsoft Windows″. Here BOOTSECT.DOS is the Win98 boot sector file, hidden in the root directory of drive C, and the Microsoft Windows inside the quotation marks is the menu item used to boot Win98. The function of this line is: when you select Microsoft Windows from the “boot menu,” the boot manager boots Win98 from the BOOTSECT.DOS file. From the above process of booting Win98 in a dual-operating-system setup, we can draw the following conclusion: if the boot sector of a boot disk is extracted and made into a file stored in the root directory of drive C, and the related line in boot.ini is modified accordingly, then it is possible to boot the system from the boot disk through the “boot menu,” thus avoiding BIOS changes.

  3. Implementation steps

  1. Install the Win2000/XP boot manager

  In Win2000/XP, or in a dual-boot Win98 and Win2000/XP system, the boot manager is already installed. Below is the process of installing the boot manager under Win98.

  Under Win98, run the installer on the Win2000/XP installation CD, choose “New Installation,” and continue until at startup a boot menu appears with “Microsoft Windows” and “Microsoft Windows 2000/XP Setup.” At this point the Win2000/XP boot manager has been installed. Select “Microsoft Windows” to enter Win98, then delete all files in every hard disk partition whose names begin with $ and end with $.

 2. Make the boot sector file for the boot disk

  Below is a method of using the DEBUG tool included with Win98/2000/XP to make the boot sector file for a boot disk.

  First insert the boot disk into the floppy drive, then at the command prompt under Win98/2000/XP type DEBUG and press Enter. Then at DEBUG's prompt "-" enter the following commands in order and press Enter:

-L 100 0 0 1
-RCX
:200
-N C:\FBOOT.DOS
-W
-Q

  Explanation: the first line reads the boot sector of the boot disk into memory. The second and third lines set the size of the boot sector file to 200B (200B here is hexadecimal, that is 512B in decimal). The fourth line names the boot sector file FBOOT.DOS; readers may name it however they like. The fifth line writes the boot sector data from memory into the FBOOT.DOS file. After the write is completed, the screen will display “write 00200 bytes” the size written to the file is 200B, indicating that the boot sector file has been created successfully. Enter the sixth command Q to exit DEBUG.

  3. Modify boot.ini

  Under Win98, modify boot.ini as follows:


timeout=0
default=c:\

C:\=″Microsoft Windows″
C:\FBOOT.DOS=″ the system from the boot disk″

  Under Win2000/XP, add the following under the section: C:\FBOOT.DOS=″ from the boot disk″, and change the value of timeout to 0.

  4. Boot the system from the boot disk

  After completing the above operations, restart the computer. If you need to boot the system from the boot disk at that time, press F8 to enter the “Windows Advanced Options Menu,” choose “Return to OS Choices Menu,” press Enter to enter the “boot menu,” insert the boot disk into the floppy drive, then choose “Boot the system from the boot disk” to boot from the boot disk. If you do not need to boot from the boot disk, no action is needed and your Win98/2000/XP system will boot quickly.
Floor 2 Posted 2003-04-25 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
BOOTPART already has this function built in, and with one command it can automatically create the floppy boot sector and automatically modify BOOT.INI. So every time I boot from a floppy now, I do it by selecting “Boot from floppy” from the Win2K startup menu.
Wengier - 新DOS时代

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

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

Floor 3 Posted 2003-05-01 00:00 ·  中国 湖北 黄石 电信
中级用户
★★
Credits 349
Posts 78
Joined 2003-03-12 00:00
23-year member
UID 1102
Gender Male
Status Offline
Could you introduce bootpart? I'm very interested.
Thanks!!
Floor 4 Posted 2003-05-02 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Using the following command should do it, right:

BOOTPART A: DISKA.DAT "Boot from the floppy disk(A"
Wengier - 新DOS时代

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

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

Floor 5 Posted 2003-05-02 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Strange... why can't I find the file boot.ini in win 98?? Also, what does boot sector mean??
MSN:tiqit2@hotmail.com
Floor 6 Posted 2003-05-02 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
boot.ini only exists on NT-class systems, right

Teamwork !
Floor 7 Posted 2003-05-02 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
Right!! But why does the article in the top post say there is a boot.ini in WIN 98?? I don't get it. Was it a typo?!
MSN:tiqit2@hotmail.com
Floor 8 Posted 2003-05-02 00:00 ·  中国 北京 263网络通信股份有限公司
银牌会员
★★★
nre
Credits 1,210
Posts 361
Joined 2002-12-28 00:00
23-year member
UID 629
Gender Male
Status Offline
He was talking about a 9X/NT dual-boot system: “Friends who have installed a dual-boot Win98 and Win2000/XP system all know”

Teamwork !
Floor 9 Posted 2003-05-02 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
So it was originally talking about a dual-boot system!! sorry, I didn't read it carefully!!
MSN:tiqit2@hotmail.com
Floor 10 Posted 2003-05-02 00:00 ·  中国 广东 东莞 电信
元老会员
★★★
CEO
Credits 1,019
Posts 300
Joined 2002-10-20 00:00
23-year member
UID 33
Gender Male
From 广东
Status Offline
You can use SPFDISK too. Even under a single Win98 system you can add a menu item to boot from drive A:, much more convenient and enjoyable than the above method :)
禅宗——大道至简,知易行难!
网站: http://www.dgzens.com

QQ: 11951692 微信: dgzens
E-MAIL: warmrose@21cn.com
Floor 11 Posted 2003-05-03 00:00 ·  中国 湖北 武汉 江夏区 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
I use the same method as 禅宗.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Forum Jump: