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

请教一个关于用syslinux引导软盘映像img的问题

[复制链接]
发表于 2008-7-11 00:41:18 | 显示全部楼层 |阅读模式
先简单说明一下,在此之前我使用的是grub,引导img映像一切顺利,但是放到U盘里以后Grub不能识别USB-CDROM,无奈之下改用isolinux
在isolinux下通常使用memdisk加载img映像,但是memdisk有一个bug,这个bug导致fdisk和pqmagic都不能使用.在3.7的isolinux中的文档里写可以将kernel设置成img路径进行引导,但是提示"无效的文件"
小弟在此想求助如何在isolinux下加载img并能使用fdisk一类的分驱软件,迫不得已,不能使用grub
2.JPG

启动项:
label win98
menu label Win98 启动盘
kernel /BOOTDISK.img

文档中的说明:
      ++++ BOOTING DOS (OR OTHER SIMILAR OPERATING SYSTEMS) ++++
WARNING: This feature depends on BIOS functionality which is
apparently broken in a very large number of BIOSes.  Therefore, this
may not work on any particular system.  No workaround is possible; if
you find that it doesn't work please complain to your vendor and
indicate that "BIOS INT 13h AX=4C00h fails."
To boot DOS, or other real-mode operating systems (protected-mode
operating systems may or may not work correctly), using ISOLINUX, you
need to prepare a disk image (usually a floppy image, but a hard disk
image can be used on *most* systems) with the relevant operating
system.  This file should be included on the CD-ROM in the /isolinux
directory, and have a .img extension.  The ".img" extension does not
have to be specified on the command line, but has to be explicitly
specified if used in a "kernel" statement in isolinux.cfg.
For a floppy image, the size of the image should be exactly one of the
following:
1,228,800 bytes  - For a 1200K floppy image
1,474,560 bytes  - For a 1440K floppy image
2,949,120 bytes  - For a 2880K floppy image
Any other size is assumed to be a hard disk image.  In order to work
on as many systems as possible, a hard disk image should have exactly
one partition, marked active, that covers the entire size of the disk
image file.  Even so, hard disk images are not supported on all
BIOSes.

使用的isolinux:
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.70.zip

[ 本帖最后由 katar1024 于 2008-7-11 00:43 编辑 ]
 楼主| 发表于 2008-7-11 11:32:37 | 显示全部楼层
没人对isolinux感兴趣吗?顶一下
回复

使用道具 举报

发表于 2008-7-11 21:25:00 | 显示全部楼层
感觉不像是isolinux的问题,你光盘用什么做的,mkisofs做看看,我怀疑是光盘格式问题.


如果真的是isolinux的问题,只能找H Peter Anvin.
回复

使用道具 举报

发表于 2008-7-11 21:32:01 | 显示全部楼层
原帖由 katar1024 于 2008-7-11 00:41 发表
在isolinux下通常使用memdisk加载img映像,但是memdisk有一个bug,这个bug导致fdisk和pqmagic都不能使用.



模拟成硬盘了。。。。。。。。。。。。。。
回复

使用道具 举报

 楼主| 发表于 2008-7-11 23:27:12 | 显示全部楼层
应该不会吧,我也不知道,我是做成iso在vmware里使用的
mkisofs是什么好东东,我去试一下,先谢谢两位~~!!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2026-5-20 21:30

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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