May 21 2006, 12:48 PM Post
#1 | |
| André Guimarães Casal ![]() ![]() Group: Members Posts: 181 Joined: 25-November 05 From: Aveiro Member No.: 80771 | Hi all! There is currently an open pool on if I should update this guide with the latest methods or leave it as it is. I would like your feedback This is (probably) the most complete and updated guide on how to build a Multi Boot DVD. I'll be updating it as i can. Hope you like it changelog Aug, 18 (2009)
Aug, 20 (2007)
- Automatically create multi-boot folders and files - Install all your software directly from your CD/DVD (so it won't be copied to the HD, saving time) - You'll have just one Install.cmd file to update/maintain all your software - Determine which software gets installed in which OS - Still be able to use the OEMPreInstall=Yes and [GuiRunOnce] in winnt.sif to launch some other stuff that you may need - You can slipstream drivers to every OS you want, having only one copy (BTS's DrivePacks integration being researched) - You'll still be able to use any post-install methods you like (RunOnceEx, kTool, WPI, WIHU, XPlode, etc) This guide is compatible with the following methods and tools: - nLite - RyanVM - HFSLIT - BTS's DriverPacks (Method 2 is recomended so you can have only one copy of the drivers and slipstream them to all the OS's.) - Windows Post-Install Wizard (WPI) - kTool - WIHU - XPlode This guide is compatible with the following OS's: - Windows Server 2003 (Standard, Enterprise, Web & Data Center) - Windows XP SP1 - Windows XP SP2 - Windows XP Home - Windows XP Media Center - Windows 2000 - Windows 98 Before we start: Keep it simple, for boot menu use CD Shell, use simple winnt.sif files, etc. You should beautify, only after you'd successfully completed and booted from all OSs. Some beautifying options are at the end of this guide. What you will need: - Time and patience, don't expect to get everything to work the first time - Various operating system CDs or ISOs - Sufficient drive space (5+ GB to be safe) (I used +/- 20GB for my DVD) - CDImage (GUI'ed version) - Seems the link is not working, search google instead - CD Shell - Hex Workshop to hex-edit files. - Optional - VMware (Shareware), Virtual PC (Freeware) or Qemu (Freeware) (for testing purposes) - Any ISO burning software, like CDBurner XP (Freeware) Work on one operating system at a time. Test once you have that operating system added to make sure everything works right, then move onto the next OS. It will save you time if something goes wrong and you'll know where to look. You can only test your DVD once you've passed the "Creating the ISO" section. Good luck! Let's get started: Let's set up our folder structure: - In your C:\ (or the root of your OS drive) create this folder structure: ------------------------------------ DVD\BOOT\ DVD\SETUP\ ------------------------------------ DVD is the root folder and SETUP will store all of the CDs (DVD\SETUP\XP\Professional for example) - Extract the CD Shell.zip file and move the BOOT folder into the DVD folder (DVD\BOOT\) - Move the TOOLS folder into the BOOT folder (DVD\BOOT\TOOLS\) - Copy all the contents of the XP Pro CD to DVD\SETUP\XP\Professional. Automatically create multi-boot folders and files (thanks to geitonaki) - Download geitonaki's SFX file - Execute it and browse to your DVD folder. When finished it will open create_boot_folders.cmd, modify it to your needs. - It will create the PRO1 boot folder, modify setupldr.bin, modify txtsetup.sif, create the PRO1.bin boot sector and copy the WIN51, WIN51IP and WIN51IP.SP1 (WIN51IP.SP2 if Service Pack 2) tag files. (Notice that PRO1.bin has to have exactly 4 letters UPCASE) CODE call create_boot_folder.cmd C:\DVD\SETUP\XP\Professional C:\DVD PRO1 FOO 0 - Create a text file, inside PRO1, with NotePad, and rename it to winnt.sif. This will make winnt.sif create a tag file that identifies the OS being installed. In this case, the tag file will be XPPRO.TAG, but you can specify whatever you want: QUOTE [GuiUnattended]DetachedProgram="%SystemRoot%\System32\cmd.exe /c @ECHO something>%SystemDrive%\XPPRO.TAG" Creating RunOnce.cmd - Create a RunOnce.cmd file inside DVD\SETUP\XP\Professional\i386\CMD\ and paste the code in. - RunOnce.cmd looks for Install.cmd on the DVD and calls it. QUOTE @echo off You can use the RunOnceEx method for this. RunOnceEx only runs at first logon, so applications may need reboot. The method above goes around that, it's "rebootless"!for %%i 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 "%%i:\software\Install.cmd" call %%i:\software\Install.cmd exit Launching RunOnce.cmd from Svcpack.inf - Add these lines to svcpack.inf inside DVD\SETUP\XP\Professional\i386\: QUOTE [SetupData]CatalogSubDir="\i386" Notes:[SetupHotfixesToRun] CMD\RunOnce.cmd - Svcpack.inf may come as svcpack.in_, just use the eXPander utility (thread here) to extract the svcpack.inf inside it, then delete the svcpack.in_. - As you can see Svcpack.inf will launch RunOnce.cmd at T-13 stage. - You'll have to addapt the [ProductCatalogsToInstall] in svcpack.inf according to the new CatalogSubDir="\i386" because it may point to a different location (in which case you'll get an error message during installation). If you don't have any file references under [ProductCatalogsToInstall], then just don't worry about it. - Use the eXPander utility to transform svcpack.inf back to it's compressed svcpack.in_ form, which is smaller (this is optional). Creating the Install.cmd file - Create a Install.cmd file inside DVD\SOFTWARE\ and paste in the following: QUOTE @echo off REM next line makes sure the *.TAG extension is identified setlocal enableextensions REM checks for the XPPRO.tag file and go to the corresponding section: if exist %SystemDrive%\XPPRO.TAG call :XPPRO REM checks for the XPPRO2.tag and go to the corresponding section: if exist %SystemDrive%\XPPRO2.TAG call :XPPRO2 REM checks for the SERVER2003.tag file and go to the corresponding section: [if exist %SystemDrive%\SERVER2003.TAG call :SERVER2003 REM End goto :end :XPPRO REM Here we'll add the software to install to the XP Pro version. Example: REM "%~dp0" refers to the full path the Install.cmd is in, so you don't have to worry about drive letters start /wait %~dp0\Software\Program1.exe /s start /wait %~dp0\Software\Program2.exe start /wait %~dp0\Software\Program3.exe /qn REM End this section REM end of this section : goto :end :XPPRO2 REM Here we'll add the software to install to the XP Pro Unattended version. Example: [color=#333399]start /wait %~dp0\Software\Program1.exe /s start /wait %~dp0\Software\Program2.exe start /wait %~dp0\Software\Program3.exe /qn REG IMPORT %~dp0\Software\Tweaks.reg REM End this section REM end of this section : goto :end :SERVER2003 REM Here we'll add the software to install to the Server 2003 version. Example: REG IMPORT %~dp0\Software\Workstation.reg start /wait %~dp0\Software\ProgramA.exe /s start /wait %~dp0\Software\ProgramB.exe REM End this section REM end of this section : goto :end :end REM Here we'll add the options for every OS. start /wait %~dp0\SOFTWARE_ALL\AntiVirus.exe start /wait %~dp0\SOFTWARE_ALL\Firewall.exe /s REM Applying tweaks to the registry. Independent of the TAG: REG IMPORT %~dp0\Software\Tweaks.reg del /f /q %SystemDrive%\*.TAG del /q /f %SystemRoot%\*.bmp del /q /f %SystemRoot%\system32\dllcache\*.scr del /q /f %SystemRoot%\system32\setupold.exe del /q /f %SystemRoot%\system32\presetup.cmd exit Install.cmd checks for any tag file and when it finds performs the associated task. As you can see, aplications are installed directly from the DVD (not copied to the HD) thus not needing the OEMPreInstall=Yes or [GuiRunOnce] in winnt.sif, that you can still use to launch some more stuff that you may need, and saving time Finishing Up DVD Layout: Ok, now check if your DVD layout is similar to this, if it is, everything is ok. Keep in mind that this is just a sample layout. This layout includes XP Pro and Server 2003, but you may add as many as you like (or as many as it fit's on DVD). C:\DVD\ - Multi boot DVD Source C:\DVD\BOOT\ - CDShell folder C:\DVD\i386\ - Windows XP Pro reduced source folder (OPTIONAL) C:\DVD\PRO1\ - Boot folder 1 for XP Pro C:\DVD\PRO2\ - Boot folder 2 for XP Pro C:\DVD\3ST1\ - Boot folder 1 for Server 2003 C:\DVD\3ST2\ - Boot folder 2 for Server 2003 C:\DVD\SOFTWARE\SOFTWARE\ - Folder where software is placed C:\DVD\SOFTWARE\Install.cmd - CMD file that takes care of the software installation C:\DVD\SOFTWARE\SOFTWARE_ALL\ - Folder where software for all OSs is placed C:\DVD\SETUP\XP\Professional\i386\CMD\RunOnce.cmd C:\DVD\SETUP\Server2003\Standard\I386\CMD\RunOnce.cmd Creating a boot menu (CDShell): It's time to create a boot menu. CD Shell scripting it very simple and I believe that if you read my example you'll find it very easy to modify to your needs. Creating the ISO (CDImage): Now we only need to create the ISO so we can test our DVD. I'll follow the non-GUI CDImage tutorial, but you can use the GUI'ed CDImage version if you like. Put the cdimage.exe in the same directory as the DVD: ------------------------------------- C:\CDImage.exe C:\DVD ------------------------------------- And automate the process: Make a batch file that you can run whenever you want to make the ISO. To create a batch file open Notepad and paste the below code into it. Save the file as whatever you want and then just change the extension to .bat, like C:\makeiso.bat. QUOTE DEL C:\*.ISO Ok, time to test your ISO with VMware (for example) and add another OS!start cdimage.exe -lDVD -t01/01/2006,12:00:00 -b\DVD\BOOT\loader.bin -h -n -o -m \DVD C:\AIODVD.iso EXIT Extras Add an Unattended option: This section will teach you how to add an option which let's you install Windows unattendedly. - Copy the PRO1 folder and PRO1.DAT file to "Copy of PRO1" and "Copy of PRO1.DAT" - Rename it to PRO2 and PRO2.DAT - Hex-edit PRO2.dat and scroll down until you see "PRO1" in the right hand side. Replace PRO1 with PRO2. - Hex-edit setupldr.bin inside the PRO1 folder and Ctrl+H, then search for Type: "Text String" "PRO1" and replace it with PRO2. - Save the file, choose not to back it up. - Click "OK" and then choose "Replace All". It should say "4 Occurrences Replaced". When done, save the file and choose not to back it up. - Edit winnt.sif to include the unattended options. This may be a good time to read the ref.chm file in Microsoft Deployment Tools, it explains how to set up winnt.sif for an unattended installation. You can use your winnt.sif file to skip some boorings steps of your installation like typing the serial number, defining your language and keyboard or even skip all the steps with the UnattendMode=FullUnattended command. After you created your winnt.sif add these lines to it, so it TAG's the OS being installed: QUOTE [GuiUnattended]DetachedProgram="%SystemRoot%\System32\cmd.exe /c @ECHO something>%SystemDrive%\XPPRO.TAG" - Ok, so now we have a second boot option. Its time to add that option to the boot menu, so you can actually choose it. Just open up your DVD\BOOT\cdshell.ini and add these lines to it:QUOTE XP_Pro: print c "\n\cXXMicrosoft Windows XP Professional \n" print "1) Regular \n" print "2) Unattended \n" XP_Pro_Key: if $lastKey == key[1]; then chain /PRO1.DAT if $lastKey == key[2]; then chain /PRO2.DAT Add Windows 98 Follow this guide, by chon_. Add Drivers: Follow this guide, by a06lp. Additional Resources - Setup Billboard Screens (or learn how to make your own here). - Microsoft Deployment Tools at Microsoft and Rapidshare. They contain the ref.chm file that has info for WINNT.SIF configuration, along with other utilities. Explanation of how it all works: Understanding The Boot Process - CD Shell lets you choose which XXXX.DAT boot sector to access (located on the DVD root) - The boot sector (PRO1.DAT for example) says where to load the SETUPLDR.BIN file (located in each of the boot folders) - SETUPLDR.BIN has instructions on where to access txtsetup.sif (on the same folder) which accesses the appropriate DVD\SETUP\XX folder and starts the text-mode setup for Windows Timeline T-39 - Depending on the boot folder, winnt.sif's DetachedProgram creates a tag file identifying the OS. T-13 - Svcpack.inf launches the RunOnce.cmd inside ...\i386\CMD\ of every OS. Install.cmd checks for the tag file and then performs that TAG's associated task. And that's it, i'll be updating as i can Hope it was usefull to you This post has been edited by andregcasal: Sep 7 2009, 05:50 AM Attached File(s) |
| | |
andregcasal [How To] Multi-boot DVD Guide May 21 2006, 12:48 PM
mzar720 wow Very helpful Guide thanks andregcasal May 22 2006, 01:13 PM
andregcasal Thanks mzar720!
I'll be updating this ... May 22 2006, 01:35 PM
mzar720 QUOTE (andregcasal @ May 22 2006, 01:35 P... May 24 2006, 01:13 PM
andregcasal Updated Jul 27 2006, 07:54 PM
mzar720 Thanks andregcasal for this Great Guide Jul 28 2006, 05:58 AM
andregcasal Welcome Glad you like it Jul 28 2006, 02:36 PM
suwill good~~! Aug 11 2006, 08:20 PM
damian666 Wauw, thats a cool guide, is it possible that you ... Aug 16 2006, 01:59 AM
zeroman_ltk an excellent guide ! I love it ! Thank... Aug 16 2006, 02:03 AM
andregcasal Thank you all! It's you feedback that keep... Aug 18 2006, 10:49 AM
Siginet Very helpful indeed. You may want to add the rvm... Aug 18 2006, 10:53 AM
andregcasal Thanks Siginet! I'll give it a try and the... Aug 18 2006, 12:01 PM
damian666 Alright man, keep going!
i like this guide alr... Aug 28 2006, 03:01 AM
kvm75 Great guide.
By the way, Qemu turned out to be a g... Aug 29 2006, 11:18 AM
torrent-kingdom.net QUOTE Creating the Boot Sector
- Open your CD or I... Aug 29 2006, 12:15 PM
OcTroN Excellent guide mate. Helped me a lot with some th... Aug 30 2006, 05:01 PM
andregcasal Hi all!
I'm glad this guide was usefull t... Sep 2 2006, 12:15 PM
Cryptor Hi!
Can somebody upload me the folder "P... Sep 3 2006, 04:27 AM
Drago22 since in the post i created nobody answered, maybe... Sep 5 2006, 05:07 PM
andregcasal Hi all! Since Flyakite's Guide is offline ... Sep 6 2006, 02:27 AM
xpmaniac4ever I want to create a multiboot DVD with Ubuntu, Kubu... Sep 7 2006, 08:57 AM
andregcasal Hum, don't know about that, this guide is actu... Sep 9 2006, 01:00 PM
andregcasal Updated!
Fixed some offline links, since Flya... Sep 10 2006, 05:46 PM
andregcasal Since Flyakite's multi boot guide is offline i... Sep 14 2006, 01:51 PM
chon_ @damian666
I'll try to help you to include Win... Sep 14 2006, 06:55 PM
andregcasal Wow, awesome chon_!
That's really great, ... Sep 14 2006, 09:30 PM
some1 Hey!
I have (for Windows 98):
@ECHO OFF
set E... Sep 25 2006, 03:15 PM
damian666 wow nice one man, i am going to take it home with ... Sep 26 2006, 04:50 AM
slipk487 im tring to make a muiltboot dvd but the windows i... Oct 4 2006, 10:04 AM
pmshah QUOTE (slipk487 @ Oct 4 2006, 09:34 PM) i... Oct 30 2006, 02:18 PM
chon_ @slipk487
If you have a legit XP CD, I can't e... Oct 4 2006, 03:47 PM
slipk487 i have a real xp but i was workign with tinyxp and... Oct 4 2006, 11:04 PM
damian666 @slip487
well i tried your way of inserting win98 ... Oct 17 2006, 03:41 AM
fevoldj2 Has anyone gotten this to work with XP x64? I look... Nov 10 2006, 08:57 PM
xpforall this site is great but i still need some help.
it ... Dec 5 2006, 04:02 AM
NOJ QUOTE (xpforall @ Dec 5 2006, 10:02 AM) i... Dec 13 2006, 05:34 AM
TheExterminator How i do thats ??? i can not upen the file with wi... Jan 10 2007, 01:58 AM
andregcasal Hi all!
It seems this post has been outdated f... Jan 10 2007, 07:19 PM
TheExterminator I can not uppen .inf file with winrar and i have n... Jan 11 2007, 01:49 AM
Pliek nice andregcasal I will test soon and hope if anyt... Jan 11 2007, 03:20 AM
OzOne Nice guide, big thx Jan 11 2007, 05:27 AM
andregcasal TheExterminator let me explain
All extensions tha... Jan 11 2007, 07:37 AM
TheExterminator Okay, But when i paste this in
CODE[SetupData... Jan 11 2007, 10:34 AM
andregcasal Oh yes, i believe i understand your question now. ... Jan 11 2007, 04:20 PM
TheExterminator Thanks alot, why the hell i dont think on this.
T... Jan 11 2007, 05:40 PM
andregcasal Welcome
What you mean by all updates? Service pa... Jan 11 2007, 05:43 PM
TheExterminator Is hotfixes. The file download it to you computer ... Jan 12 2007, 12:34 AM
Black Wolf Thanks for the amazing valuable information guys Jan 12 2007, 02:49 AM
andregcasal Well, i would appreciate if you could post this to... Jan 12 2007, 06:26 AM
TheExterminator OKay, Here A The Long Code To The .cmd File
QUOTE... Jan 13 2007, 04:25 PM
andregcasal Actually amazing, with "for" cycles and ... Jan 13 2007, 05:28 PM
andregcasal Updated New exciting improvement Jan 14 2007, 11:36 AM
OzOne It's possible to add RyanVM Update Pack with y... Jan 15 2007, 01:45 PM
andregcasal Absolutely In fact i was thinking of adding that ... Jan 15 2007, 02:53 PM
OzOne I added the ryan updatepack and after Windows copi... Jan 15 2007, 05:56 PM
andregcasal Keep in mind that the the RyanVM update pack is th... Jan 16 2007, 05:47 AM
OzOne I have just added ryan update pack and modify my s... Jan 16 2007, 11:40 AM
dunkie12 Hi guys. I'm using this guide to streamline ou... Jan 16 2007, 10:23 PM
andregcasal Hello dunkie12
The problem is very simple... You ... Jan 17 2007, 07:48 PM
andregcasal Hi all
I want to let you guys know that I'm w... Jan 17 2007, 08:15 PM
dunkie12 QUOTE Hello dunkie12
The problem is very simple..... Jan 17 2007, 09:03 PM
dunkie12 Update:
I've managed to get around some of the... Jan 17 2007, 11:59 PM
andregcasal Hi
Hum... It didn't worked? Maybe you deleted... Jan 18 2007, 01:49 PM
dunkie12 QUOTE (andregcasal @ Jan 19 2007, 06:49 A... Jan 18 2007, 04:03 PM
dunkie12 Bwahahahaha if you were to call me a fool right no... Jan 18 2007, 04:12 PM
andregcasal loool You're not an id***... It happens Jan 18 2007, 05:17 PM
maximilian3 wow it's beatiful.
I have followed the instruc... Jan 29 2007, 05:17 AM
andregcasal Hum... Not sure, but it seems CDShell has a new ve... Jan 29 2007, 08:58 AM
dunkie12 After I got my DVD working, I managed to perfect t... Jan 29 2007, 04:04 PM
andregcasal Yep, that's another simple way to do it I... Jan 29 2007, 04:08 PM
NsOnLn How would you incorporate WPI in this process? I l... Feb 8 2007, 03:51 PM
andregcasal Hi, about the WPI, go to the WPI webpage and take ... Feb 10 2007, 01:10 PM
Mortimer I've tried to create my own cdshell.ini based ... Feb 23 2007, 09:08 AM
andregcasal Hum, i didn't realized the example file has ... Feb 25 2007, 04:38 PM
Mortimer QUOTE (andregcasal @ Feb 25 2007, 11:38 P... Feb 26 2007, 05:00 PM
phkninja PRO1.dat is just a bootfile. if you look at most o... Feb 26 2007, 05:43 PM
Mortimer QUOTE (phkninja @ Feb 27 2007, 12:43 AM) ... Feb 28 2007, 04:58 AM
andregcasal Well, it seems CDShell has a preference for *.dat ... Mar 4 2007, 02:58 PM
Wuschmaster Damn, it doesn't work for me, and I've bee... Mar 13 2007, 04:54 AM
andregcasal Hi Wuschmaster, from those images it looks like yo... Mar 13 2007, 10:49 AM
LeveL Thanks for mirroring the original guide but what I... Mar 24 2007, 06:09 PM
andregcasal Looool
Exactly Mar 24 2007, 07:30 PM
dreadlord >DVD Layout:
>Ok, now check if your DVD layo... Apr 5 2007, 03:23 PM
andregcasal Hi dreadlord!
Well, if i understood right, yo... Apr 12 2007, 05:26 PM
tknaught I'm stuck right now. I'm trying to includ... Jun 5 2007, 03:18 PM
andregcasal Hi tknaught
Well, i suppose you have the origina... Jun 5 2007, 03:48 PM
calpha Ok. First of all. Absolutely, total kick-butt gui... Jun 7 2007, 12:54 AM
doktor001 i just started making multiple boot cd's. i wa... Jun 9 2007, 06:55 PM
calpha QUOTE (doktor001 @ Jun 9 2007, 06:55 PM) ... Jun 10 2007, 12:14 PM
andregcasal Hi calpha, thank you for the complements, really a... Jun 10 2007, 06:15 PM
some1 Hey!
Thanks for this! I can see alot of ha... Jul 23 2007, 03:13 AM
iceangel89 can i use CDshell for a HDD? i am thinking of usin... Aug 10 2007, 08:55 AM
andregcasal I believe you can use CDShell for bootup just abou... Aug 11 2007, 08:05 AM
iceangel89 erm, how does
QUOTE Automatically create multi-bo... Aug 12 2007, 01:00 AM
ysfozy Ohhh You are perfect. I really appricated.
Than... Aug 16 2007, 04:40 AM
andregcasal Hi all,
iceangel89, you have all the info you nee... Aug 16 2007, 01:50 PM
ysfozy @andreqcasal
firstly thank you again I made almo... Aug 16 2007, 04:29 PM
ysfozy QUOTE if exist %SystemDrive%\XPPRO.TAG call :... Aug 17 2007, 02:44 AM
andregcasal QUOTE (ysfozy @ Aug 17 2007, 09:44 AM) Th... Aug 20 2007, 09:22 AM![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 05:38 PM |