中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 03:16
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Ask: Can GRUB run the menu on the CD - ROM?
Printable Version  3,596 / 16
Floor1 wkb80 Posted 2007-01-04 12:18
初级用户 Posts 15 Credits 34
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.
Floor2 keyong Posted 2007-01-06 11:48
新手上路 Posts 7 Credits 15
Sure, there are relevant posts in the forum.
Floor3 lianjiang2004 Posted 2007-01-07 06:49
金牌会员 Posts 1,884 Credits 3,946
Floor4 wkb80 Posted 2007-01-07 23:28
初级用户 Posts 15 Credits 34
I can't be found. Can the two people upstairs introduce how it is achieved? Thank you.
Floor5 lianjiang2004 Posted 2007-01-08 00:33
金牌会员 Posts 1,884 Credits 3,946
For U disk? For CD? Which one exactly is needed?
Floor6 wkb80 Posted 2007-01-08 04:14
初级用户 Posts 15 Credits 34
I want to port the menu on the CD to the USB flash drive for use, not sure if it can be realized.
Floor7 lianjiang2004 Posted 2007-01-08 08:33
金牌会员 Posts 1,884 Credits 3,946
Please provide the content of the menu.lst on the CD so that I can post a segment of it.
Floor8 MySOFT2006 Posted 2007-01-08 08:42
初级用户 Posts 22 Credits 55
The LZ posts it out for everyone to discuss together.
Floor9 lianjiang2004 Posted 2007-01-08 08:54
金牌会员 Posts 1,884 Credits 3,946
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
Floor10 barton Posted 2007-01-11 02:43
中级用户 Posts 197 Credits 480 From 黄冈
On the USB drive, see if it is recognized as FDO or (hd0,0) when you boot.
Floor11 wkb80 Posted 2007-01-12 03:23
初级用户 Posts 15 Credits 34
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.
Floor12 barton Posted 2007-01-12 05:28
中级用户 Posts 197 Credits 480 From 黄冈
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.
Floor13 lianjiang2004 Posted 2007-01-12 06:04
金牌会员 Posts 1,884 Credits 3,946
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.
Floor14 wkb80 Posted 2007-01-12 09:53
初级用户 Posts 15 Credits 34
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.
Floor15 lianjiang2004 Posted 2007-01-12 20:58
金牌会员 Posts 1,884 Credits 3,946
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.
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023