![]() |
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-25 19:19 |
47,812 topics / 349,910 posts / today 0 new / 48,263 members |
| 其它操作系统综合讨论区 » About boot.ini (repost) |
| Printable Version 1,568 / 11 |
| Floor1 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
| Floor2 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
Boot.ini needs to have its attributes changed before it can be modified. Enter DOS, command:
attrib -r -s -h c:\boot.ini timeout = Default value: 30 Purpose: sets how long the user has to make a choice before the countdown reaches its set value when the menu appears. There are two special values in its setting as follows: Setting 0 means the system immediately boots the default item without a countdown, and the user cannot choose. Setting –1 cancels the countdown, and the menu will remain until the user makes a selection. default = Description: its command is one of the option commands in the 【operating systems】 section + + parameters Explanation of the parameters inside: IDE interface = multi(0)disk(0)rdisk(c)partition(d) For c on an IDE interface, this is the hard disk sequence number connected to the controller card. A hard disk connected as Primary Master is set to 0, a hard disk connected as Primary Slave is set to 1, a hard disk connected as Secondary Master is set to 2, and one connected as S econdary Slave is set to 3. d is the partition number on the hard disk. 1 means the first partition, 2 means the second partition, and so on. = after NTLDR reads Boot.ini, this is the selection item displayed on the menu. Parameters = set the mode in which the operating system starts. For a normally booted operating system, it is not necessary to add any parameters. Parameter descriptions: /BASEVIDEO Requests that the system use the standard VGA driver and give up the original driver for booting. /MAXMEM:n This parameter can set the maximum memory used by Windows NT. The minimum must be set to 12MB. The n value is the number of MB set. /NOSERIALMICE = COMx Requests that the system not detect COM ports at boot. If only /NOSERIALMICE is entered without specifying a COM port, then all COM ports will not be detected. /BAUDRATE = modem speed Sets the transmission rate value used when debugging through a modem. The default value is 9600. /CRASHDEBUG Sets the debugger to be loaded when Windows NT starts. When the system encounters an error, debugging work begins. /DEBUG Sets the debugger to be loaded when Windows NT starts, and debugging begins immediately. /NODEBUG Do not use the debugging function. /SOS During the process of starting Windows NT, it displays the drivers currently being loaded. |
|
| Floor3 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
All related to boot.ini
timeout=5 (delay time before automatically selecting the default operating system) default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS (the partition where the default operating system is located , 2K is winnt) multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows XP" /fastdetect C:\=Windows 98 windows xp, windows 98 (c:\ doesn't need to be changed) can be changed timeout can be changed This is my boot.ini, drive C 3G--xp, drive H 1G--98 Usually you install xp, 2000 first then install 98 After installation, it's best to back up the files under the root directory of c:, just a few MB If you've made a dual system or want to delete a certain system, you can just delete it directly, then modify boot.ini But for files in the root directory of drive c:, if you're not familiar with them, leave them there |
|
| Floor4 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
Topic: About methods to restore (or freshly install) the WinXp OS Loader.
1) First unpack this archive, and put the executable file in c:\winnt\ldr\w2k( the directory if necessary) 2) Boot with a Win98 boot disk, then sys a: c: 3) cd c:\winnt\ldr\w2k 4) winnt {it will tell you it can't find the installation files, that's okay, press F3 to exit, and reboot} 5) Now the boot menu is back again, hehe. Enter the original system, then edit boot.ini. 6) Strictly speaking, all of the above is nonsense, you only need to remember this part. Boot record: use win2k's winnt.exe + dosnet.inf to add it. Boot files: use winxp's ntdetct.com + ntldr + bootfont.bin. |
|
| Floor5 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
Make NT OS Loader work on a FAT32 partition.
Required files: From WINDOWS2000 WINNT.EXE 79.9k DOSNET.INF 117k NTLDR 209k Method: 1.Copy NTLDR to the root directory of drive C. 2.Copy WINNT.EXE and DOSNET.INF into the same directory. 3.Restart the machine and enter Dos6.22 or Dos7.x (Saft Mode Command Prompt mode) Run Winnt /a and keep pressing Enter all the way until it can no longer continue, then press Ctrl-Alt-Del for a warm reboot, and you will see the NT OS Loader screen. At this time enter Dos or bar, delete the $win_nt$.~bt folder, modify the Boot.ini file. Mission accomplished, then just add Red Hat and the like, hehe. |
|
| Floor6 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
I found that many friends, after installing Win2000, want to go back to Win98 or WinMe.
So after installing 98 or Me, they can no longer boot the original 2000! Actually, as long as the partition where you originally installed 2000 is still intact, you can easily restore the 2000 boot! Actually, under 98 and Me, we can both run the 2000 installer. We can take advantage of this “loophole” to restore the 2000 boot loader without reinstalling 2000. 1.Run the 2000 installer. 2.Choose fresh installation. ____>Be careful not to select “Copy all installation files from the installation CD to the hard disk” in “Advanced Options” 3.Doesn't matter, just keep clicking Next. When the installer prompts for a reboot, choose not to reboot! Now, the 2000 boot loader has already been restored! But if you want it to correctly boot your original 2000, you still need to do a bit more! 1.If you backed up c:\boot.ini before installing 98/Me, then just copy this backup back to c:\! 2.If you didn't back it up, then it's more complicated! Refer to the post above and write a boot.ini file yourself. Finally, after restoring boot.ini, there is still some cleanup work to do—delete the 2000 inst aller's temporary files! Just delete the $*.* on each disk! |
|
| Floor7 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
| Floor8 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
My computer originally dual-booted Win 98 and Windows XP. Later I felt Win 98 was not stable enough, so I upgraded it to Wi
n 2000, but as a result Windows XP could no longer boot. What should I do? Upgrading Win 98 to Win 2000 causes Win 2000 to overwrite the three important boot files ntldr, ntdetect.com, and boot.ini. Win 2000 cannot boot Windows XP, causing Windows XP to fail to start. The key to solving this problem is to use Windows XP to boot Win 2000 (note: Win 2000 cannot boot Windows XP, but Windows XP can boot Win 2000), that is, use Windows XP's ntldr and ntdetect.com files to boot the sys tem, letting Windows XP boot Win 2000. The method to solve the problem: first boot Win 98, then extract ntldr and ntdetect.com from the I386 directory of the Windows XP installation CD, copy these two files to the root directory of the system boot partition, and set them to read-only and hidden attributes. This way you can boot your Windows XP! If you mainly use Windows XP for work and want to change the default boot option back to Windows XP, you only need to use Notepad to edit the boot.ini file and copy the XP boot entry of that file after “default=”, as follows: timeout=30 default=multi(0)disk(0)rdisk(0)partition(20)\WINDOWS multi(0)disk(0)rdisk(0)partition(20)\WINDOWS=“Microsoft Windows XP Profession al”/fastdetect multi(0)disk(0)rdisk(0)partition(4)\WINNT=“Windows NT Server Version 4.00 ”/basevideo /so multi(0)disk(0)rdisk(0)partition(6)\WINNT=“Microsoft Windows 2000 Server”/fa stdetect /noguiboo C:\ = “Microsoft Windows” Finally, set it to read-only and hidden attributes and save it to the root directory of the system boot partition. Another method is: from another machine that can boot normally and has the same version of Windows XP installed, copy these 3 files over, then edit the boot.ini file as needed according to the above method (with Windows XP as the default option), and that will do! In general, if before upgrading you back up those 3 boot files, then install Win 2 000 from a Win 98 boot disk, and after installation restore those 3 backup files to the root directory of the system boot partition, you can avoid the above trouble from happening! -- |
|
| Floor9 ko20010214 | Posted 2003-06-28 00:00 |
| 版主 Posts 1,628 Credits 7,296 | |
|
Installing an nt system and a 98 system
Put the main system on drive c, the secondary one on drive d If both of these are made primary partitions, the later primary partition will automatically move to the last drive letter, but still before the CD-ROM drive letter, which is not bad Note that once there is an ntfs partition, you won't be able to install win98, so if you want to install an nt system or simply not use an ntfs partition The installation process is very simple, just the same as a normal installation After installation, modify boot.ini as you wish that's all |
|
| Floor10 yeah | Posted 2003-06-29 00:00 |
| 中级用户 Posts 54 Credits 347 | |
|
Good repost, worth collecting.
|
|
| Floor11 LanE | Posted 2003-06-29 00:00 |
| 银牌会员 Posts 648 Credits 1,835 | |
|
Nice
|
|
| Floor12 tanglu_sd | Posted 2003-07-01 00:00 |
| 高级用户 Posts 271 Credits 948 From sd | |
|
Not bad, collecting this.
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |