无忧启动论坛

标题: 求助:新版grldr 不能网启 [打印本页]

作者: h99h99    时间: 2010-12-27 15:14
标题: 求助:新版grldr 不能网启
突然发现新版grldr 不能网启了。我用1219的版本网启失败,换回1006的就可以了!我的启动菜单(本地和网启共用一个菜单):


color white/blue blue/yellow light-red/blue 10
pxe keep
pxe detect NotExist
default 0  && timeout 15
title  Boot PE.iso Load LDR or PE.0 \nLoad /BOOT/LDR or PE.0
find --set-root /BOOT/LDR  && map +1 (hd0)
chainloader /BOOT/LDR || chainloader --force (pd)/BOOT/PE.0


什么原因呢?怎样解决 ?
作者: chenall    时间: 2010-12-27 15:28
应该是自己的问题..我编译之后测试都是用PXE启动的(QEMU的仿PXE启动).
作者: h99h99    时间: 2010-12-27 15:31
原帖由 chenall 于 2010-12-27 15:28 发表
应该是自己的问题..我编译之后测试都是用PXE启动的(QEMU的仿PXE启动).

我上面的菜单是否有问题呢?为什么改用1006的grldr,其它没有动就可以了呢。
作者: zhaohj    时间: 2010-12-27 15:32
把下面两句去掉试试
pxe keep
pxe detect NotExist
作者: h99h99    时间: 2010-12-27 15:34
请问:在g4d 下,什么命令可以列出 所有磁盘分区?
作者: zhaohj    时间: 2010-12-27 15:37
原帖由 h99h99 于 2010-12-27 15:34 发表
请问:在g4d 下,什么命令可以列出 所有磁盘分区?


geometry (hd*)
作者: 2010lifefx    时间: 2010-12-27 15:38
原帖由 <i>h99h99</i> 于 2010-12-27 15:34 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2122511&ptid=184113" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
请问:在g4d 下,什么命令可以列出 所有磁盘分区?
<br />

是find吧。
作者: h99h99    时间: 2010-12-27 15:42
u 盘能够列出来吗?
作者: h99h99    时间: 2010-12-27 16:35
原帖由 zhaohj 于 2010-12-27 15:32 发表
把下面两句去掉试试
pxe keep
pxe detect NotExist



去掉也遇到一样的问题呀.1219 1006 都可以来到菜单  1156
但1219 就出现   5203
换1006 就可以   2968

其它不变。大家可以搭建个pxe环境测试下,是否有我遇到的的情况?

20101227161031156.png (19.16 KB, 下载次数: 116)

20101227161031156.png

20101227160515203.png (9.26 KB, 下载次数: 118)

20101227160515203.png

20101227160852968.png (7.55 KB, 下载次数: 147)

20101227160852968.png

作者: zhaohj    时间: 2010-12-27 16:50
error60已经写得很详细了“镜像没有连续存放,需用contig..."
或者用map --mem
作者: h99h99    时间: 2010-12-27 16:57
原帖由 chenall 于 2010-12-27 15:28 发表
应该是自己的问题..我编译之后测试都是用PXE启动的(QEMU的仿PXE启动).

c大,您是怎样做到用QEMU仿PXE启动的?我想试试,也可以排除我的虚拟机的问题。
作者: chenall    时间: 2010-12-27 17:07
http://bbs.wuyou.net/forum.php?m ... ;page=34#pid2108678
作者: h99h99    时间: 2010-12-27 17:40
原帖由 zhaohj 于 2010-12-27 16:50 发表
error60已经写得很详细了“镜像没有连续存放,需用contig..."
或者用map --mem

那为什么1006 却没有连续存放的要求了?
作者: zhaohj    时间: 2010-12-27 17:59
find --set-root /BOOT/LDR  && map +1 (hd0) 有什么用?

我建议你pxe启动,把菜单修改一下
color white/blue blue/yellow light-red/blue 10
default 0
timeout 15

title  Boot  PE.0 from pxe \nLoad /BOOT/PE.0
pxe keep
chainloader --force /BOOT/PE.0

PE.0应该是STARTROM.0修改而来的吧
作者: h99h99    时间: 2010-12-27 19:39
原帖由 zhaohj 于 2010-12-27 17:59 发表
find --set-root /BOOT/LDR  && map +1 (hd0) 有什么用?

我建议你pxe启动,把菜单修改一下
color white/blue blue/yellow light-red/blue 10
default 0
timeout 15

title  Boot  PE.0 from pxe \nL ...

PE.0是STARTROM.0修改而来的,我这样可以pxe和本地用一个菜单!
作者: h99h99    时间: 2010-12-27 21:23
经过测试,确实是我的二合一(本地和网启共用一个菜单)的问题。但只要删除掉 下面的 && map +1 (hd0)  本地和网启又正常了。不知道删除 && map +1 (hd0)  对本地启动会有什么影响呢?



color white/blue blue/yellow light-red/blue 10
pxe keep
pxe detect NotExist
default 0  && timeout 15
title  Boot PE.iso Load LDR or PE.0 \nLoad /BOOT/LDR or PE.0
find --set-root /BOOT/LDR && map +1 (hd0)
chainloader /BOOT/LDR || chainloader --force (pd)/BOOT/PE.0
作者: h99h99    时间: 2010-12-27 21:26
原帖由 chenall 于 2010-12-27 17:07 发表
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=181883&page=34#pid2108678


又是个好方法,你的 没有打包的qemu 可以共享下吗?谢谢!
作者: hszgb    时间: 2010-12-31 14:00
我的可以正常启动,自己找找原因吧
作者: 2010aetom    时间: 2011-1-3 16:48
路过,学学新东西了




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net./) Powered by Discuz! X3.3