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-24 21:59
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » How does GRUB load the XP installation boot file SETUPLDR.bin? View 8,353 Replies 23
Original Poster Posted 2007-02-06 09:16 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
I copied the XP installation files to a small hard drive. This hard drive has GRUB installed. In the future, when I need to install the system, I just hang it in the position of the optical drive and then use it to boot and install the system. I wonder if it is feasible. What command should I use? Thank you all in advance.
Floor 2 Posted 2007-02-06 10:10 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
Everyone must help me! ; )
Floor 3 Posted 2007-02-06 10:13 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
I took a look at the GRUB commands, and there's a RUN command in there. I'm not sure if that's it. The key thing is I don't have the conditions to test here. When I get to the class, there are conditions but no time.
Floor 4 Posted 2007-02-06 21:20 ·  中国 河南 洛阳 联通
高级用户
★★
Credits 544
Posts 164
Joined 2004-10-17 12:00
21-year member
UID 32648
Gender Male
Status Offline
Which version of GRUB are you using? You didn't make it clear, how can I help you!

If you are using the Chinese version of GRUB 0.95, you can directly use RUN

If you are using GRUB4DOS 0.42, you can use CHAINLOADER
我的留言簿

http://hnlyzhd.ys168.com 我的网络盘
Floor 5 Posted 2007-02-07 00:16 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
I'm sorry, the environment wasn't clearly written. It's for version 0.4.2. If you don't click the given one. Also, when booting the system of the second hard drive, it prompts that NTLDR is missing and can't start. Using the parameter FIND--IGNORE-FLOPPIER can find the hard drive where NTLDR is located, that is, it lists (HD0,0) (HD1,0). What should be done next?
Floor 6 Posted 2007-02-07 00:22 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
I can now test, please tell me how to combine ROOT ROOTNOVERIFY MAKEACTIVE CHAINLOADER to boot my second system
Floor 7 Posted 2007-02-07 00:27 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
And also, there is an NTLDR file on both of my hard drives. GRUB calls it, and all partitions are FAT32.
Floor 8 Posted 2007-02-07 00:41 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
My operation steps are: boot to the GRUB command line mode using the 2nd hard disk (no system but with GRUB), then ROOTNOVERIFY (HD1,0), MAKEACTIVE, CHAINLOADER +1, BOOT. Then it prompts NTLDR IS MISSING and freezes. The FIND --IGNORE-FLOPPIES command can search that both hard disks have NTLDR.
Floor 9 Posted 2007-02-07 00:45 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
Booting with ROOTNOVERIFY (HD1,0) CHAINLOADER /NTLDR BOOT is booting the second hard drive. Those who know the reason, please give pointers.
Floor 10 Posted 2007-02-07 02:40 ·  中国 广东 深圳 福田区 电信
铂金会员
★★★★
DOS一根葱
Credits 5,493
Posts 2,315
Joined 2006-05-01 10:41
20-year member
UID 54766
Gender Male
From 上海
Status Offline
find --set-root (hd1,0)/setupldr.bin
savedefault --wait=2
chainloader +1
第一高手 第二高手

Floor 11 Posted 2007-02-07 02:54 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
Thanks for the guidance. There's a new problem again. Please help. It's about the issue of the boot system crashing above.
Floor 12 Posted 2007-02-07 03:14 ·  中国 河南 洛阳 联通
高级用户
★★
Credits 544
Posts 164
Joined 2004-10-17 12:00
21-year member
UID 32648
Gender Male
Status Offline
It is suggested that you lurk and learn the basic usage of GRUB!
我的留言簿

http://hnlyzhd.ys168.com 我的网络盘
Floor 13 Posted 2007-02-07 03:21 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
Hehe
That does need to be learned. But I work during the day, and there may be things at night, so I rarely have time. Some places are also not well understood. I still need to ask you about the parts I don't understand.
Floor 14 Posted 2007-02-07 06:35 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
This is a classic problem. Microsoft's system doesn't support placing it on (hd1), only on (hd0).

You need to first have

map (hd0) (hd1)
map (hd1) (hd0)

These two commands to swap the disks, and then it may succeed. There was a discussion before, and many people know the solution to this problem, so I won't say more about what to do next.
因为我们亲手创建,这个世界更加美丽。
Floor 15 Posted 2007-02-07 12:32 ·  中国 辽宁 锦州 联通
初级用户
Credits 90
Posts 38
Joined 2007-01-16 08:12
19-year member
UID 76668
Gender Male
Status Offline
Thanks for the follow and guidance, I'll go tinker around.

It's almost New Year, and there'll be no internet when I go home for the holiday. So I wish you a happy New Year in advance! Good health!
Forum Jump: