无忧启动论坛

标题: syslinux引导的maxdos进入后无法识别硬盘,grub4dos却可以,请前辈指导。。。。。 [打印本页]

作者: evnious    时间: 2012-5-16 13:41
标题: syslinux引导的maxdos进入后无法识别硬盘,grub4dos却可以,请前辈指导。。。。。
syslinux.cfg内容:

label MAXDOS
menu label Use MAXDOS 9.1
linux /boot/syslinux/memdisk
initrd /boot/maxdos/maxdos.img
append nopassany


label grub4dos
menu label Grub for DOS
boot /boot/grub4dos/grldr

menu.list内容:

title MAXDOS.IMG
find --set-root --ignore-floppies /boot/maxdos/MAXDOS.IMG
map --mem /boot/maxdos/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

syslinux目录文件

    syslinux.exe
    memdisk
    vesamenu.c32
    bootmsg.txt
    disk.c32
    gfxboot.c32
    hdt.c32
    ifplop.c32
    linux.c32
    mboot.c32
    reboot.c32
    chain.c32
    menu.c32
    syslinux.cfg

gurb4dos目录:

    grub.exe
    badgrub.exe
    grldr
    menu.lst

[ 本帖最后由 evnious 于 2012-6-16 09:06 编辑 ]
作者: zhs509    时间: 2012-5-19 23:42
原帖由 evnious 于 2012-5-16 13:41 发表
syslinux.cfg内容:

label MAXDOS
menu label Use MAXDOS 9.1
linux /boot/syslinux/memdisk
initrd /boot/maxdos/maxdos.img
append nopassany


label grub4dos
menu label Grub for DOS
boot /b ...


grub4dos菜单可以不用写C、H、S参数,而syslinux对于非标准的软盘,则必须写上。。。
可以用fbinsttool查看IMG或IMA的C、H、S参数
  1. LABEL MaxDOS
  2. MENU LABEL [^4] MaxDOS工具箱  
  3. kernel /BOOT/ISOLINUX/MEMDISK
  4. append initrd=/BOOT/IMGS/MAXDOS.GZ  c=375 h=2 s=48 floppy
复制代码

[ 本帖最后由 zhs509 于 2012-5-19 23:44 编辑 ]
作者: evnious    时间: 2012-5-24 15:34
原帖由 zhs509 于 2012-5-19 23:42 发表


grub4dos菜单可以不用写C、H、S参数,而syslinux对于非标准的软盘,则必须写上。。。
可以用fbinsttool查看IMG或IMA的C、H、S参数LABEL MaxDOS
MENU LABEL [^4] MaxDOS工具箱  
kernel /BOOT/ISOLINUX/M ...



多谢 zhs509 老大的指导。修改后maxdos可以认到硬盘了。

label MAXDOS
menu label Use MAXDOS 9.1
text help
MAXDOS 9.1
c=58 h=8 s=36
endtext
linux /boot/syslinux/memdisk
initrd /boot/maxdos/maxdos.img
append floppy c=58 h=8 s=36
作者: liquizing    时间: 2012-7-21 16:48
又学了一点东西,Mark 一下




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3