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 18:28
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » WinGrub beta version released, those interested, come and take a look View 2,047 Replies 13
Original Poster Posted 2004-05-03 00:00 ·  中国 广东 广州 新一代技术(广州)有限公司BGP节点
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
WinGrub is a graphical interface written based on Grub For Dos without points. Its main functions are:

1. Run under Win9X/Win2K systems
2. Provide a graphical interface for modifying the grub configuration file
3. Provide the function of configuration templates
4. Install grub in the Windows environment
5. Support SplashImage, allowing users to easily select the boot logo

Download address: http://www.windrv.net/release/WINGRUB_001_1.EXE
Floor 2 Posted 2004-05-03 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Hard work!

Downloaded, good, but I'm just running it under win4lin now. This isn't a real Windows environment, so there are some issues.

Also, can pure DOS be supported too? Actually, it's okay if DOS isn't supported. After all, everyone usually uses Windows.

Also, I saw that WINGRUB can modify the savedefault option. Let me explain about the savedefault option.

The savedefault option saves information in the stage2 file, not in menu.lst. So when boot/grub/stage2 takes over control, savedefault works, but when grub.exe or GRLDR takes over control, savedefault doesn't work.

savedefault is written to the second sector of stage2 during the running process. That is, the physical location of stage2 is known. However, GRUB.exe and GRLDR are non-located and dynamically variable. The program doesn't know the physical locations of GRUB.EXE and GRLDR, so it can't savedefault.
因为我们亲手创建,这个世界更加美丽。
Floor 3 Posted 2004-05-03 00:00 ·  中国 广东 广州 新一代技术(广州)有限公司BGP节点
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
I just found such a problem:

My hard drive has two primary partitions. The first is NTFS, the second is FAT. I copied GRLDR into the NTFS, and put /boot/grub into FAT. Then I copied bootgrub to MBR, and reboot. After rebooting, I can enter the >grub interface. Then I typed

root (hd0,1)
setup (hd0)
reboot

But after this reboot, the screen keeps printing GRUB characters and can't enter the system

However, if the first partition is FAT and I repeat the above operations, the system can work normally.

Brother Budian, have you encountered the same problem?
Floor 4 Posted 2004-05-04 00:00 ·  中国 香港 环球全域电讯国际互联节点
中级用户
★★
Credits 385
Posts 118
Joined 2003-11-11 00:00
22-year member
UID 12678
Gender Male
Status Offline
The following is a quote from Budian's post on 2004-5-3 18:30:26:
Hard work!

I downloaded it, it's good, but I'm only running it under win4lin now. This is not a real Windows environment, so there are some problems.

Also, can pure DOS be supported? Actually, it doesn't matter if DOS isn't supported, after all, everyone usually uses Windows.

Also, I saw that WINGRUB can modify the savedefault option. Regarding the savedefault option, let me explain.

The savedefault option saves information in the stage2 file, not in menu.lst. So, when boot/grub/stage2 takes over control, savedefault works, but when grub.exe or GRLDR takes over control, savedefault doesn't work.

savedefault is written to the second sector of stage2 during the running process. That is to say, the physical location of stage2 is known. However, GRUB.exe and GRLDR are non - positioned and dynamically variable. The program doesn't know the physical locations of GRUB.EXE and GRLDR, so it can't do savedefault.






We test WINGRUB and report bugs for it here first.

And would Tinybit and others have a try on it and give some advice?

When Tinybit and bean123 agree and find it ready, we can post
an official release to sourceforge.net.

If Tinybit agrees and opens an account at sourceforge.net,
would bean123 grant admin rights to Tinybit so that Tinybit can also
administer the project at sourceforge.net.

You two can now work together for the project.

I leave it to you both now.




Floor 5 Posted 2004-05-04 00:00 ·  中国 香港 环球全域电讯国际互联节点
中级用户
★★
Credits 385
Posts 118
Joined 2003-11-11 00:00
22-year member
UID 12678
Gender Male
Status Offline
Tinybit and bean123 can discuss directly about the design of the homepage of the project at sourceforge in preparation for the official release at sourceforge.

As I have said, the official homepage of GRUB For DOS should remain at Wengier's site.

The GRUB For DOS & WINGRUB project at sourceforge.net is a child project for GRUB For DOS. The project homepage there at first can be simply a pointer page, giving one pointer to the homepage of GRUB For DOS and another pointer to a webpage of WINGRUB at windrv.net

bean123 can ask annie to design the webpages for the homepage of the project at sourceforge.net and the official webpage of WINGRUB at windrv.net

We have designed a logo for WINGRUB, that is with some yellow stars crowning the original GNU GRUB logo.

Tinybit could put up a logo for his GRUB For DOS at the homepage of the project at sourceforge.net as well.
Floor 6 Posted 2004-05-04 00:00 ·  中国 河南 南阳 内乡县 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
I rarely use NT systems, so I don't know such problems.

But if there are such problems, they should have nothing to do with the patches of GRUB for DOS. They should be bugs of GNU GRUB. The program that finds STAGE2 from MBR is from GNU, and the setup installed to MBR is also from GNU. I didn't make any changes. I basically only modified the map function.
因为我们亲手创建,这个世界更加美丽。
Floor 7 Posted 2004-05-06 00:00 ·  中国 河北 石家庄 桥西区 联通
版主
★★★
操作系统爱好者
Credits 1,113
Posts 392
Joined 2002-11-11 00:00
23-year member
UID 228
Gender Male
Status Offline
Please clarify the specific content that needs to be translated. You just provided a Chinese question, and if you want to translate it, it is "May I ask, what is the main use of GRUB? Is it just to boot a bootable CD that BIOS does not support booting from CD?"
DOS之家 http://doshome.com 站长 葛明阳
Floor 8 Posted 2004-05-06 00:00 ·  美国
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
gmy: That's not the purpose of GRUB at all, but the main purpose of BCDL. There are many introductions to GRUB in this forum, just take a look.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 9 Posted 2004-05-07 00:00 ·  中国 河南 南阳 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
Why didn't I see the WINDRV post when I last replied to bean123? It suddenly popped up today?

Sorry, replying now:

We test WINGRUB and report bugs for it here first.

And would Tinybit and others have a try on it and give some advice?

I think there's no need to worry, everyone will definitely test it. But it needs a process, after all, this has just started. Many people have asked me to make something similar to WINGRUB, but I haven't replied because I'm not good at this. Fortunately, Brother BEAN made it, and it's done well, I very much support it. But I haven't officially started testing yet, mainly because I'm busy with other things and don't have time.

When Tinybit and bean123 agree and find it ready, we can post an official release to sourceforge.net.

Don't wait for me, Brother bean, decide for yourself. What I want is a free body. Since the day I was in poor health, I didn't want to manage the project anymore. Mainly because I'm afraid. That time I had a fear of the end of life (I'm not really afraid of death, but my things haven't been done yet, which is the most concerned). Now although there's no life danger, I really want to get out of project management. Thank you, Brother bean, for letting me really get out of this project.

If Tinybit agrees and opens an account at sourceforge.net, would bean123 grant admin rights to Tinybit so that Tinybit can also administer the project at sourceforge.net.

I registered at sf a few years ago, the name is tinybit. However, I haven't started any projects on sf yet. As just said, don't include me in the management team.

You two can now work together for the project.

I leave it to you both now.

Tinybit and bean123 can discuss directly about the design of the homepage of the project at sourceforge in preparation for the official release at sourceforge.

As I have said, the official homepage of GRUB For DOS should remain at Wengier's site.

The GRUB For DOS & WINGRUB project at sourceforge.net is a child project for GRUB For DOS. The project homepage there at first can be simply a pointer page, giving one pointer to the homepage of GRUB For DOS and another pointer to a webpage of WINGRUB at windrv.net

bean123 can ask annie to design the webpages for the homepage of the project at sourceforge.net and the official webpage of WINGRUB at windrv.net

We have designed a logo for WINGRUB, that is with some yellow stars crowning the original GNU GRUB logo.

Tinybit could put up a logo for his GRUB For DOS at the homepage of the project at sourceforge.net as well.

Agree with the above. But I lack artistic cells and can't innovate in this aspect. Moreover, I think that in the future, grub for dos and WinGRUB will be one project (since it's GPL), it seems that one LOGO is enough. This LOGO can be designed by Brother Bean.

I will only provide patches for the official version in the future, and the official version will be released by bean. The Linux kernel has patches made by Alan Cox and others, and I think this is good. It can quickly release patches without affecting the release of the official version. Brother bean can go to ipdown.com/grub4dos/ to download the patches. If this webpage disappears in the future, I will provide the patches by EMAIL.
因为我们亲手创建,这个世界更加美丽。
Floor 10 Posted 2004-05-26 00:00 ·  中国 重庆 电信
银牌会员
★★★
Credits 2,202
Posts 499
Joined 2003-06-12 00:00
23-year member
UID 4876
Gender Male
Status Offline
Does the Splashimage command of WinGrub need to be changed to (HDX,Y)/X.XPM.GZ; Does Grub recognize c:\XX\YY\XXX.XPM.GZ?

一年四季,枫叶红了又红;人生四季,失去的,还能再来吗?—— !
Floor 11 Posted 2004-05-26 00:00 ·  中国 湖北 武汉 电信
元老会员
★★★★★
步行的人
Credits 9,654
Posts 3,351
Joined 2003-03-11 00:00
23-year member
UID 1113
Gender Male
From 湖北
Status Offline
It's a very good thing. Let's give it a try. Thanks for bean123's efforts.
弄花香满衣,掬水月在手。
明月鹭鸟飞, 芦花白马走。
我自一过后,野渡现横舟。
青云碧空在,净瓶水不流。
http://dos.e-stone.cn/guestbook/index.asp
======中國DOS聯盟=====
我的新网页http://rsds.7i24.com欢迎光顾
Floor 12 Posted 2004-05-26 00:00 ·  中国 河南 南阳 内乡县 联通
银牌会员
★★★★
不甘寂寞的人
Credits 2,491
Posts 1,115
Joined 2003-09-24 00:00
22-year member
UID 10292
Gender Male
Status Offline
In GRUB, you must use file expressions like (hd?,?)/...../...../file.ext. You cannot use the expression methods of Windows or Linux.

Moreover, the filenames in GRUB are case-sensitive. Generally, the short filenames on FAT12/16/32 partitions are all represented in lowercase in GRUB, and uppercase is not allowed.

The so-called short filename refers to the old DOS - format filename, which has at most 12 characters (8 bytes for the base name, one decimal point, and 3 bytes for the extension). Such short filenames are all represented in lowercase under GRUB.
因为我们亲手创建,这个世界更加美丽。
Floor 13 Posted 2004-11-02 00:00 ·  中国 青海 海西蒙古族藏族自治州 格尔木市 联通
初级用户
Credits 103
Posts 1
Joined 2004-11-02 00:00
21-year member
UID 33208
Gender Male
Status Offline
My machine (windows2K) uses a DOS image file to boot. During the boot process, there is a "find --set-..." and it takes a long time. I wonder if I can make winGrub boot faster.
Floor 14 Posted 2004-11-02 00:00 ·  中国 广东 广州 中移铁通
中级用户
Credits 214
Posts 34
Joined 2004-03-10 00:00
22-year member
UID 19742
Gender Male
Status Offline
find --setroot is to search for menu.lst in your hard drive, sometimes it takes a relatively long time. The solutions are:
1. Use stage2 to start. After entering the GRUB interface, type the following commands:
root (hd0,0)
setup (hd0)
reboot
(hd0,0) is the partition where your GRUB directory is located, and it must contain at least three files: stage1, stage2, and fat_stage1_5. (This is assuming your (hd0,0) is a FAT partition. If it is an NTFS partition, ntfs_stage1_5 is needed. If you don't understand, you can copy all stage1_5.) After restarting, the system boots to stage2. Since it contains the location information of menu.lst (in the same directory as stage2), this step of searching is avoided.
This method has a drawback (actually, it's a drawback of GNU GRUB), that is, after you set up, the location of stage2 cannot be changed (for example, you can't defrag!), otherwise, the system will die because it can't find the boot file when starting.
2. Modify the preset menu in GRLDR
The search process of findroot is implemented in the preset menu. Therefore, you can set the location of menu.lst in the preset menu to avoid the search step. However, to be able to modify the preset menu in GRLDR, it needs a special configuration file during compilation. I have packaged some in the WinGRUB package (with the 128 word), you can try it.
When modifying, first make the following configuration: ((hd0,0) should be modified according to your actual situation.)
configfile (hd0,0)/boot/grub/menu.lst
Then use "Write Preset Menu" to write it into the GRLDR file.
Forum Jump: