![]() |
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 03:14 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Solved! Four attempts to boot .ISO images in the Grub console command line all failed |
| Printable Version 3,812 / 10 |
| Floor1 xiaoyunwang | Posted 2008-10-15 12:10 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
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 ] |
|
| Floor2 lianjiang2004 | Posted 2008-10-15 12:23 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
Error, specific information should be provided.
|
|
| Floor3 xiaoyunwang | Posted 2008-10-15 12:34 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
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). ![]() |
|
| Floor4 lianjiang2004 | Posted 2008-10-15 12:38 |
| 金牌会员 Posts 1,884 Credits 3,946 | |
|
Specific reasons and solutions, etc. Wait for the author's reply.
Don't understand. |
|
| Floor5 xiaoyunwang | Posted 2008-10-15 12:52 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
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... |
|
| Floor6 xiaoyunwang | Posted 2008-10-15 13:12 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
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 ] |
|
| Floor7 不点 | Posted 2008-10-15 23:52 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
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. |
|
| Floor8 xiaoyunwang | Posted 2008-10-16 00:43 |
| 高级用户 Posts 374 Credits 940 From 湖南张家界 | |
|
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.
|
|
| Floor9 fliger | Posted 2009-01-30 19:49 |
| 初级用户 Posts 11 Credits 24 | |
|
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 ] |
|
| Floor10 fliger | Posted 2009-01-30 19:58 |
| 初级用户 Posts 11 Credits 24 | |
|
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.
|
|
| Floor11 regvip2008 | Posted 2009-02-03 12:53 |
| 初级用户 Posts 87 Credits 187 | |
Originally posted by fliger at 2009-1-30 07:58 PM: This method is theoretically good, but I wonder if anyone has tried it and how it feels? |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |