cai_sebas

Bootable Vista DVD

25 posts in this topic

A time ago I was searching for an easy way to make an image of my Vista files. You need Windows AIK to do this. A huge set of tools somewhere about 700mb. It seems making your image is quite simple if you know where to begin. So here is your start.

The files attached are batched which automatically creates an image for you, so you won't have to work with the real command.

We recommend you create an UDF Image. The original Vista DVD is UDF format.

UDF

Save it as 'younameit.cmd'. Replace 'YOURVISTADIR' by the location of you own Vista files.

CLS
@echo off
TITLE Creating UDF Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your UDF...
oscdimg -bc:\YOURVISTADIR\boot\etfsboot.com -h -u2 -m -lVISTA_EN_DVD C:\YOURVISTADIR\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

ISO Making an ISO is also possible. However we recommend UDF.

Save it as 'younameit.cmd'. Replace 'YOURVISTADIR' by the location of you own Vista files.

CODE
CLS
@echo off
TITLE Creating ISO Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your ISO...
oscdimg -bc:\YOURVISTADIR\boot\etfsboot.com -h -j1 -j2 -m -o -x-lVISTA_EN_DVD C:\YOURVISTADIR\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

There are many other options which can compile an ISO/UDF. If there are better complication I hope to see them! These little batches are just for starters. I am sure pro's can do it without hassle in command.

:hello:

oscdimg.exe

Edited by cai_sebas
0

Share this post


Link to post
Share on other sites

Once you have all your Vista-DVD-Files in one directory of your HD, copy your AutoUnattend.xml to this directory - directly into this directory, not in any subfolders. Open a command prompt (Start\Run\cmd) and use oscdimg to create an ISO file:

oscdimg -n –m -bD:\MyVistaDVD\boot\etfsboot.com D:\MyVistaDVD\ D:\Vistax86.iso

Note:

If you're handeling a 64bit Vista-DVD than use efisys.bin instead of etfsboot.com!

You have to replace D:\MyVistaDVD\ with your Path to your Vista-DVD files.

The last part - D:\Vistax86.iso - just attaches a name to the ISO file.

Burn this ISO to a DVD using third party software.

Let it rock...

Martin

0

Share this post


Link to post
Share on other sites

Thanks FireGeier,

Working on it now, I get an error

ERROR: Could not delete existing file "D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\" Error 5

Still working on it!

0

Share this post


Link to post
Share on other sites

Are you doing all this under Vista? If so, have you shared your Vista-DVD folder?

Martin

0

Share this post


Link to post
Share on other sites

No just under XP. I am gonna try a few things atm. I let you guys know!

0

Share this post


Link to post
Share on other sites
oscdimg -n –m -bD:\MyVistaDVD\boot\etfsboot.com D:\MyVistaDVD\ D:\Vistax86.iso

add -u -u1 -u2 option to make UDF filesystem

oscdimg -n –m -u -u1 -u2 -bD:\boot.img D:\MyVistaDVD\ D:\Vistax86.iso

extract boot.img using ISO buster

Edited by neo_matrix.rs
0

Share this post


Link to post
Share on other sites

After some struggeling I finally got the right code. Down here there is a simpel command/batch code whick makes your Vista ISO.

Make sure you use the right paths. And have the file oscdimg.exe present in the same folder as the batch. Oscdimg.exe can be found in Windows AIK, PE Tools.

Save it as createiso.cmd (name doesn't matter just the extension .cmd)

CLS
@echo off
TITLE Creating ISO Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your ISO...
oscdimg -bd:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\boot\etfsboot.com -h -j1 -j2 -m -o -x-lVISTA_EN_DVD D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

Works like a charm

Edit: Added oscdimg.exe and fixed the code, which now works properly

oscdimg.exe

Edited by cai_sebas
0

Share this post


Link to post
Share on other sites

why are u not using -u -u1 -u2 options?

0

Share this post


Link to post
Share on other sites

cdimage.exe -lLRMCXFRE_EN_DVD -t11/02/2006,20:00:00 -g -h -u2 -ur"C:\ISO\README.TXT" -b"C:\ISO\VISTA_BOOT.bin" -o -m "C:\ISO\VISTA" "C:\ISO\LRMCxFRE_EN_DVD.iso"

Edited by sangwooksohn
0

Share this post


Link to post
Share on other sites

The -u -u1 -u2 options didn't worked for me. I am gonna retry those now. The original Vista image is also UDF so I guess that is the best option.

0

Share this post


Link to post
Share on other sites

To create you UDF Image. Save it as createudf.cmd (name doesn't matter just the extension .cmd)

CLS
@echo off
TITLE Creating UDF Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your UDF...
oscdimg -bd:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\boot\etfsboot.com -h -u2 -m -lVISTA_EN_DVD D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

Edited by cai_sebas
0

Share this post


Link to post
Share on other sites
After some struggeling I finally got the right code. Down here there is a simpel command/batch code whick makes your Vista ISO.

Make sure you use the right paths. And have the file oscdimg.exe present in the same folder as the batch. Oscdimg.exe can be found in Windows AIK, PE Tools.

Save it as createiso.cmd (name doesn't matter just the extension .cmd)

CLS
@echo off
TITLE Creating ISO Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your ISO...
oscdimg -bd:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\boot\etfsboot.com -h -j1 -j2 -m -o -x-lVISTA_EN_DVD D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

Works like a charm

Edit: Added oscdimg.exe and fixed the code, which now works properly

Yes thats working great just popped the oscdimg.exe into sytsem32 in xp

Made image 100% Boots straight up from the dvd. Just having trouble Vista recognising the the ans file, retracing all steps now.

0

Share this post


Link to post
Share on other sites
Once you have all your Vista-DVD-Files in one directory of your HD, copy your AutoUnattend.xml to this directory - directly into this directory, not in any subfolders. Open a command prompt (Start\Run\cmd) and use oscdimg to create an ISO file:

oscdimg -n –m -bD:\MyVistaDVD\boot\etfsboot.com D:\MyVistaDVD\ D:\Vistax86.iso

Note:

If you're handeling a 64bit Vista-DVD than use efisys.bin instead of etfsboot.com!

You have to replace D:\MyVistaDVD\ with your Path to your Vista-DVD files.

The last part - D:\Vistax86.iso - just attaches a name to the ISO file.

Burn this ISO to a DVD using third party software.

Let it rock...

Martin

Now to be clear the Autounattend.xml file which normally resided in the Sources Dir. needs now to be placed in the root of the bootable dvd?

Just tried when in Sources Dir. not reading the file & not unattending.

0

Share this post


Link to post
Share on other sites
Autounattend.xml needs to be present in the Root
Not necessarily

Works off root of floppy/usb stick. Can change it that way if error occurs

Works in Sources for me with the $oem$ present and the <UseConfigurationSet>true</UseConfigurationSet>

Don't know if it's because I also use some <OEMInformation> stuff

Edited by maxXPsoft
0

Share this post


Link to post
Share on other sites
Autounattend.xml needs to be present in the Root
Not necessarily

Works off root of floppy/usb stick. Can change it that way if error occurs

Works in Sources for me with the $oem$ present and the <UseConfigurationSet>true</UseConfigurationSet>

Don't know if it's because I also use some <OEMInformation> stuff

There is a special search order Vista Setup follows when looking for an Unattend.xml/AutoUnattend.xml file. Look into WAIK-Help use search and type Methods for Running Windows Setup. There you'll find some more information about. At least there are seven locatinons, you could store you're xml file.

Hope that'll clear it up!

Martin

Edited by FireGeier
0

Share this post


Link to post
Share on other sites

An interesting thing here, while the file can be in the root of the DVD and several places for that matter, if it is in the root of the DVD and you have a floppy with another file on it the Vista install will choose the one on the floppy and apply it without applying the one in the root of the DVD. I think this is because the floppy is one of the first places the install looks at and it just grabs the first file it finds and uses that.

I have mine in the DVD root so its where ever the DVD goes, but i've discovered that if I want to make some changes that I can do another file and put it on a floppy and the file on the floppy will be used instead of the one in the root of the DVD. I didn't realize this until a few days ago when I left a floppy in the drive during an install, and since it was un-attended I didn't stick around to watch the install. I discovered after install completion the settings in the file at the DVD root were not applied but instead a completly different set up was applied - drove me nuts for two days trying to figure it out then I noticed the floppy in the drive, I looked at the file on the floppy and saw the settings that were actually applied during the install.

0

Share this post


Link to post
Share on other sites
After some struggeling I finally got the right code. Down here there is a simpel command/batch code whick makes your Vista ISO.

Make sure you use the right paths. And have the file oscdimg.exe present in the same folder as the batch. Oscdimg.exe can be found in Windows AIK, PE Tools.

Save it as createiso.cmd (name doesn't matter just the extension .cmd)

CLS
@echo off
TITLE Creating ISO Image of Miscrosoft Windows Vista
ECHO.
ECHO You image is now being created. Make sure oscdimg.exe is present.
ECHO.
ECHO Creating your ISO...
oscdimg -bd:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\boot\etfsboot.com -h -j1 -j2 -m -o -x-lVISTA_EN_DVD D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\ C:\WVISTAUL_EN_VOL01.iso
ECHO.
PAUSE
EXIT

Works like a charm

Edit: Added oscdimg.exe and fixed the code, which now works properly

cai, i did it exactly as you did, but i still get this error 5 (and sometimes error 123). I'm doing it under xp. What i'm doing wrong: Nothing seems to help... Is it possible that oscdimg.exe is damaged? Please give me some hints. Thanks!

Clemens Vargas, Oldenburg, Germany

0

Share this post


Link to post
Share on other sites
cai, i did it exactly as you did, but i still get this error 5 (and sometimes error 123). I'm doing it under xp. What i'm doing wrong: Nothing seems to help... Is it possible that oscdimg.exe is damaged? Please give me some hints. Thanks!

Clemens Vargas, Oldenburg, Germany

Have you tried to "Run As Administrator" ?

thats what i had to do in order to bypass error 5.

the DVD now boots which is farther then i have ever gotten, however i get an error into booting that says Windows PE cant find setup.exe its looking in X:\windows~BT\Windows however the file resides in X:\...

Edited by c0ldfyr3
0

Share this post


Link to post
Share on other sites
Once you have all your Vista-DVD-Files in one directory of your HD, copy your AutoUnattend.xml to this directory - directly into this directory, not in any subfolders. Open a command prompt (Start\Run\cmd) and use oscdimg to create an ISO file:

oscdimg -n –m -bD:\MyVistaDVD\boot\etfsboot.com D:\MyVistaDVD\ D:\Vistax86.iso

Note:

If you're handeling a 64bit Vista-DVD than use efisys.bin instead of etfsboot.com!

You have to replace D:\MyVistaDVD\ with your Path to your Vista-DVD files.

The last part - D:\Vistax86.iso - just attaches a name to the ISO file.

Burn this ISO to a DVD using third party software.

Let it rock...

Martin

can't find the file efisys.bin

I tried to make a vista dvd of a 64bits version but the file you told is not on the dvd

Thx anyway

0

Share this post


Link to post
Share on other sites
Thanks FireGeier,

Working on it now, I get an error

ERROR: Could not delete existing file "D:\Projects\Unattended\Vista\WVISTAUL_EN_VOL01\" Error 5

Still working on it!

Anyone else still having this problem? Tried running as Admin. What file is it trying to delete? Any help would be appreciated. Working under VIsta Ultimate.

0

Share this post


Link to post
Share on other sites

the efisys.bin is found in: \efi\microsoft\boot\efisys.bin

dude, this post was amazing... it helped me A LOT!

so i'm finishing my vista OEM pt-BR under windows xp right now... my custom batch file:

CLS
@echo off
TITLE Criando imagem UDF do Windows Vista
ECHO.
ECHO Sua imagem está sendo criada. Tenha certeza que oscdimg.exe está presente.
ECHO.
ECHO Criando sua UDF...
oscdimg -h -n –m -u -u1 -u2 -bD:\VistaWork\DVD\efi\microsoft\boot\efisys.bin -lFRMCXFRE_BR_DVD D:\VistaWork\DVD\ D:\FRMCXFRE_BR_DVD.iso
ECHO.
PAUSE
EXIT

sorry, the topic is very old, but im SO HAPPY! thank you guys!

0

Share this post


Link to post
Share on other sites

Thats great its helped you out...much water under the bridge for us though.

0

Share this post


Link to post
Share on other sites

hey guys

i was reading about how to create a boot cd

and am using imgburn to make my boot cd

i am confused when it says boot image

i dont know what file to choose....i tried a few like

BOOTMGR

please i need some help

here is the list of files in the iso

BOOT

EFI

SOURCES

SUPPORT

UPGRADE

AUTORUN

BOOTMGR

SETUP.EXE

I WILL BE REALLY HAPPY IF SOMEONE COULD HELP ME :):thumbup:rolleyes:

0

Share this post


Link to post
Share on other sites

i tried to create an image by evary procedure said above..but didn't worked..im getting the message

"oscdimg" is not recognized as an internal or external command

i downloaded that oscdimg file and pasted in the file directory...what to do with this..anyone plz help me in this.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.