无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 4621|回复: 3
打印 上一主题 下一主题

[求助] 请帮我看看(引导代码)为什么引导不了ISO和IMG

[复制链接]
跳转到指定楼层
1#
发表于 2011-3-11 19:15:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
请帮我看看为什么引导不了ISO和IMG,还有BIN,选PE、DOS等都是没反正,哪里错了,应该改成怎样的,谢谢

LINUX能进

WINPE03.ISO在U盘的根目录,DOS和USB2.0驱动(plpbt.bin)在IMG目录里面。

以下为我修改出来的引导代码,:
--------------------------
PROMPT 0
TIMEOUT 90
DEFAULT /boot/vesamenu.c32
MENU BACKGROUND /boot/slax.jpg
MENU TITLE Slax-Remix-v07
MENU WIDTH 28
MENU MARGIN 2
MENU ROWS 9
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 23
MENU HSHIFT 4
MENU VSHIFT 5
menu color screen 37;40      #00000000 #00000000 none
menu color border 30;44      #00000000 #00000000 none
menu color title 1;36;44    #ffa0ffa0 #30003f07 none
menu color unsel 37;44      #ff27d087 #00000000 none
menu color hotkey 1;37;44    #ff8037b7 #00000000 none
menu color sel  7;37;40    #ffffff70 #003f7fbf none
menu color hotsel 1;7;37;40  #ffaf67f7 #003f7fbf none
menu color scrollbar 30;44      #00000000 #00000000 none
menu color tabmsg 31;40      #ffffff70 #00000000 none
menu color cmdmark 1;36;40    #ffff0000 #00000000 none
menu color cmdline 37;40      #ffffffff #ff000000 none
menu color pwdborder 30;47      #ffff0000 #00000000 std
menu color pwdheader 31;47      #ffff0000 #00000000 std
menu color pwdentry 30;47      #ffff0000 #00000000 std
menu color timeout_msg 37;40      #ff809aef #00000000 none
menu color timeout 1;37;40    #ffb72f9f #00000000 none
menu color help  37;40      #ffa0ffa0 #00000000 none
menu color msg07 37;40      #90ffffff #00000000 std

LABEL WINPE2003
LINUX memdisk
INITRD /WINPE03.ISO
APPEND iso raw

LABEL MAX DOS
LINUX memdisk
INITRD /img/MaxDOS.IMG
APPEND IMG raw

LABEL fresh
MENU LABEL Always Fresh
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;telinit~4
TEXT HELP
    Normally Slax saves all changes
    to the /slax/changes/ directory
    on the boot media (if writable)
    and restores them next time.
    Use this option to start fresh
    system, no changes are neither
    read nor written anywhere
ENDTEXT

LABEL cp2ram
MENU LABEL Copy To RAM
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw vga=791 splash=silent quiet copy2ram autoexec=xconf;telinit~4
TEXT HELP
    Run Slax the same like above,
    but first copy all data to RAM
    to get huge speed (needs >300MB)
ENDTEXT

LABEL USB2.0
LINUX memdisk
INITRD /img/plpbt.bin
APPEND bin raw

LABEL slax
MENU LABEL Text mode
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw changes=/slax/
TEXT HELP
    Run Slax in textmode and start
    command prompt only
ENDTEXT

LABEL pxe
MENU LABEL Slax as PXE server
KERNEL /boot/vmlinuz
APPEND initrd=/boot/initrd.lz ramdisk_size=6666 root=/dev/ram0 rw autoexec=/boot/pxelinux.cfg/start;/boot/pxelinux.cfg/web/start;xconf;telinit~4
TEXT HELP
    Run Slax as usual, but also
    initialize PXE server.
    This will allow you to boot Slax
    on other computers over network
ENDTEXT

MENU SEPARATOR
LABEL memtest86
MENU LABEL Run Memtest utility
KERNEL /boot/mt86p
TEXT HELP
    Don't start Slax at all, but
    rather run the MemTest utility
    to diagnose your computer's RAM
    for possible errors
ENDTEXT

[ 本帖最后由 siemens 于 2011-3-11 19:20 编辑 ]
2#
发表于 2011-3-11 20:14:54 | 只看该作者
      LABEL runISO
        MENU LABEL  -- 加载 ISO 镜像
        LINUX memdisk
        INITRD /imgs/.iso
        APPEND iso raw


      LABEL IMA
        MENU LABEL  -- 加载 IMA 镜像
        kernel /boot/ISOLINUX/memdisk
        append initrd=/imgs/.IMA


      LABEL IMG
        MENU LABEL  -- 加载 IMG 镜像
        kernel /boot/ISOLINUX/memdisk
        append initrd=/imgs/.IMG
回复

使用道具 举报

3#
发表于 2011-3-30 13:26:22 | 只看该作者
加载的ISO,如果超过内存的容量怎么办???

请问有解决的办法没??
回复

使用道具 举报

4#
发表于 2011-5-8 17:05:08 | 只看该作者
按照这样写的菜单,我测试了几个都不成功。

LABEL runISO
        MENU LABEL  -- 加载 ISO 镜像
        LINUX memdisk
        INITRD /imgs/.iso
        APPEND iso raw

            LABEL IMG
        MENU LABEL  -- 加载 IMG 镜像
        kernel /boot/ISOLINUX/memdisk
        append initrd=/imgs/.IMG
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-4-27 04:49

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表