Author Topic: Multi-OS Install DVD  (Read 1716 times)

ultrasparcuser

  • Guest
Multi-OS Install DVD
« on: September 21, 2002, 07:53:11 PM »
This is regarding the Multi-OS install CD-Rs... Does anyone know of a way we can do this with DVD-Rs vs CD-Rs? I\'ve got a pioneer DVD-R/RW and it\'s the best thing since sliced bread, but umm, one slight problem, I\'d like to be able to make a \"one-size-fits-all\" DVD for my company IT guys to ease installation. All of our machines have DVD-ROM drives and I\'d like to allow them to just carry 2 disks with them (1 for OSs and 1 for apps) vs a BINDER full of CD-Rs. I\'ve tried burning the ISO created from earlier posts about this with Nero (the best cd/dvd-r software i know about) 5.5.9.9 and it tried to burn it (1.4G) onto a friggin CD-R media (obviously failed) is there some sort of way i can either edit the ISO to make it DVD or somehow find another way to do what i want? I\'m using the http://www.tech-hints.com method for 2kPro, XPPro, 98SE, and NT4.0SBS (I\'d like a method for .Net too, if that\'s cool)

Space Between

  • Guest
Multi-OS Install DVD
« Reply #1 on: September 22, 2002, 09:00:55 PM »
It Works the same way... i know alot of people that have done that already.

It\'s more obvious though that your not using that for company use\'s than you think ;P.

MAX

  • Guest
Multi-OS Install DVD
« Reply #2 on: September 24, 2002, 03:50:32 PM »
Hi now that you have all suffered to make your own multi boot CD\'s here is my way to do it and it works. If you are having troubles feel free to contact me…

Regards,
MAX

Works on DVD’s too….
_______________________________________________________________________


HOW TO:
Copying the Windows CD\'s to your hard drive.
If adding to another Multiboot CD:
First copy the install directory off the CD. Place it in ROOTUENGLISH%WINTYPE%. Space will become an issue so I would recommend only putting the install directory and not the whole CD. Remeber to remove read only on all files.

If making a ME/9X CD (just the command lines to add more OS’s:
Copy each version to a folder inside root.
(ie. ROOTWIN95, ROOTWIN98, ROOTWIN98SE, ROOTWINME, ROOTNT, ROOT2000,)

Preparing the Boot Sector.
Now make a boot floppie or grab one laying around. Place this in you floppie drive. We will edit this to point to the installer. Open the config.sys file with notepad and delete until the following is all that is left: (I am listing the edits to a 98 boot disk I made, basically we are removing all options except the boot with cd section)

files=10
buffers=10
dos=high,umb
stacks=9,256
lastdrive=z
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
devicehigh=ramdrive.sys /E 2048



Then modify your autoexec.bat file:

Edit this line at the top:
path=%RAMD%:;a:;%CDROM%:

Then add the following lines after the :EXT section

LH %ramd%:MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
cls
echo Now Installing Windows 98 SE
echo.
echo Loading...
path=%RAMD%:;a:;%CDROM%:UENGLISHWIN98SE (of course remove the UENGLISH folder if not using it)
SETUP.EXE
echo.
goto QUIT

:QUIT
rem clean up environment variables
set CDROM=
set LglDrv=


Now save onto the floppy. You may edit any additional lines to suit your needs if you want or add additional software.

So with the floppy in our A: drive we open up WinImage. Select Disk for the menu and Read disk (Ctrl+R) to read the floppy. Once the status bar hits 100% and WinImage displays the floppy goto File, Save (Ctrl+S). The above image would be w98se and Save as Type must be changed to \"Image File (*.IMA)\"

Done

But now we want to make a ME install image
Open the the image by double-clicking w98se.ima and select autoexec.bat
Extract the file to your desktop
Open with notepad and make the following edits

After the :EXT section again
LH %ramd%:MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
cls
echo Now Installing Windows Meillenium Edition
echo.
echo Loading...
path=%RAMD%:;a:;%CDROM%:UENGLISHWINME (of course remove the UENGLISH folder if not using it)
SETUP.EXE

Go back to WinImage and select Inject. Select the autoexec.bat file on your desktop that you just modified and select open. Select yes for the overwrite message. Now select File, Save As. Rename the image to wme and Save as Type must be changed to \"Image File (*.IMA)\" again.

Done, now repeat the above process for 95.


Another Example:
I like to use Power Quest Partition Magic so I have put the program into a folder called PQPM under the ROOT folder. I have also modified a image file to launch it for me. Again I go back to the autoexec.bat file still on my desktop.
I change the echo to display Launching Power Quest Partition Magic, then modify the path=%RAMD%:;a:;%CDROM%:UENGLISHWINME to path=%RAMD%:;a:;%CDROM%:PQPM and last change setup.exe to pqmagic.exe

Back to WinImage, Inject the new autoexec.bat and save as. I named mine pqpmg.ima

Done


Lets say we want to boot to dos but just in case want to add smartdrv.exe in case we install a NT build afterwards. So one more time we go back to the autoexec.bat file still on your desktop

After the :EXT section again change to-

LH %ramd%:MSCDEX.EXE /D:mscd001 /L:%CDROM%
LH SMARTDRV.EXE /q
echo.
GOTO QUIT

just make sure you copy smartdrv.exe onto the floppy. Smartdrv.exe can be found on any Windows ME/9X computer.


Go back to WinImage and select Inject. Select the autoexec.bat file on your desktop that you just modified and select open. Select yes for the overwrite message. Now select File, Save As. Rename the image to dos and Save as Type must be changed to \"Image File (*.IMA)\" again.

Done


So why was Cdimage and WinImage posted at the top? Why even use diskemu? Good Question.
You know how when a MS CD boots up and asks to hit any key to boot off the CD or it will just use the Hard Drive. Well if you use floppy emulation you can\'t do that. If you forget and leave the CD in you will never finish the install till you take it out since it will keep booting off the floppy image. Bart\'s diskemu however will provide you with the option of making additional commands and booting off the CD only when you hit a key. Nice huh?

Here is sample diskemu file for use:
BIG NOTE: Do Not Leave Spaces At The End Of Any Lines !!!!!

:start
cls
print F1=For Help
print F2=Anything Else you want
print ==========
print Setup Menu
print ==========
print 1. Windows Meillenium Edition
print 2. Windows 98 Second Edition
print 3. Windows 95 Version C
print 4. Power Quest Partition Magic
print 5. DOS with Smartdrive
print Esc) Boot from hard disk...
print
print Well, pick one already....
print you only got 10 seconds...
print tick, tock .....

:mainkey
; timeout is 10 seconds, default key is escape
getkey 10 esc
onkey 1 goto wme
onkey 2 goto w98
onkey 3 goto w95
onkey 4 goto pqpm
onkey 5 goto dos
onkey f1 goto help
onkey f2 goto else
onkey esc boot 80
; When no key found...
goto mainkey
;
:wme
run wme.ima
; when run has failed
print
print Failed to run \"wme.ima\", hit any key.
getkey
goto start
;
:w98
run w98.ima
; when run has failed
print
print Failed to run \"w98.ima\", hit any key.
getkey
goto start
;
:w95
run w95.ima
; when run has failed
print
print Failed to run \"w95.ima\", hit any key.
getkey
goto start
;
:pqpm
run pqpmg.ima
; when run has failed
print
print Failed to run \"pqpmg.ima\", hit any key.
getkey
goto start
;
:dos
run dos.ima
; when run has failed
print
print Failed to run \"dos.ima\", hit any key.
getkey
goto start
;
:help
; Place your help file here
print
print What help do you really need??
print ------------------------------
print
print \"To Err is human, to really foul things up requires a computer\"
print -Someone
print
print \"Never let a computer know you are in a hurry\"
print -Again Someone
print
print \"He who asks is a fool forever, he who never asks
print remains a fool forever\" -Chinese proverb
print
print
print Hit any key to return to the MENU.
print
getkey
goto start
;
:else
; I don\'t know, it\'s just an exapmle
print
print For lack of creativity I put this here as an example.
print
print
print Hit any key to return to the MENU
print
getkey
goto start
;
Automating the whole install.
You again can automate the whole install or just insert the serial through the use of a file called MSBatch.inf
Again a generator can be found on the original CD to make one for you. Here is a sample provided by Sic1Nine at the forum:
; MSBATCH.INF
;
; Copyright © 1995-1998 Microsoft Corporation.
; All rights reserved.
;

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=03/19/01

[Version]
Signature = \"$CHICAGO$\"
AdvancedINF=2.5
LayoutFile=layout.inf

[Setup]
Express=1
InstallDir=\"c:windows\"
InstallType=3
ProductKey=\"12345-12345-12345-12345-12345\"
EBD=0
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone=\"Pacific\"
Uninstall=0
NoPrompt2Boot=1

[System]
Locale=L0409
SelectedKeyboard=KEYBOARD_00000409


Insert the MSBatch.inf file into the same directory as the setup.exe file (IE .UENGLISH%WINOS%)
Checking the Layout :
So now we need to setup the root folder
Let\'s say we are only making a ME/9X CD.
So under Root we should have

W95 folder
W98SE folder
WME folder
PQPM (or any other software name you are using) folder
DISKEM1X.BIN
DISKEMU.CMD
LOADER.BIN
DOS.IMA
W98SE.IMA
WME.IMA
W95.IMA
PQPMG.IMA
BOOTCAT.BIN

And with that your should be set. You can of course make all the ima, bin and cmd files hidden if you want as long as you burn using Joliet.

If you are using the UENGLISH setup just move the three Windows folders into a folder called UENGLISH.
Creating the ISO file
You should now download CDIMAGE

In this case we are using cdimage more to make burning the image easier. It does not really save you that much room since there are few identical files that symbolic links will work with. It will allow you to test the image first with VirtualPC though.

NEW!!!! GUI version of CDIMAGE is now available. Made by CyBerain for this site. Huge thanks. Readme is not included yet but I hope to make a help file for it soon. Available in both English and German.
English Beta 2
German


Place on another drive with at least 1GB of free space. Gives you room to work with. This is the drive where the iso file will be created.
Type in the following command at the dos prompt exactly:
cdimage -lWME_9X -t05/15/2001,12:00:00 -g -h -n -o -w1 -m -b%Drive%:ROOTloader.bin %Drive%:ROOT WME_9X.iso
Great but what the hell did you just type? Here you go.

CDIMAGE 2.39 CD-ROM Premastering Utility
Copyright © Microsoft, 1993-1997. All rights reserved.
For Microsoft internal use only.
Usage: CDIMAGE [options] sourceroot targetfile

       -l  volume label, no spaces (e.g. -lMYLABEL)
       -t  time stamp for all files and directories, no spaces, any delimiter
             (e.g. -t12/31/91,15:01:00)
       -g  encode GMT time for files rather than local time
       -h  include hidden files and directories
       -n  allow long filenames (longer than DOS 8.3 names)
       -nt allow long filenames, restricted to NT 3.51 compatibility
             (-nt and -d cannot be used together)
       -d  don\'t force lowercase filenames to uppercase
       -c  use ANSI filenames versus OEM filenames from source
       -j1 encode Joliet Unicode filenames AND generate DOS-compatible 8.3
             filenames in the ISO-9660 name space (can be read by either
             Joliet systems or conventional ISO-9660 systems, but some of the
             filenames in the ISO-9660 name space might be changed to comply
             with DOS 8.3 and/or ISO-9660 naming restrictions)
       -j2 encode Joliet Unicode filenames without standard ISO-9660 names
             (requires a Joliet operating system to read files from the CD)
           When using the -j1 or -j2 options, the -n, -nt, and -d options
             do not apply and cannot be used.
       -js non-Joliet \"readme.txt\" file for images encoded with -j2 option
             (e.g. -jsc:locationreadme.txt). This file will be visible as
             the only file in the root directory of the disc on systems that
             do not support the Joliet format (Windows 3.1, NT 3.x, etc).
       -u1 encode \"UDF\" file system along with mirror ISO-9660 file system
             (-n, -nt, -d, -c, or -j1, -j2 options apply to ISO-9660 portion)
       -u2 encode \"UDF\" file system without a mirror ISO-9660 file system
             (requires a UDF capable operating system to read the files)
       -us non-UDF \"readme.txt\" file for images encoded with -u2 option
             (e.g. -usc:locationreadme.txt). This file will be visible as
             the only file in the root directory of the disc on systems that
             do not support the UDF format.
       -b  \"El Torito\" boot sector file, no spaces
             (e.g. -bc:locationcdboot.bin)
       -s  sign image file with digital signature (no spaces, provide RPC
             server and endpoint name like -sServerName:EndPointName)
       -x  compute and encode \"AutoCRC\" values in image
       -o  optimize storage by encoding duplicate files only once
       -oc slower duplicate file detection using binary comparisons rather
             than MD5 hash values
       -oi ignore diamond compression timestamps when comparing files
       -os show duplicate files while creating image
           (-o options can be combined like -ocis)
       -w  warning level followed by number (e.g. -w4)
           1  report non-ISO or non-Joliet compliant filenames or depth
           2  report non-DOS compliant filenames
           3  report zero-length files
           4  report each file name copied to image
       -y  test option followed by number (e.g. -y1), used to generate
             non-standard variations of ISO-9660 for testing purposes:
           1 encode trailing version number \';1\' on filenames (7.5.1)
           2 round directory sizes to multiples of 2K (6.8.1.3)
           5 write i386 directory files first, in reverse sort order
           6 allow directory records to be exactly aligned at ends of sectors
               (ISO-9660 6.8.1.1 conformant but breaks MSCDEX)
           7 warn about generated shortnames for 16-bit apps under NT 4.0
           b blocksize 512 bytes rather than 2048 bytes
           d suppress warning for non-identical files with same initial 64K
       -k  (keep) create image even if fail to open some of the source files
       -m  ignore maximum image size of 681,984,000 bytes
       -a  allocation summary shows file and directory sizes
       -q  scan source files only, don\'t create an image file

       NOTE: Many of these options allow you to create CD images
             that are NOT compliant with ISO-9660 and may also
             NOT be compatibile with one or more operating systems.
             If you want strict ISO and DOS compliance, use the -w2
             warning level and correct any discrepencies reported.
             YOU are responsible for insuring that any generated CDs
             are compatible with all appropriate operating systems.
             Also note that Microsoft company information is placed
             in the image volume header, so don\'t use this program
             to generate CDs for companies other than Microsoft.

END
_______________________________________________________________________