|
wkb80
初级用户
 
积分 34
发帖 15
注册 2006-11-4
状态 离线
|
『楼 主』:
请教:grub能不能运行光盘中的菜单
使用 LLM 解释/回答一下
在论坛上潜了很长时间的水,学了点GRUB的知识,利用GRUB做了一个兼容性不错的启动盘,想集成进一些常用工具,手上有一个工具盘,菜单做的不错,工具也挺实用,可就是不知道如何将光盘上的菜单运行到U盘启动盘上,还望知道的给个解答,谢谢了.还有就是有些2.0的主板在用启动工具的时候太慢了,不知道是什么问题,有的就很快.
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.
|
|
2007-1-4 12:18 |
|
|
keyong
新手上路

积分 15
发帖 7
注册 2006-12-14
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
可以的,坛子里有这方面的贴子。
Sure, there are relevant posts in the forum.
|
|
2007-1-6 11:48 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-1-7 06:49 |
|
|
wkb80
初级用户
 
积分 34
发帖 15
注册 2006-11-4
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
俺找不到啊,楼上两位能介绍一个是如何实现的吗,谢谢了.
I can't be found. Can the two people upstairs introduce how it is achieved? Thank you.
|
|
2007-1-7 23:28 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
|
2007-1-8 00:33 |
|
|
wkb80
初级用户
 
积分 34
发帖 15
注册 2006-11-4
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
我想把光盘上的菜单移植到U盘上用,不知道能不能实现.
I want to port the menu on the CD to the USB flash drive for use, not sure if it can be realized.
|
|
2007-1-8 04:14 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
你把光盘上的menu.lst贴一段上来看看。
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 |
|
2007-1-8 08:33 |
|
|
MySOFT2006
初级用户
 
积分 55
发帖 22
注册 2006-5-26
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
楼主贴出来大家共同探讨下
The LZ posts it out for everyone to discuss together.
|
|
2007-1-8 08:42 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
下面是我U盘上的menu.lst中的部分。供参考。
====================
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
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 (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 (MAP-HOOK-1)
map --mem (fd0)/boot/grub/gghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title GreenGhost (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 (MEMDISK)
kernel (fd0)/boot/grub/memdisk.gz
initrd (fd0)/boot/grub/mynet.img
title Micro Windows XPE (by LaoMaotao)
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 |
|
2007-1-8 08:54 |
|
|
barton
中级用户
  
积分 480
发帖 197
注册 2006-9-20 来自 黄冈
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
U盘上看你启动的时候被识别成FDO还是 (hd0,0)
On the USB drive, see if it is recognized as FDO or (hd0,0) when you boot.
|
|
2007-1-11 02:43 |
|
|
wkb80
初级用户
 
积分 34
发帖 15
注册 2006-11-4
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
我的U盘是被识别为硬盘的,(HD0,0),因为只有这样兼容性才好一点.其实我的要求很简单,就是在一些光盘上有些比较不错的软件,比如像PC3000或是故障修复台之类的,他是调用的CTRL.BIN这样的文件,我把这个文件和那个文件夹直接拷过去不行,不知道是不是还要做什么修改啊.还请多指教.
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.
|
|
2007-1-12 03:23 |
|
|
barton
中级用户
  
积分 480
发帖 197
注册 2006-9-20 来自 黄冈
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
(fd0)全都改成(HD0,0)
从U盘启动硬盘上的操作系统要改一下,因为你的硬盘已经变成了HD1
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.
|
|
2007-1-12 05:28 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
你的menu.lst就那么宝贝吗?就舍不得拿出来看看?
也可用find --set-root ,这样就可用相对路径解决。
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 |
|
2007-1-12 06:04 |
|
|
wkb80
初级用户
 
积分 34
发帖 15
注册 2006-11-4
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
timeout 30
default 0
fallback 1
splashimage (hd0,0)/grub/xpm.gz
fontfile (hd0,0)/grub/fonts
title 从本地硬盘启动windows
map --harddrives=2
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
chainloader +1
boot
title 启动卡巴斯基杀毒软件DOS版
map --mem (hd0,0)/tools/avp.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
title 启动深山红叶工具
chainloader (hd0,0)/ldrxpe
boot
title 启动windows故障恢复控制台 "此菜单不能用,需要请高手解决如何才能实现"
chainloader (hd0,0)/ctrl.bin "此文件是从光盘上取下来的,在U盘上运行不行"
boot
title 启动MSDOS7.1
map --mem (hd0,0)/tools/msdos710.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
title 启动网络启动盘
map --mem (hd0,0)/tools/network.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
boot
title 启动linux 启盘版
kernel (hd0,0)/grub/memdisk.gz
initrd (hd0,0)/tools/linux.img
title 从软盘启动
chainloader (fd0)+1
rootnoverify(fd0)
title 从光盘启动
cdrom --init
map --hook
chainloader (cd0)
title 切换到GRUB命令行模式
commandline
title 重新启动
reboot
title 关机
halt
这是俺的menu.lst,其实不是不想贴出来,只是还想把它完善一下,既然这样就先贴出来了.
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.
|
|
2007-1-12 09:53 |
|
|
lianjiang2004
金牌会员
     
积分 3946
发帖 1884
注册 2006-1-20
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
我的意思是只要贴出包括不能用的部分在内的一部分就行了。
控制台没用过,不过ctrl.bin估计是不能独立运行的,它调用的东西是否按光盘路径布置了?
什么地方能下载?有下载的话,我也可下来学学。
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 |
|
2007-1-12 20:58 |
|