![]() |
中国DOS联盟-- 联合DOS 推动DOS 发展DOS --联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum |
| 游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟 |
|
中国DOS联盟论坛 现在时间是 2026-08-12 03:33 |
共 47,811 主题排行 / 349,897 发帖 / 今日 0 篇 / 48,256 会员排行 |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » grub4dos源码里 cdrom --init是什么意思? |
| 可打印版本 2,318 / 4 |
| 第1楼 ww111222 | 发表于 2008-04-09 02:00 |
| 中级用户 发帖 83 积分 354 | |
|
grub4dos源码里 cdrom --init是什么意思? find --set-root /boot/grub/menu.lst
#以上命令为手工加载菜单时准备 default 0 timeout 2 #splashimage /Boot/Grub/Splash.gz #foreground ffff00 fontfile /Boot/Grub/Fonts.gz cdrom --init 这是我从网上下载的一个 ISO 里的代码, 最后一行: cdrom --init 是什么意思? 搜索了,但找不到答案 |
|
| 第2楼 wwwcccyyy | 发表于 2008-04-09 11:48 |
| 中级用户 发帖 110 积分 224 来自 广东 | |
|
是不是加载ISO文件啊
|
|
| 第3楼 chenall | 发表于 2008-04-10 12:25 |
| 银牌会员 发帖 469 积分 1,276 来自 福建泉州 | |
|
最后一行: cdrom --init 是什么意思? 搜索了,但找不到答案
GOOGLE搜索 GRUB4DOS "cdrom --init" 会有你想要的答案, |
|
| 第4楼 yinyuan | 发表于 2008-04-10 20:19 |
| 初级用户 发帖 22 积分 50 | |
|
初始化光驱
|
|
| 第5楼 oasisspirit | 发表于 2008-04-12 01:16 |
| 新手上路 发帖 6 积分 15 | |
|
http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
CDROM related subjects Using ATAPI CDROM in GRUB for DOS Use the following command to initialize ATAPI CDROM: cdrom --init Then, use the following command to start using ATATPI CDROM: cdrom --hook After cdrom --hook, the CDROM device can be accessed using (cd0), (cd1), etc. To boot from the first CDROM, use the following commands: chainloader (cd0) boot To stop using CDROM: map --unhook cdrom --stop The first command removes the (cdN) device mapping, while the second one stops the CDROM driver. Note: If you boot GRUB for DOS from CDROM, the booting device will be (cd). This device is always accessible. However, if you want to access file from other CDROMs, you still need to initialize them using the above commands. Examples: To boot from the first CDROM: title Boot From First CDROM cdrom --init map --hook chainloader (cd0) boot |
|
|
[ 联系联盟系统管理团队 -
中国DOS联盟 -
标准版 ] Sponsored by ifanr Inc | © 2001–2023 |