1

Topic: Making a rescue boot CD with multiple application

Hello good people!

I m making a rescue boot CD which will have man application on it. Its very handy to have many applications on one CD smile 
When I will boot from this CD I will get a menu to choose the application I want to run it from. 
I found it on this site www.hiren.info how to make it.
Up till now I put Testdisk and few other application on it and it works fine:D.

And now I want to put the GParted application on it as well. I m not sure how to do it because I cant find any exe file in the ISO image of GParted. Help me pls smiletongue


Here are the instructions how I maked a boot CD up till now;

Tools Used:

bfi.exe (Build Floppy Image - to create bootable image from files)

mkisofs.exe (a tool to create/build the CDRom ISO image file)

build-iso.cmd (batch file to create floppy and iso image)

We will need some files from Windows ME or Windows XP startup disk

io.sys (Dos Input Output System file)
msdos.sys (Dos system file)
command.com (MS-Dos mode command line interpreter)
himem.sys (An extended memory manager that is included with DOS and Windows)
mscdex.exe (Microsoft CD-Rom Extension)
oakcdrom.sys (Generic CD-Rom driver, work with the most of all IDE CD-ROM drives)
xmsdsk.exe (Adjustable XMS RAMdisk Driver - Freeware)
ctmouse.exe (Mouse Driver For Dos - also works on USB Mouse - Freeware) or mouse.com
This is how I done it up till now;

I the "AUTOEXEC.BAT" file I made this changes

@ECHO OFF
MSCDEX.EXE /D:CDDRIVER /L:X
XMSDSK.EXE 51200 R: /t /y
CTMOUSE.EXE
PATH=A:\;R:\
GOTO %CONFIG%

:TESTDISK
COPY X:\TESTDISK\*.* R:
R:\TESTDISK.EXE
GOTO DOS

:GHOST
COPY X:\GHOST\GHOST.EXE R:
R:\GHOST.EXE
GOTO DOS

:NTFS
COPY X:\NTFS\*.* R:
R:\NTFS4DOS.EXE
GOTO DOS

:RPM
COPY X:\RPM\*.* R:
R:\RPM.EXE
GOTO DOS

:DOS
ECHO  X: CD DRIVE
ECHO  R: RAM DRIVE

In the "CONFIG.SYS" file I made this changes;

[MENU]
menuitem=DOS, Dos
menuitem=TESTDISK, TestDisk
menuitem=GHOST, Ghost
menuitem=NTFS, Ntfs
menuitem=RPM, Partition Manager

[DOS]
DEVICE=OAKCDROM.SYS /D:CDDRIVER /L:X

[TESTDISK]
include=DOS

[GHOST]
include=DOS

[NTFS]
include=DOS

[RPM]
include=DOS

[COMMON]
LASTDRIVE=Z

EXTRA EXPLENATION

You can add your favorite Programs in the bootcd,
All you need to do is Edit autoexec.bat and config.sys and add all the required files in the folder and double click on build-iso and you are ready to burn bootcd.iso

Example: You want to add Mcafee Antivirus in the bootcd, all you do is create a folder MCAFEE in the folder CD

and add a line in config.sys menu

menuitem=MCAFEE, McAfee Antivirus

add two more lines in config.sys
[MCAFEE]
include=DOS


and add 4 lines in autoexec.bat

:MCAFEE
COPY X:\MCAFEE\*.* R:
R:\scanpm.exe /adl /all /clean
GOTO DOS

when you start your computer with this bootcd, you will get to menu where you can choose which program you want to run. In this example we will create 50Mb Ram Disk (You will have Minimum of 64Mb Memory)

Microsoft Windows Startup Menu
‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗

    1. Dos
    2. TestDisk
    3. Ghost
    4. Ntfs
    5. Partition Manager
    6. McAfee Antivirus

Enter a choice: 1

You can easily create bootable cd,
all you have to do is add few lines in autoexec.bat and config.sys
and copy files in CD folder and double click on build-iso.cmd
and it creates a iso file BootCD.iso

You can add as many items in the list but you are limited to 9 per screen
to add more items simply add submenu=MORE, More... (under [MENU] block)
and add [MORE] in config.sys and you can add more menuitem there


THANKS FOR HELP!

2

Re: Making a rescue boot CD with multiple application

Hmmm...
I see that all these tools work under msdos or in dos-like operating environment.
GParted needs Linux operating system to work, so I can't see how you could start it in a dos environment. The GParted livecd boots its own Linux system, that is included in the image file.

*** It is highly recommended to backup any important files before doing resize/move operations. ***

3

Re: Making a rescue boot CD with multiple application

Hello Starsky,

well, "hiren"ware is known as illegal software. I think, we should NOT support its usage. But if you posed a question, whether you could launch GParted from a MS-DOS bootable disk, there is an answer. Use grub.exe from Grub4DOS Boot manager. Look here for further information. BTW, don't dare to mention "hiren", if you ask any questions in the linked forum.

Best Regards
cmdr

4

Re: Making a rescue boot CD with multiple application

cmdr wrote:

Hello Starsky,

well, "hiren"ware is known as illegal software. I think, we should NOT support its usage. But if you posed a question, whether you could launch GParted from a MS-DOS bootable disk, there is an answer. Use grub.exe from Grub4DOS Boot manager. Look here for further information. BTW, don't dare to mention "hiren", if you ask any questions in the linked forum.

Best Regards
cmdr

Thanks for taking time end helping out. I will try that.

But I m not sure why you say Hiren is illegal software. I found this on wiki, you possibly refer to this "While this collection of tools can be very useful, potential users should note that many of the tools are commercial applications that have not been legally licensed for redistribution, and so download/use/sharing of Hiren's BootCD may be illegal (depending on your legal jurisdiction)"

There is a possibility to make a Hiren CD on your own. So you download an "empty Hiren"
The application you put on the CD are supposed to be the once you have license for. Instead of having application on single floppy's you can put them on once CD.
For example instead of having ghost 2003 on floppy I have it now on CD.

If you create a Hiren on your own and put only the applications that you have license for than you are ligaly correct.   There are tons of aplication that are freeware that you can put on a "Hiren" without breaking any copyrights.  Hiren is only Illegal if you download the image of the CD with all other applications that you don't have license for.  But downloading an "empty Hiren" is ok. big_smile