I created the LIVE CD of FreeDOS following this tutorial :
http://www.cgsecurity.org/wiki/Create_a_TestDisk_FreeDos_LiveCD
but,instead of using TestDisk,I need to use the NTFS file system
driver for Dos/Windows v.3.02R (read only) by mark russinovich and
bryce Cogswell from Sysinternals and grub4dos.
To make they run simultaneously I've configured the RAM memory like
this :
config.sys
!DEVICE=\DRIVERS\himem.exe
!DEVICE=\DRIVERS\emm386.exe x=test
!DEVICE=\DRIVERS\Eltorito.sys /D:CDROM001
!SHELL=\COMMAND.COM /E:2048 /F /MSG /P
!DOSDATA=UMB
!DOS=HIGH,UMB
!FILES=20
!BUFFERS=20
!LASTDRIVE=Z
autoexec.bat
@ECHO OFF
\DRIVERS\shsucdx.exe /D:CDROM001
SET CDDRIVE=
FOR %%x IN ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO IF
EXIST %%x:\AUTORUN.BAT SET CDDRIVE=%%x:
IF "%CDDRIVE%"=="" GOTO errormsg
%CDDRIVE%
CD \
REM Note that we do NOT 'call' AUTORUN.BAT, so we should not return
AUTORUN.BAT
:errormsg
ECHO ERROR: Failure loading; unable to find CD-ROM drive!
ECHO ERROR: If you have multiple CD-ROM drives, please remove the
other
ECHO ERROR: CD-ROM discs and try again. Otherwise your disc may be
corrupt
ECHO ERROR: or the CD-ROM driver does not correctly support your
system.
ECHO ERROR:
ECHO ERROR: Please reboot your computer now.
:loopforever
pause > NUL
GOTO loopforever
Autorun.bat
@echo off
ntfsdos.exe
start.bat
start.bat
@echo off
grub
When I run grub4dos nothing happens or it says : invalid op code or it
freezes. I think that it happens because there is no enough memory.
Maybe someone can help me to configure it better ? Thanks.