|
xiaoyunwang
高级用户
   
积分 940
发帖 374
注册 2007-10-17 来自 湖南张家界
状态 离线
|
『楼 主』:
已解决!四种在Grub控制台命令行中启动.ISO镜像都失败
使用 LLM 解释/回答一下
下面四种 Grub4DOS 启动 ISO 镜像的语句块在刚开机启动菜单 .lst 中启动能启动成功, 但是在纯 DOS 下, 键入 grub 进入控制台命令行中,手工输入到chainloader (0xff) 或 chainloader (hd32) 时执行,全部出错,不知何故? 而启动 .IMG 和 .IMA 都没有问题,请问各位 Grub 高手,grub4DOS 的控制台命令中,应该如何手动输入启动 .ISO 镜像?
title 1, Boot ISO
find --set-root /ghost/msdos71s.iso
map --mem /ghost/msdos71s.iso (0xff)
map --hook
chainloader (0xff)
title 2, Boot ISO
find --set-root /ghost/msdos71s.iso
map /ghost/msdos71s.iso (0xff)
map --hook
chainloader (0xff)
title 3, Boot ISO
find --set-root /ghost/msdos71s.iso
map --mem /ghost/msdos71s.iso (hd32)
map --hook
chainloader (hd32)
title 3, Boot ISO
find --set-root /ghost/msdos71s.iso
map /ghost/msdos71s.iso (hd32)
map --hook
chainloader (hd32)
Last edited by xiaoyunwang on 2008-10-15 at 13:25 ]
The following are four blocks of Grub4DOS statements to boot ISO images. They can start successfully in the boot menu.lst at the beginning of boot, but when entering the console command line of Grub by typing "grub" in pure DOS and manually entering "chainloader (0xff)" or "chainloader (hd32)", all errors occur. I don't know why. And there is no problem to boot .IMG and .IMA. Please,各位 Grub masters, how should I manually enter to boot ISO images in the console commands of grub4DOS?
title 1, Boot ISO
find --set-root /ghost/msdos71s.iso
map --mem /ghost/msdos71s.iso (0xff)
map --hook
chainloader (0xff)
title 2, Boot ISO
find --set-root /ghost/msdos71s.iso
map /ghost/msdos71s.iso (0xff)
map --hook
chainloader (0xff)
title 3, Boot ISO
find --set-root /ghost/msdos71s.iso
map --mem /ghost/msdos71s.iso (hd32)
map --hook
chainloader (hd32)
title 3, Boot ISO
find --set-root /ghost/msdos71s.iso
map /ghost/msdos71s.iso (hd32)
map --hook
chainloader (hd32)
Last edited by xiaoyunwang on 2008-10-15 at 13:25 ]
|
|
2008-10-15 12:10 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2008-10-15 12:23 |
|
|
xiaoyunwang
高级用户
   
积分 940
发帖 374
注册 2007-10-17 来自 湖南张家界
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
错误现象为(四种方式都差不多, 而不在命令行中时都能启动 ISO 成功!):
请问如果让在命令行下手工输入启动 .ISO 镜像成功(而手工输入启动 .IMG/.IMA 都没问题)。

The error phenomenon is (the four methods are all similar, and when not in the command line, the ISO can be started successfully!):
Please, if you want to manually input and start the .ISO image under the command line successfully (while manually inputting and starting .IMG/.IMA is all right).

|
|
2008-10-15 12:34 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2008-10-15 12:38 |
|
|
xiaoyunwang
高级用户
   
积分 940
发帖 374
注册 2007-10-17 来自 湖南张家界
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
仍然感谢 lianjiang 兄,我的不少问题大多都是你出手相助的,很感谢您!!!!!
我还以为看了 Grub 教程后就学会了一点了,可真没有想到,在实际应用时却处处出问题,看来准备在纯 DOS 下组织批脚本搜索 .ISO 镜像交给 Grub4DOS 以 grub --config-file="文件路径" 方式启动 .ISO 镜像的想法泡汤了(启动 .ima/.img 当然可以),"不点" 何时才能看到此贴啊,等待中....
Still thank Lianjiang brother, many of my problems are mostly helped by you, thank you so much!!!!!
I thought I learned a little after reading the Grub tutorial, but I really didn't expect that there were problems everywhere in practical application. It seems that the idea of organizing batch scripts under pure DOS to search for .ISO images and hand them over to Grub4DOS to start .ISO images in the way of grub --config-file="file path" is in vain (starting .ima/.img is of course okay). When will "Budian" see this post? Waiting...
|
|
2008-10-15 12:52 |
|
|
xiaoyunwang
高级用户
   
积分 940
发帖 374
注册 2007-10-17 来自 湖南张家界
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
问题解决了,这下把我害惨了,真有一种想哭而又惊喜的感觉,我刚才到真实电脑上测试了一下,全部没有问题,全部通过,无论那种方式启动 .ISO 都成功。VPC 有时真够把人给害惨的了(特别是到处去寻找原因时)...
下面还剩下这个问题未搞定...
要求启动第一分区,并且启动后对系统所作的修改在重启后无效,我的电脑 ( I810PE 主板,128 MB 内存,XP 系统 ) 包括 VPC 上按下面的语句块怎么都启动不了啊, 请帮忙,感谢。现在不是有 " Power Shodw 影子系统吗 "保护 C 盘在重启后还原。 相信 Grub4DOS 的虚拟仿真功能启动系统时也可以做到和影子系统相同的功能,但不知怎样写,我想用 Grub4DOS 的这种功能保护我的 C 盘。下面的写法理论上可行,实际上启动不了。请 Grub 高手帮忙。
title boot partion
map --mem (hd0,0)+1 (hd0)
map (hd0) (hd1)
map --hook
rootnoverify (hd0,0)
chainloader (hd0,0)+1
Last edited by xiaoyunwang on 2008-10-15 at 13:30 ]
The problem is solved, and this has really messed me up. There's a feeling of wanting to cry but also being surprised. I just tested it on a real computer, and everything is fine, all passed. Starting the .ISO in any way is successful. VPC can really mess people up sometimes (especially when searching everywhere for the reason)...
The following problem is still not solved...
I need to boot the first partition, and the modifications made to the system after booting are invalid after restart. My computer (I810PE motherboard, 128 MB memory, XP system) including on VPC, no matter how I use the following code block, it can't boot. Please help, thanks. Now there's "Power Shodw Shadow System" which protects the C drive and restores it after restart. I believe the virtual simulation function of Grub4DOS can also achieve the same function as the shadow system when booting the system, but I don't know how to write it. I want to use this function of Grub4DOS to protect my C drive. The following writing is theoretically feasible, but actually it can't boot. Please help from Grub experts.
title boot partion
map --mem (hd0,0)+1 (hd0)
map (hd0) (hd1)
map --hook
rootnoverify (hd0,0)
chainloader (hd0,0)+1
Last edited by xiaoyunwang on 2008-10-15 at 13:30 ]
|
|
2008-10-15 13:12 |
|
|
不点
银牌会员
     不甘寂寞的人
积分 2491
发帖 1115
注册 2003-9-24
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
你的图片显示 grub4dos 2007-08-17,那时 grub4dos 还没有 ISO 仿真功能呢。
要保护 C 盘,建议试试 无盘天使。
grub4dos 的仿真,只能在实模式下起作用,到了保护模式后就不起作用了。所以你是无法保护你的硬盘的。
Your image shows grub4dos 2007-08-17, when grub4dos didn't have ISO emulation function yet.
To protect drive C, it is recommended to try Wulpan Angel.
The emulation of grub4dos can only work in real mode. When it comes to protected mode, it doesn't work. So you can't protect your hard drive.
|

因为我们亲手创建,这个世界更加美丽。 |
|
2008-10-15 23:52 |
|
|
xiaoyunwang
高级用户
   
积分 940
发帖 374
注册 2007-10-17 来自 湖南张家界
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
呵呵,说曹操,曹操就到了,感谢不点的回复,真实电脑中安装了一个 DOS 工具箱,用的是 2008 10月份的 Grub4DOS ,虚拟电脑中用的是随便提取的一个,未注意年份,相差太大了。
Hehe, speak of the devil and he appears. Thanks to Budian's reply. The real computer has a DOS toolkit installed, using Grub4DOS from October 2008. The virtual computer uses a randomly extracted one, and I didn't pay attention to the year, which differs greatly.
|
|
2008-10-16 00:43 |
|
|
fliger
初级用户
 
积分 24
发帖 11
注册 2008-11-4
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我很想明白原因,我是在真实情况下出现以上问题的,无盘天使好象保护不了引导区吧,按我的理解
只要把ISO文件设置成只读权限,应该能防止ISO中病毒了
Last edited by fliger on 2009-1-30 at 19:53 ]
I really want to understand the reason. I encountered the above problem in a real situation. It seems that Wushang Angel can't protect the boot sector. According to my understanding, as long as the ISO file is set to read-only permission, it should be able to prevent viruses in the ISO.
Last edited by fliger on 2009-1-30 at 19:53 ]
|
|
2009-1-30 19:49 |
|
|
fliger
初级用户
 
积分 24
发帖 11
注册 2008-11-4
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
我听说,有把系统做在D盘,然后用XP自己的分区重定向功能---在磁盘管理里面,把D盘虚拟到C盘里去,这样不管病毒怎么肆虐,其实都是写在一个假的位置上,这样就可以防病毒了,但我还没有尝试过怎么把系统分区重定向,注意 ,要保护的分区一定要在重定向后删除它的盘符
I heard that there is a way to install the system on drive D, and then use XP's own partition redirection function - in Disk Management, virtualize drive D to drive C. In this way, no matter how rampant the virus is, it is actually written in a fake location, so this can prevent viruses, but I haven't tried how to redirect the system partition yet. Note that the partition to be protected must have its drive letter deleted after redirection.
|
|
2009-1-30 19:58 |
|
|
regvip2008
初级用户
 
积分 187
发帖 87
注册 2007-10-23
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
Originally posted by fliger at 2009-1-30 07:58 PM:
我听说,有把系统做在D盘,然后用XP自己的分区重定向功能---在磁盘管理里面,把D盘虚拟到C盘里去,这样不管病毒怎么肆虐,其实都是写在一个假的 ...
这个方法理论上是不错的,不过,不晓得有人试过感觉怎么样?
Originally posted by fliger at 2009-1-30 07:58 PM:
I heard that there is a way to install the system on drive D, and then use XP's own partition redirection function - in Disk Management, virtualize drive D into drive C. In this way, no matter how rampant the virus is, it is actually writing to a fake...
This method is theoretically good, but I wonder if anyone has tried it and how it feels?
|
|
2009-2-3 12:53 |
|