Per Jessen
2013-Mar-01 07:38 UTC
[syslinux] Booting an ISO with FreeDOS over PXE with memdisk
I've got $SUBJ almost working except for the DOS bit where the CD needs
to be read.
My pxe config:
label Firmware
menu label Update IPMI firmware
kernel memdisk
append keeppxe raw iso initrd=<isofile>
The ISO is about 400Mb, and works fine when I boot it from an actual
CDROM drive. It also boots fine over PXE, I can see FreeDOS being
booted up etc. The problem is - once in DOS, there is no access to the
CD. The CDROM driver doesn't load due to "no cdrom found". Does
this
ring a bell with anyone?
The ISO is from a manufacturer, but I can modify it if needed (change
the DOS setup for instance).
>From the FreeDOS boot image:
config.sys:
DEVICE=FDXMS.SYS
DEVICE=SRDXMS.SYS
DOS=HIGH, UMB
LASTDRIVE=Z
BREAK=ON
DEVICE=CDDRV.SYS /D:mscd001
STACKS=9,256
autoexec.bat:
@echo off
PROMPT $P$G
VERIFY ON
BREAK ON
SRDISK 4096
LH SHSUCDX.EXE /D:mscd001,F,,1
--
Per Jessen, Z?rich (0.5?C)
http://www.dns24.ch/ - free DNS hosting, made in Switzerland.
Vanush Misha Paturyan
2013-Mar-01 13:02 UTC
[syslinux] Booting an ISO with FreeDOS over PXE with memdisk
On Fri, 01 Mar 2013 08:38:42 +0100 Per Jessen <per at computer.org> wrote:> I've got $SUBJ almost working except for the DOS bit where the CD > needs to be read. > > My pxe config: > > label Firmware > menu label Update IPMI firmware > kernel memdisk > append keeppxe raw iso initrd=<isofile> > > The ISO is about 400Mb, and works fine when I boot it from an actual > CDROM drive. It also boots fine over PXE, I can see FreeDOS being > booted up etc. The problem is - once in DOS, there is no access to the > CD. The CDROM driver doesn't load due to "no cdrom found". Does this > ring a bell with anyone?Might be completely on a wrong track, but doesn't memdisk emulate hard drive? In which case you should see the content of your isofile as C: once FreeDOS boot up, (and CDDRV.SYS won't find any CD devices because there isn't one to find). Misha -- Vanush "Misha" Paturyan Senior Technical Officer Room 1.37 Computer Science Department NUI Maynooth -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://www.zytor.com/pipermail/syslinux/attachments/20130301/dcce5ce3/attachment.sig>
H. Peter Anvin
2013-Mar-01 15:59 UTC
[syslinux] Booting an ISO with FreeDOS over PXE with memdisk
On 02/28/2013 11:38 PM, Per Jessen wrote:> I've got $SUBJ almost working except for the DOS bit where the CD needs > to be read. > > My pxe config: > > label Firmware > menu label Update IPMI firmware > kernel memdisk > append keeppxe raw iso initrd=<isofile> > > The ISO is about 400Mb, and works fine when I boot it from an actual > CDROM drive. It also boots fine over PXE, I can see FreeDOS being > booted up etc. The problem is - once in DOS, there is no access to the > CD. The CDROM driver doesn't load due to "no cdrom found". Does this > ring a bell with anyone? > The ISO is from a manufacturer, but I can modify it if needed (change > the DOS setup for instance). > >>From the FreeDOS boot image: > > config.sys: > DEVICE=FDXMS.SYS > DEVICE=SRDXMS.SYS > DOS=HIGH, UMB > LASTDRIVE=Z > BREAK=ON > DEVICE=CDDRV.SYS /D:mscd001 > STACKS=9,256 >You probably want to replace CDDRV.SYS (which almost certainly tries to do direct I/O to the CD-ROM drive) with ELTORITO.SYS (which is included in the Syslinux distribution.) -hpa
Reasonably Related Threads
- [PATCH] If the specified ISO does not exist, then the script dies.
- menu.c32: not a COM32R image
- [PATCH node] Update autobuild and autotest scripts for new build structure
- [PATCH node-image] Adds a preserve option for autotest VMs.
- Problem with FreeDOS + himem64 + PXELINUX + memdisk