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-06-24 20:05
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Want to make your own grldr View 2,449 Replies 4
Original Poster Posted 2009-05-05 02:41 ·  中国 浙江 衢州 联通
新手上路
Credits 17
Posts 8
Joined 2009-04-29 03:26
17-year member
UID 144035
Gender Male
Status Offline
Just started to get in touch with grub4dos. Want to know how to make my own grldr. Tried many times but didn't succeed.
Floor 2 Posted 2009-05-12 04:18 ·  中国 北京 联通
中级用户
★★
Credits 325
Posts 155
Joined 2007-08-14 14:16
18-year member
UID 95120
Gender Male
Status Offline
3 grub4dos初级 Tutorial - Advanced Section

3.3 Using Personalized grub4dos Filenames

The core file of grub is grldr/grldr.mbr. The introductory section introduced "Entering grub4dos through the Windows NT boot menu", which is adding a grldr item in boot.ini; and "Entering grub4dos through the Windows VISTA boot menu", which is adding a grldr.mbr item in BCD.

As the influence of grub4dos expands day by day, more and more tools based on grub4dos are emerging, such as the relatively influential one-click ghost,矮人DOS toolkit, MAXDOS, etc. (My "GGhost One-Click Restore" is also based on grub4dos). To avoid conflicts, most of these software use the method of modifying the grldr filename. To modify it to a personalized filename, except for recompiling by oneself, generally a brute-force modification method is adopted. Obviously, this has certain difficulties in operation for general users, which is likely to cause the software to not run or bring unpredictable bugs.

However, the new version of grubinst [2007-07-16(r17)] fully supports modifying the external grldr/grldr.mbr filename by oneself, which is undoubtedly a boon for beginners.

With grubinst, you can also simply and reliably modify it to a personalized filename.

The following takes renaming grldr to mygrldr as an example for illustration.

First, copy grldr to C:\ and rename it to mygrldr,
Then, in the grubinst directory, execute the following command:

grubinst -e -b=mygrldr C:\mygrldr

In this way, the boot.ini can be correspondingly changed to:

c:\mygrldr="My GRUB4DOS"


It can also be booted with grldr.mbr. For example, rename grldr.mbr to mygrldr.mbr and execute:

grubinst -e -b=mygrldr C:\mygrldr.mbr

Add the startup item:

C:\mygrldr.mbr="My GRUB4DOS

After correspondingly modifying the BCD file, the personalized filename can also be used in the Vista system.

【Tip: grldr requires version 7-10 or later.】
Floor 3 Posted 2009-05-14 02:24 ·  中国 山东 临沂 兰山区 电信
中级用户
★★
Credits 208
Posts 97
Joined 2006-12-28 22:08
19-year member
UID 74845
Gender Male
Status Offline
The things above are invalid. Just replace them all with uegrldr!
Floor 4 Posted 2009-05-21 01:30 ·  中国 浙江 衢州 联通
新手上路
Credits 17
Posts 8
Joined 2009-04-29 03:26
17-year member
UID 144035
Gender Male
Status Offline
What you said about UEgrldr is easy to say
Floor 5 Posted 2009-05-21 02:38 ·  中国 山东 青岛 联通
初级用户
DOS-CN
Credits 52
Posts 33
Joined 2008-11-17 14:18
17-year member
UID 131241
Gender Male
Status Offline
一万年太久,只争朝夕!
Forum Jump: