|
mi53
新手上路

积分 14
发帖 6
注册 2010-2-10
状态 离线
|
『楼 主』:
请教下grub4dos的问题
使用 LLM 解释/回答一下
我的硬盘分区:
主分区1(10G)主分区2(20G)逻辑分区1(40G)逻辑分区2(78G)主分区3(1G)
我是用写入MBR启动Grub4dos的,Grub4dos放在主分区3中,menu是这样写的:
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
xp和w7都能正常启动,先在有两个问题:1、主分区3/iso目录下的win7pe_x86_cn_net_standard_with_tools_3.1.091009-1300.7600.16385.iso(695M)内存2g,启动到“正在启动windows”之后就结束了,没有出现鼠标。这个win7pe_x86_cn_net_standard_with_tools_3.1.091009-1300.7600.16385.iso文件是好的,我量产能使用。2、halt命令不能让我的电脑关机,该怎么办?
求救各位大侠,提点意见帮我改改。
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.
|
|
2010-2-11 12:43 |
|
|
wewebb
初级用户
 
积分 66
发帖 53
注册 2009-10-9
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
为什么要 map ISO 呢?将 ISO 文件提取到硬盘上直接引导PE不是更快吗?
Last edited by wewebb on 2010-2-11 at 16:31 ]
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 ]
|
|
2010-2-11 16:30 |
|
|
zohan
初级用户
 
积分 38
发帖 15
注册 2010-2-3
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
不知lz的map命令中的(hd32)是什么?是grub的虚拟驱动器吗?
I don't know what (hd32) in the lz's map command is? Is it a virtual drive of grub?
|
|
2010-2-11 16:58 |
|
|
mi53
新手上路

积分 14
发帖 6
注册 2010-2-10
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
Originally posted by wewebb at 2010-2-11 16:30:
为什么要 map ISO 呢?将 ISO 文件提取到硬盘上直接引导PE不是更快吗?
Last edited by wewebb on 2010-2-11 at 16:31 ]
我是看别人的来用map的,其实我什么都不懂
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
|
|
2010-2-11 21:44 |
|
|
mi53
新手上路

积分 14
发帖 6
注册 2010-2-10
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by zohan at 2010-2-11 16:58:
不知lz的map命令中的(hd32)是什么?是grub的虚拟驱动器吗?
似乎是的
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
|
|
2010-2-11 21:44 |
|
|
zohan
初级用户
 
积分 38
发帖 15
注册 2010-2-3
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
那你试试把(hd32)换成(0xff)
Then you try replacing (hd32) with (0xff)
|
|
2010-2-12 12:38 |
|
|
mi53
新手上路

积分 14
发帖 6
注册 2010-2-10
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
Originally posted by zohan at 2010-2-12 12:38:
那你试试把(hd32)换成(0xff)
我试了下,提示file not found
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
|
|
2010-2-12 13:03 |
|
|
wewebb
初级用户
 
积分 66
发帖 53
注册 2009-10-9
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
你可以试试我启动win7PE的方法:
用 winrar 打开 ISO 将里面的文件/目录全部提取到逻辑分区1中,然后用grub:
title Win 7 PE
chainloader (hd0,4)/bootmgr
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
|
|
2010-2-13 18:52 |
|
|
mi53
新手上路

积分 14
发帖 6
注册 2010-2-10
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
Originally posted by wewebb at 2010-2-13 18:52:
你可以试试我启动win7PE的方法:
用 winrar 打开 ISO 将里面的文件/目录全部提取到逻辑分区1中,然后用grub:
title Win 7 PE
chainloader (hd0,4)/bootmgr
我试试看啊,我在想问个问题,我的主分区3是不是这么表示(hd0,2)
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)?
|
|
2010-2-15 23:32 |
|
|
wewebb
初级用户
 
积分 66
发帖 53
注册 2009-10-9
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
Originally posted by mi53 at 2010-2-15 23:32:
我试试看啊,我在想问个问题,我的主分区3是不是这么表示(hd0,2)
主分区1(10G)主分区2(20G)逻辑分区1(40G)逻辑分区2(78G)主分区3(1G)
从这个分区顺序看,在主分区表中第三个分区(hd0,2)是扩展分区,第四个分区才是主分区3,所以应该这么表示 (hd0,3)
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)
|
|
2010-2-16 16:22 |
|