Sider

Saturday 18 June 2011

Create a bootable ISO file with Oscdimg.exe


When you install the WAIK or OPK kit, you also automatically get Oscdimg.exe installed. It can be used from the WAIK/OPK cmd prompt.

Let´s say you have a copied the content of a Windows DVD to “C:\Work\MyCustomWinDVD”, made some changes, and are now ready to burn the .iso file. The syntax would be like this:

“oscdimg –bC:\Work\MyCustomWinDVD\boot\etfsboot.com -h -u2 -m –lMyCustomISO C:\Work\MyCustomWinDVD C:\Work\MyCustomISO.iso”

Options explanation:

-b - Specifies the location of a boot sector file, in this case found in the boot folder of the Windows DVD

-h - Include hidden files and directories

-u2 - Specifies that only the UDF file system is used

-m - Ignore the maximum (CD) size of a image

-l - Is used to label the iso file

No comments:

Post a Comment