中国DOS联盟论坛

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-12 00:34
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Ask about GRUB4DOS issues
Printable Version  2,281 / 9
Floor1 mi53 Posted 2010-02-11 12:43
新手上路 Posts 6 Credits 14
My hard disk partitions:
Primary partition 1 (10G) Primary partition 2 (20G) Logical partition 1 (40G) Logical partition 2 (78G) Primary partition 3 (1G)
I used to write Grub4dos to the MBR for booting, and Grub4dos is placed in Primary partition 3. The menu is written as follows:
timeout 30

default 0

title Windows 7
root (hd0,1)
makeactive
chainloader +1

title Windows XP
root (hd0,0)
makeactive
chainloader +1

title Win 7 PE
map --mem /iso/win7pe_x86_cn_net_standard_with_tools_3.1.091009-1300.7600.16385.iso (hd32)
map --hook
chainloader (hd32)

title Reboot
reboot

title Shut down
halt

Both XP and W7 can boot normally. Now there are two problems: 1. The win7pe_x86_cn_net_standard_with_tools_3.1.091009-1300.7600.16385.iso (695M) in the /iso directory of Primary partition 3, with 2GB of memory, after booting to "Starting Windows", it ends and no mouse appears. This win7pe_x86_cn_net_standard_with_tools_3.1.091009-1300.7600.16385.iso file is good, and I can test it to be usable. 2. The halt command cannot make my computer shut down. What should I do?
Please ask all the experts, give some suggestions and help me make some changes.
Floor2 wewebb Posted 2010-02-11 16:30
初级用户 Posts 53 Credits 66
Why map ISO? Isn't it faster to extract the ISO file to the hard drive and boot PE directly?

[ Last edited by wewebb on 2010-2-11 at 16:31 ]
Floor3 zohan Posted 2010-02-11 16:58
初级用户 Posts 15 Credits 38
I don't know what (hd32) in the lz's map command is? Is it a virtual drive of grub?
Floor4 mi53 Posted 2010-02-11 21:44
新手上路 Posts 6 Credits 14
Originally posted by wewebb at 2009-2-11 16:30:
Why map ISO? Extracting the ISO file to the hard disk and booting the PE directly is faster, isn't it?

[ Last edited by wewebb on 2010-2-11 at 16:31 ]

I followed others to use map, actually I don't understand anything
Floor5 mi53 Posted 2010-02-11 21:44
新手上路 Posts 6 Credits 14
Originally posted by zohan at 2010-2-11 16:58:
I don't know what (hd32) in your map command is? Is it a virtual drive of grub?

It seems so
Floor6 zohan Posted 2010-02-12 12:38
初级用户 Posts 15 Credits 38
Then you try replacing (hd32) with (0xff)
Floor7 mi53 Posted 2010-02-12 13:03
新手上路 Posts 6 Credits 14
Originally posted by zohan at 2010-2-12 12:38:
Then you try replacing (hd32) with (0xff)

I tried it and got a "file not found" prompt
Floor8 wewebb Posted 2010-02-13 18:52
初级用户 Posts 53 Credits 66
You can try the method I use to boot Win7 PE:

Use winrar to open the ISO and extract all the files/directories inside to logical partition 1, then use grub:

title Win 7 PE
chainloader (hd0,4)/bootmgr
Floor9 mi53 Posted 2010-02-15 23:32
新手上路 Posts 6 Credits 14
Originally posted by wewebb at 2010-2-13 18:52:
You can try the method I use to boot Win7 PE:

Extract all files/directories inside the ISO to logical partition 1 using WinRAR, then use grub:

title Win 7 PE
chainloader (hd0,4)/bootmgr

I'll give it a try. I'm also wondering, is my primary partition 3 represented as (hd0,2)?
Floor10 wewebb Posted 2010-02-16 16:22
初级用户 Posts 53 Credits 66
Originally posted by mi53 at 2010-2-15 23:32:

Let me try. I want to ask a question. Is my primary partition 3 represented as (hd0,2)?



Primary partition 1 (10G), primary partition 2 (20G), logical partition 1 (40G), logical partition 2 (78G), primary partition 3 (1G)

From this partition order, the third partition in the master partition table (hd0,2) is an extended partition, and the fourth partition is the primary partition 3, so it should be represented as (hd0,3)
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023