China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-13 02:14
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » [Original]Perfect Tutorial for Creating a Bootable Disk with a Full GRUB Emulation Image Using Easyboot View 13,533 Replies 13
Original Poster Posted 2008-01-01 10:33 ·  中国 广东 东莞 电信
中级用户
★★
Credits 294
Posts 135
Joined 2007-03-09 14:47
19-year member
UID 81212
Gender Male
Status Offline
Instructions:
Previously, a netizen asked me if there was a relatively fast GHOST recovery image. At that time, I was a bit confused and thought it referred to the GHO image, which is only related to its compression level, so I answered like that; later I realized that he was referring to the IMG image file used for recovery. This made me think that when making a bootable disk with EZB, when EZB is performing IMG disk emulation, the DOS interface always pauses for a long time before entering the program, which is really unpleasant in actual use!
However, this is not a problem. DXs have long been using GRUB or BCDW... and other tools to make bootable disks, and there will be no above problems; this is indeed the case, but often such boot interface screens are unsightly:) Although you can also DIY, there are always some frames on it, which is unpleasant to look at; with EZB, you can be as arbitrary as possible to PS out each element that belongs to you, fresh and beautiful~~; Am I talking nonsense? Wait, don't rush to throw bricks at me, I'm also tired of typing, hehe~~:) The purpose of writing this tutorial is also to let the novices use EZB to make a bootable disk with GRUB emulated IMG image and their own professional LOGO! It's really killing two birds with one stone. Okay, that's all for nonsense, and now let's get to the topic:

Please prepare the following tools first:
1. grub4dos built-in menu editor.rar
2. grldr
If you are not familiar with GRUB, you can first study my other post: http://bbs.wuyou.com/viewthread.php?tid=111300&;

I. It is not difficult to realize the GRUB emulated IMG image with EZB. EZB has already realized this function, but maybe some people are not clear about it. When we usually make a bootable disk, we are used to writing run *.img... like this. At this time, the result of running IMG will have the first situation, that is, the time for DOS to start and initialize the system is very long, and there will be a place where it pauses for a long time. Since this is the case, let's use GRUB to emulate IMG. The method: bcdw /grldr is shown in the following figure:

It means to specify the grldr in the root directory of the CD as the boot file, start GRUB, GRUB will automatically check the menu.lst file, and the storage location (including mapping commands, etc.) of the IMG image file specified in the menu.lst file in the CD, then GRUB emulates this IMG image, and if it is successful, everything is OK. The fact proves that this process is very temporary, that is, the fast effect we want!
Here, it should be noted that there are two types of menu.lst files, one is built-in and the other is external. The external one is placed in the root \ directory of the CD, and the built-in menu is compiled in the grldr file itself. Then the problem is that using bcdw /grldr only completes the IMG emulation of one of the main interface menu items. Although we can use run 1.img run 2.img run 3.img..., can we also use bcdw /grldr? There can only be one grldr file in the root directory of the CD, and then they are all performing the same operation. Although we can list more IMGs in the menu.lst file for us to choose to execute a certain IMG image, but that is not the effect we need. What we want is to select a certain menu item from the main interface and directly GRUB emulate a certain IMG. Is there really a way to do it? The answer is yes, let's continue to read down...

II. This step is the key, and you must be careful. First, let's talk about the principle:
Use multiple grldr files, and the characteristics of the built-in menu, then use the grub4dos built-in menu editor, import the prepared menu.lst file content for each grldr file, and then write bcdw /xxldr in the execution command box of EZB to be done~~ hehe:)

1> First, create a folder in the root directory of the CD, such as grubldr, which should be in lowercase, then copy the grldr file to this directory, and then copy it several times. For example, if your EZB main interface menu has several items, you can copy it into several, as shown in the figure:


2> Then rename them one by one, as shown in the figure:

Here, for the sake of safety, it is recommended to only change the first two letters such as??ldr, and change all of them in turn; the purpose here is also to make the previous bcdw command correspond one by one with the *ldr file, so that they can independently execute their respective files during the execution process. Do you understand?
Some people will say that grldr should be placed in the root directory. I also thought so at first. The bosses on the BBS all said that it must be placed in the root directory, otherwise it won't work; but placing so many *ldr in the root directory must not be beautiful. This is the reason why I created the grubldr folder in the root directory. After my practice proves that when using EZB to make GRUB emulated IMG, the grldr file can not be in the root directory, except in other cases, such as the hard disk must be in the root directory.
After completing this step, the names of the grldr files are different, but they are essentially the same file, so we need to change their built-in menu content to achieve the purpose of them performing different operations. So next we need to edit the content of each external menu.lst menu, and then import it.

3> Then create a folder in the root directory of the CD, such as grubimg, which should be in lowercase, and then put all your IMG images in this directory, as shown in the figure:



When we used the "run" command before, the IMG files were all placed in the EZBOOT folder. Now with the "bcdw" command, the IMG files should be placed in the grubimg directory under the root directory of the CD, but you can also change it to the directory name you want.

4> Edit the content of the menu.lst menu as follows, see the figure:

Explanation: Only these few sentences are enough, don't add new statements, otherwise the GRUB boot menu interface may be called out when executing; here just understand the meaning of the first sentence. In the above figure, map is the disk emulation command, mem (cd) represents the root directory of the CD, grubimg/ghost_xp.img is the storage path of the image file, and the whole sentence means to perform disk emulation on the grubimg/ghost_xp.img file under the root directory of the CD. Do you understand~~ hehe:)

5> Copy your menu.lst file in the same way to make multiple copies, and then change them to different names.
Note: All these *.lst files are only temporarily needed, because we are using the grldr built-in menu, so don't put them in the CD at all. You can first put them anywhere on the hard disk, and you don't need them after completing the import. As shown in the figure:

Similarly, all these *.lst files are essentially the same file, so we need to change the first sentence in each *.lst file that we explained in step 4 a little, that is, change it to the storage path of your own IMG image file, and then save. As shown in the figure:


6> Use the grub4dos built-in menu editor (here, I would like to thank the author for providing such a good tool, otherwise it would be much more troublesome) to import the above edited *.lst file into the corresponding *ldr file. Be careful not to get confused, as shown in the figure:


After successfully importing all the menus in turn, then all the files in CD\grubldr\*ldr are files with their own different built-in menu guides. So far, you have succeeded in most of it! hehe~~

7> Everything is ready, then open EZB and select the menu bar, enter bcdw /grubldr/*ldr in the execution command, see the figure:

Change all the corresponding menu items in turn and then OK.

III. Make ISO CD image with UltraISO
After completing the above steps, now you can start making ISO output.
1> Select the boot CD menu--Load boot file--Select boot file loader.bin, as shown in the figure:


2> If you don't want others to see the content of the grubimg and grubldr folders, you can completely hide them. Select these two folders, right-click/hide, and it is best to hide EZBOOT as well, as shown in the figure:


3> Select the file menu--Properties--Check to allow lowercase letters, this step must be done, otherwise it will not be successful in the end. As shown in the figure:


4. Finally, select to save the ISO CD image and it's OK. Finally, send a boot interface I made:


I hope that after spending so much time writing this tutorial, I hope it will be helpful to both the old birds and the young birds~~~
PS: I'm exhausted, it's 2 o'clock in the morning again, but the tutorial is done, and I'm still very relieved~~~ hehe...
Oh, I forgot, today is New Year's Day, I wish everyone a happy New Year's Day哦~~
My QQ: 51461981 hlz8088@163.com

[ Last edited by hulongzhuo on 2008-1-1 at 11:22 PM ]
Floor 2 Posted 2008-01-01 11:25 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
One img with one grldr, that's a bit too tiring. Hehe.
Support, those who pursue visual effects are worth referring to.
Windows 一键还原
http://www.yjhy.com
Floor 3 Posted 2008-01-01 18:44 ·  中国 河北 保定 联通
初级用户
Credits 114
Posts 49
Joined 2006-10-08 06:47
19-year member
UID 64907
Status Offline
Those who rename to scoop out problems like you
Floor 4 Posted 2008-01-01 19:19 ·  中国 辽宁 辽阳 联通
初级用户
★★
DOS之迷
Credits 174
Posts 81
Joined 2007-11-07 21:13
18-year member
UID 102004
Gender Male
Status Offline
Thanks, hard work during the New Year!
愛意之无尽@灵犀!
QQ:71216716 E_mail:l.h.r.@163.com
Floor 5 Posted 2008-01-01 22:07 ·  中国 广东 东莞 电信
中级用户
★★
Credits 294
Posts 135
Joined 2007-03-09 14:47
19-year member
UID 81212
Gender Male
Status Offline
Originally posted by lianjiang2004 at 2008-1-1 11:25 AM:
Using one img with one grldr is a bit too tiring. Hehe.
Support, those who pursue visual effects are worth referring to.


Thanks! ~~

I am a perfectionist. It's okay to be a bit tired, but it's definitely valuable!!
Floor 6 Posted 2008-01-01 22:11 ·  中国 广东 东莞 电信
中级用户
★★
Credits 294
Posts 135
Joined 2007-03-09 14:47
19-year member
UID 81212
Gender Male
Status Offline
Originally posted by bd540 at 2008-1-1 06:44 PM:
Renaming like you do may cause problems


There will be no problems unless you are very careless! I've done it many times, all in one go, and I've never found any problems.
Floor 7 Posted 2008-01-03 19:55 ·  中国 重庆 江北区 中移铁通
新手上路
Credits 6
Posts 3
Joined 2008-01-02 21:01
18-year member
UID 107505
Gender Male
Status Offline
Got it, thank you for the楼主's tutorial.
Floor 8 Posted 2008-01-05 07:34 ·  中国 香港
新手上路
Credits 16
Posts 7
Joined 2006-08-03 14:03
19-year member
UID 59759
Gender Male
From shandong
Status Offline
楼主,您好

First of all, thank you for your tutorial, I have benefited a lot

But after I followed the method you said to copy, an error occurred. I don't know what's going on, please help me take a look

The following is the result when I run in VM. But it stops here



Thanks!
Floor 9 Posted 2008-01-05 08:28 ·  中国 广东 东莞 电信
中级用户
★★
Credits 294
Posts 135
Joined 2007-03-09 14:47
19-year member
UID 81212
Gender Male
Status Offline
Can't see the picture~~~
Floor 10 Posted 2008-01-06 01:29 ·  中国 湖北 武汉 电信
新手上路
Credits 16
Posts 7
Joined 2006-08-03 14:03
19-year member
UID 59759
Gender Male
From shandong
Status Offline
Floor 11 Posted 2008-01-06 18:37 ·  中国 陕西 西安 电信
初级用户
Credits 23
Posts 10
Joined 2006-09-25 01:59
19-year member
UID 63576
Status Offline
Floor 12 Posted 2008-01-09 00:28 ·  中国 黑龙江 哈尔滨 联通
初级用户
Credits 38
Posts 10
Joined 2006-11-11 12:18
19-year member
UID 70225
Gender Male
Status Offline
The production process is a bit complicated. Just to run XXX.img, is there no time of stagnation? Need to change so many things, it's a bit of a waste of time...
Floor 13 Posted 2010-11-05 14:17 ·  中国 天津 电信
初级用户
Credits 32
Posts 16
Joined 2007-11-19 18:11
18-year member
UID 103152
Gender Male
Status Offline
I have learned it, the materials have been collected, and I will study them slowly. Thanks.
Floor 14 Posted 2023-10-07 18:13 ·  俄罗斯
Guest
Unregistered
Buy VPS cheap or rent a place in the colocation center

https://mtw.ru/vds_isp colocation hosting
Forum Jump: