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-25 01:30
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Ask: Can GRUB run the menu on the CD - ROM? View 3,343 Replies 16
Original Poster Posted 2007-01-04 12:18 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 34
Posts 15
Joined 2006-11-04 22:46
19-year member
UID 69585
Gender Male
Status Offline
I've been lurking on the forum for a long time, learned some knowledge about GRUB, and made a bootable disk with good compatibility using GRUB. I want to integrate some common tools. I have a tool disk with a nice menu and useful tools, but I just don't know how to run the menu on the CD onto the USB bootable disk. I hope someone who knows can give an answer, thanks. Also, some 2.0 motherboards are too slow when using the boot tool, I don't know what the problem is, some are very fast.
Floor 2 Posted 2007-01-06 11:48 ·  中国 辽宁 抚顺 中移铁通
新手上路
Credits 15
Posts 7
Joined 2006-12-14 10:38
19-year member
UID 73506
Gender Male
Status Offline
Sure, there are relevant posts in the forum.
Floor 3 Posted 2007-01-07 06:49 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Windows 一键还原
http://www.yjhy.com
Floor 4 Posted 2007-01-07 23:28 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 34
Posts 15
Joined 2006-11-04 22:46
19-year member
UID 69585
Gender Male
Status Offline
I can't be found. Can the two people upstairs introduce how it is achieved? Thank you.
Floor 5 Posted 2007-01-08 00:33 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
For U disk? For CD? Which one exactly is needed?
Windows 一键还原
http://www.yjhy.com
Floor 6 Posted 2007-01-08 04:14 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 34
Posts 15
Joined 2006-11-04 22:46
19-year member
UID 69585
Gender Male
Status Offline
I want to port the menu on the CD to the USB flash drive for use, not sure if it can be realized.
Floor 7 Posted 2007-01-08 08:33 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Please provide the content of the menu.lst on the CD so that I can post a segment of it.
Windows 一键还原
http://www.yjhy.com
Floor 8 Posted 2007-01-08 08:42 ·  中国 四川 广元 电信
初级用户
Credits 55
Posts 22
Joined 2006-05-26 19:42
20-year member
UID 56051
Status Offline
The LZ posts it out for everyone to discuss together.
Floor 9 Posted 2007-01-08 08:54 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Here is the translation of the content you provided:

The following is part of menu.lst on my USB flash drive. For reference.
====================
color white/blue yellow/blue
timeout 15
default 0

splashimage (fd0)/boot/grub/bg.xpm.gz
fontfile (fd0)/boot/grub/fonts

password --md5 $1$/$X4Ysjo.i58481t5DXv/E01

title GreenGhost [Ghost v8.3] (MEMDISK)
kernel (fd0)/boot/grub/memdisk.gz c=160 h=2 s=36 floppy
initrd (fd0)/boot/grub/gghost.img c=160 h=2 s=36 floppy

title GreenGhost [Ghost v8.3] (MAP-HOOK-1)
map --mem (fd0)/boot/grub/gghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title GreenGhost [Ghost v8.3] (MAP-HOOK-2)
map --mem /boot/grub/gghost.img (fd0)
map (fd0) (fd1)
map --floppies=2
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot

title Ghost 8.3 & Network Support [mynet] (MEMDISK)
kernel (fd0)/boot/grub/memdisk.gz
initrd (fd0)/boot/grub/mynet.img

title Micro Windows XPE (by LaoMaotao) [pwd]
lock
chainloader (fd0)/ldrxpe

title Bart's Network Boot Disk 2.7 plus
kernel (fd0)/boot/grub/memdisk.gz
initrd (fd0)/boot/grub/net27p.img

title MaxDOS
kernel (fd0)/boot/grub/memdisk.gz c=274 h=2 s=18 floppy
initrd (fd0)/boot/grub/maxdos.zip c=274 h=2 s=18 floppy

title Boot from Hard Drive (hd0,0)
root (hd0,0)
chainloader +1

title Boot from Hard Drive (hd0,1)
root (hd0,1)
chainloader +1

title Reboot
reboot

title Shutdown
halt
Windows 一键还原
http://www.yjhy.com
Floor 10 Posted 2007-01-11 02:43 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
On the USB drive, see if it is recognized as FDO or (hd0,0) when you boot.
Floor 11 Posted 2007-01-12 03:23 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 34
Posts 15
Joined 2006-11-04 22:46
19-year member
UID 69585
Gender Male
Status Offline
My USB flash drive is recognized as a hard drive, (HD0,0), because only in this way is the compatibility a bit better. Actually, my requirement is very simple. There are some relatively good software on some CDs, such as PC3000 or the fault repair station, etc. It calls the file like CTRL.BIN. I can't copy this file and that folder directly. I don't know if I still need to make some modifications. Please give more advice.
Floor 12 Posted 2007-01-12 05:28 ·  中国 福建 厦门 电信
中级用户
★★
Credits 480
Posts 197
Joined 2006-09-20 00:40
19-year member
UID 63115
From 黄冈
Status Offline
Change (fd0) to (HD0,0) entirely. To boot the operating system on the hard drive from the USB flash drive, you need to make a change because your hard drive has become HD1.
Floor 13 Posted 2007-01-12 06:04 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
Is your menu.lst that precious? Can't you bear to take it out and have a look?
It can also use find --set-root, so that the relative path can be used to solve the problem.
Windows 一键还原
http://www.yjhy.com
Floor 14 Posted 2007-01-12 09:53 ·  IANA 局域网IP(Private-Use)
初级用户
Credits 34
Posts 15
Joined 2006-11-04 22:46
19-year member
UID 69585
Gender Male
Status Offline
timeout 30
default 0
fallback 1
splashimage (hd0,0)/grub/xpm.gz
fontfile (hd0,0)/grub/fonts


title Boot Windows from local hard drive
map --harddrives=2
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
chainloader +1
boot

title Boot Kaspersky Anti-Virus DOS Edition
map --mem (hd0,0)/tools/avp.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot

title Boot Shenshan Hongye Tools
chainloader (hd0,0)/ldrxpe
boot

title Boot Windows Recovery Console "This menu is not available, please ask experts to solve how to implement"
chainloader (hd0,0)/ctrl.bin "This file is taken from the CD, it does not work on the USB flash drive"
boot

title Boot MSDOS7.1
map --mem (hd0,0)/tools/msdos710.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot

title Boot Network Boot Disk
map --mem (hd0,0)/tools/network.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot

title Boot Linux Boot Disk Edition
kernel (hd0,0)/grub/memdisk.gz
initrd (hd0,0)/tools/linux.img



title Boot from Floppy Disk
chainloader (fd0)+1
rootnoverify(fd0)

title Boot from CD-ROM
cdrom --init
map --hook
chainloader (cd0)

title Switch to GRUB Command Line Mode
commandline

title Reboot
reboot

title Shutdown
halt

This is my menu.lst. Actually, it's not that I don't want to post it, but I still want to perfect it. Since that's the case, I'll post it first.
Floor 15 Posted 2007-01-12 20:58 ·  中国 安徽 马鞍山 电信
金牌会员
★★★★
Credits 3,946
Posts 1,884
Joined 2006-01-20 13:00
20-year member
UID 49283
Gender Male
Status Offline
What I mean is that just post a part including the unusable parts. I haven't used the console, but ctrl.bin is probably not able to run independently. Have you arranged the things it calls according to the CD-ROM path? Where can I download it? If there is a download, I can also download it to learn.
Windows 一键还原
http://www.yjhy.com
Forum Jump: