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-08-26 21:07
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Is it impossible to boot an NT system from a non-first primary partition of a non-first hard disk View 2,924 Replies 22
Original Poster Posted 2006-08-14 15:27 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Tested booting the second primary partition of the third hard disk (XP system, FAT32), set it as active, and hid the first primary partition.

BIOS was set to boot from the third hard disk, but it displayed "NTLDR IS MISSING"
But all system files were good.

Then, tried SYS this partition: transferred the DOS system, booted again, and could boot to the DOS drop-down (which is this partition),
Explanation: Can boot to a non-first hard disk and non-first primary partition.

So, does that mean NT systems don't work?

[ Last edited by GOTOmsdos on 2006-8-14 at 15:31 ]
Floor 2 Posted 2006-08-14 15:34 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Strange, according to reason, if the boot from the third hard disk is set in the BIOS, (hd0) and (hd2) should be swapped, that is, the third hard disk in grub should be (hd0).

Since ntldr and boot.ini can only be placed in (hd0) (placing them on other hard disks will cause them to not be found), so manually swap the disk numbers of the two disks in grub, and then boot.

map (hd0) (hd2)
map (hd2) (hd0)
map --hook
chainloader (hd0,0)/ntldr
boot

Note that before this, change the following in boot.ini:

multi(0)disk(0)rdisk(2)partition(1)\WINDOWS

to

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
Floor 3 Posted 2006-08-14 15:58 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
chainloader (hd0,0)/ntldr

You have (hd0,0) here, but I want it to be (hd0,1)!)
Brother fujianabc, haha! You are off-topic!
Floor 4 Posted 2006-08-14 16:19 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Tried modifying BOOT.INI, but it didn't work; the same error still occurs.
Floor 5 Posted 2006-08-14 16:33 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
After installing with the installation CD in DOS using %cdrom%\i386\winnt.exe, when restarting, delete the temporary files and then modify BOOT.INI to see if the installation program can detect rdisk(?) partition(?)
Floor 6 Posted 2006-08-14 16:39 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by GOTOmsdos at 2006-8-14 03:58 PM:
chainloader (hd0,0)/ntldr

You have (hd0,0) here, I want it to be (hd0,1)!
Brother fujianabc haha! You are off-topic!

Whether it is ntldr or boot.ini, they must be placed on hd0. If it is hd2, use the grub map command to swap the disk numbers.
It doesn't matter much whether it is (hd2,0) or (hd2,1).

Replace the original
multi(0)disk(0)rdisk(2)partition(2)\WINDOWS
with
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
instead.
Floor 7 Posted 2006-08-14 16:51 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
It has been modified like this, but it doesn't work.
Floor 8 Posted 2006-08-14 16:54 ·  中国 上海 黄浦区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Boot ntldr using GRUB's chainloader, not the disk's own boot sector.

chainloader (hd2,1)/ntldr
boot

Or

chainloader (hd0,1)/ntldr
boot
Floor 9 Posted 2006-08-14 16:57 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Is it impossible to boot into an NT system on a non-first primary partition of a non-first hard disk?
This is negative. I once installed NT on the last active primary partition, as shown in the following figure:
GOTOmsdos brother, an old revolutionary has encountered a new problem, right?
Floor 10 Posted 2006-08-14 17:02 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
What's wrong? I can't upload attachments with the .jpg extension. The attachment size that can be uploaded has changed from the original 1024KB to 300KB. Is it the same for you?
Floor 11 Posted 2006-08-14 17:21 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Originally posted by fastslz at 2006-8-14 05:02 PM:
What's wrong?
I can't upload attachments with.jpg extension.
The attachment size that can be uploaded has changed from the original 1024KB to 300KB. Is it the same for you?

Using png or gif, bmp is too large.
Floor 12 Posted 2006-08-14 17:47 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Both PNG and GIF have been tried, but they can be uploaded but not displayed. Maybe I should delete them. Now the prompt is: The attached file cannot be saved to the server. It may be that the space is full. Please upload the attachment to the China DOS Union File Upload System or contact the administrator.

[ Last edited by fastslz on 2006-8-14 at 17:50 ]
Floor 13 Posted 2006-08-15 00:59 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
chainloader (hd2,1)/ntldr
boot
or
chainloader (hd0,1)/ntldr
boot

Tried, no good.
GRUB prompt:
insupported parameter
Floor 14 Posted 2006-08-15 01:01 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Now, the problem is: He just can't find NTLDR, but it's just there. Booting into DOS is fine..
Floor 15 Posted 2006-08-15 01:28 ·  中国 上海 松江区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
Oh, right, the version of NTLDR also matters. For example, if you install 2003 first and then XP, when starting 2003, there will be this prompt, including ntdetect.com and bootfont.bin
Forum Jump: