找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 7303|回复: 3

[已解决] syslinux引导的maxdos进入后无法识别硬盘,grub4dos却可以,请前辈指导。。。。。

[复制链接]
发表于 2012-5-16 13:41:31 | 显示全部楼层 |阅读模式
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 编辑 ]
发表于 2012-5-19 23:42:48 | 显示全部楼层
原帖由 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 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2012-5-24 15:34:02 | 显示全部楼层
原帖由 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
回复

使用道具 举报

发表于 2012-7-21 16:48:37 | 显示全部楼层
又学了一点东西,Mark 一下
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-4-3 14:50

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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