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-30 06:03
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Farewell to vFloppy, switch to GRUB, in one word, "cool"! View 31,038 Replies 85
Original Poster Posted 2006-03-05 22:35 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Farewell to vFloppy and switch to GRUB, just one word, "cool"!

About half a month ago, I discovered vFloppy, integrating the virtual boot floppy into the hard drive, and it felt great. But after doing a few GHOSTs, I found that after restoring the system, the virtual floppy couldn't start repeatedly. So I started "beating the iron" online and found that many netizens said that grub_for_dos is easy to use.

But many posts are described very complicated. Fortunately, I have a little English foundation. I downloaded grub_for_dos 2006-03-03 at http://grub4dos.jot.com/WikiHome.

The following is shared with you:

1. Copy grldr and menu.lst to the C:\ root directory, in the same directory as the Windows operating system "boot.ini" file

2. Create a "BOOT" folder in the C:\ root directory, and copy the boot.img (you can also download and make the boot image file by yourself) to this folder

3. Edit the "boot.ini" file and add C:\GRLDR="Start GRUB" at the last line


PS: Beginning at version 0.4.0, GRUB for DOS supports memdrives.
GRUB version 0.4.0 and above already supports the memdrives function, so there is no need for the memdrives.gz file.

With GRUB, there will never be a phenomenon that the virtual floppy can't start, let's GHOST to the end!
Attachments
grldr.rar (75.27 KiB, Credits to download 1 pts, Downloads: 2099)
Floor 2 Posted 2006-03-06 15:09 ·  IANA 局域网IP(Private-Use)
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
^_^

vFloppy is located by physical address, so of course it can't be used after ghosting.

I also use grub
Floor 3 Posted 2006-03-06 19:34 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
This GRUB is the latest version and is very easy to use.

Just copy the two files grldr and menu.lst to the C:\ root directory, and edit menu.lst with Notepad to specify the path of the boot image file. It is best to also place the image file in the C:\ root directory. For example:

Write in menu.lst:

color yellow/cyan
timeout 60
default 0

title Boot from Virtual Floppy Disk
map --mem --read-only (hd0,0)/boot/boot.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot

title Start Windows XP Profession
rootnoverify (hd0,0)
makeactive
chainloader +1

In this example, the image file boot.img is located in the C:\boot folder. After starting GRUB, there are two startup items in this example. One is the default startup from the image file, and the other is startup from Windows XP.

Advantages of GRUB: Since the image is copied to a memory area, the image itself can be non-contiguous or even compressed.
Floor 4 Posted 2006-03-06 19:35 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
The size of the image file depends on the memory size of the machine itself. So theoretically, this image file can be as large as the memory, such as 256M or 512M. I haven't tested this myself, just read the software usage instructions.
Floor 5 Posted 2006-03-06 20:11 ·  中国 广东 广州 广东金万邦科技投资有限公司(新一代数据中心)IDC机房(BGP)
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Remember in the summer of 2004, we discussed the issue of GRUB boot memory disk on this forum. Now when I play Windows 98, I use the map --mem command in GRldr to boot the entire 98 in memory.
Floor 6 Posted 2006-03-10 14:12 ·  中国 江苏 南京 联通
初级用户
Credits 33
Posts 7
Joined 2005-07-16 19:26
20-year member
UID 40780
Status Offline
Floor 7 Posted 2006-03-11 04:17 ·  中国 广东 广州 越秀区 电信
初级用户
Credits 129
Posts 14
Joined 2004-12-25 00:00
21-year member
UID 34903
Gender Male
Status Offline
What's the use of this software??? I'm a newbie!!!
Floor 8 Posted 2006-03-11 11:48 ·  中国 安徽 芜湖 电信
新手上路
Credits 18
Posts 7
Joined 2005-10-30 18:24
20-year member
UID 44305
Gender Male
Status Offline
Is it really that good?
Floor 9 Posted 2006-03-11 13:08 ·  中国 吉林 白城 联通
新手上路
Credits 4
Posts 2
Joined 2006-03-10 23:02
20-year member
UID 51755
Status Offline
Dude, the method you mentioned above isn't working. Can you explain it in more detail?

My machine has a Lenovo professional version system installed with an 815 cracked BIOS, and the partition is NTFS.

Thanks a lot
Floor 10 Posted 2006-03-13 13:44 ·  中国 江苏 无锡 电信
高级用户
★★
Credits 616
Posts 187
Joined 2003-04-18 00:00
23-year member
UID 1598
Gender Male
Status Offline
Successfully tested! Thanks to the landlord!
Floor 11 Posted 2006-03-20 23:06 ·  中国 上海 黄浦区 电信
新手上路
Credits 6
Posts 3
Joined 2006-03-02 15:14
20-year member
UID 51232
Gender Male
Status Offline
Learning
Floor 12 Posted 2006-03-22 08:19 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
The color configuration of the first line in menu.lst is best changed to:
color black/cyan yellow/cyan
So that the display effect is better!

Also for:
title Start Windows XP Profession
rootnoverify (hd0,0)
makeactive
chainloader +1
Actually, it means booting from the hard disk, so it is appropriate to change the title here to:
title Boot from HDD

RE: jljerry
GRUB may have poor support for the NTFS file system on partition C. I don't know this very well either. Everyone is welcome to start a discussion!
Floor 13 Posted 2006-03-22 12:49 ·  中国 浙江 衢州 电信
银牌会员
★★★
Credits 1,270
Posts 548
Joined 2004-05-31 00:00
22-year member
UID 25754
Gender Male
Status Offline
Grub is really good.
Floor 14 Posted 2006-03-27 15:02 ·  中国 广东 肇庆 中移铁通
中级用户
★★
Credits 349
Posts 102
Joined 2004-06-08 00:00
22-year member
UID 26329
Gender Male
Status Offline
Skills Worth Learning
Floor 15 Posted 2006-03-27 22:34 ·  中国 陕西 西安 电信
新手上路
Credits 4
Posts 3
Joined 2006-03-27 10:26
20-year member
UID 52872
Status Offline
Ask the landlord, how to set it to display Chinese menus?
1 2 3 6 Next ›
Forum Jump: