<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>
<channel>
	<title>G-Loaded Journal &#187; Windows</title>
	<atom:link href="http://www.g-loaded.eu/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.g-loaded.eu</link>
	<description>An open-source software and technology related journal</description>
	<lastBuildDate>Mon, 05 Dec 2011 19:55:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
		<item>
		<title>How to create a Windows bootable CD with mkisofs</title>
		<link>http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/</link>
		<comments>http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 13:19:08 +0000</pubDate>
		<dc:creator>George Notaras</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Tips]]></category>
		<guid isPermaLink="false">http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/</guid>
		<description><![CDATA[Generally, the only reason for which you may need to create a bootable Windows CD is when you have updated the operating system installation files with the latest Service Pack (slipstream). Even in this case, chances are that most users will rather use standard windows software to create the bootable CDs than mkisofs under Linux, [...]]]></description>
			<content:encoded><![CDATA[<p>Generally, the only reason for which you may need to create a bootable Windows CD is when you have updated the operating system installation files with the latest Service Pack (slipstream). Even in this case, chances are that most users will rather use standard windows software to create the bootable CDs than <a href="http://cdrecord.berlios.de/old/private/mkisofs.html">mkisofs</a> under Linux, but, even for this extremely rare case, here is how to accomplish this task.<br />
<span id="more-389"></span><br />
For the following operation the <strong>Linux native mkisofs</strong> <em>version 2.01</em> (or <strong>genisoimage</strong>), which is shipped with Fedora (and with every other Linux distribution), was used.</p>
<p>The Windows port of <strong>mkisofs</strong> and, generally, the <strong>Win32 binaries</strong> of all the utilities included in the <a href="http://cdrecord.berlios.de/old/private/cdrecord.html">cdrtools</a> package can be found in the <a href="http://www.student.tugraz.at/thomas.plank/index_en.html">Cdrtools: Win32 Binaries</a> page. Please note that the page also includes a Win32 binary version of the latest (unstable) version of cdrtools. It is highly recommended to use the latest <strong>stable</strong> version.</p>
<p>So, <strong>change to the directory</strong> that contains the Windows installation files and issue the following command:</p>
<pre class="console">
mkisofs \
    -b cdboot/msboot.img -no-emul-boot -boot-load-seg 1984 -boot-load-size 4 \
    -iso-level 2 -J -l -D -N -joliet-long -relaxed-filenames \
    -V "WINSP" \
    -o ../winsp.iso .
</pre>
<p><strong>The above command ends with a dot (.)</strong>.</p>
<p>All of the above flags seem to be necessary in order to <strong>relax many of the ISO restrictions</strong>. For more information about each of them please refer to the mkisofs (or <strong>genisoimage</strong>) manual page (<code>man 8 mkisofs</code>).</p>
<p>This tip assumes that the boot image which is used in the Microsoft bootable CDs is available and that it has been placed in a <code>cdboot/</code> subdirectory under the windows installation files root dir:</p>
<pre class="codesnp">
.
    cdboot/msboot.img
    other_dir/some_other_file
    file1
    file2
</pre>
<p>I admit that this is a nasty workaround, but I didn&#8217;t have enough time to investigate why the <strong>-b</strong> option caused that much trouble. The path to the boot image which is supplied with the -b option is supposed to be a relative path to the path of the root directory of the windows files, which is our current directory, aka (<strong>.</strong>). But, everytime I placed the msboot.img outside the win files directory and used <code>-b ../msboot.img</code>, mkisofs complained with the following pesky error message:</p>
<pre class="codesnp">mkisofs: Uh oh, I cant find the boot image '../msboot.img' !</pre>
<p>It didn&#8217;t make any sense, so I did not bother any more with it. If you have any info on this or if I miss anything, which is rather possible since I have spent very little time with this, your feedback is appreciated.</p>
<p>The above command will produce an image of a bootable Windows CD, which will also contain the boot image. But, this should not be a problem in any case.</p>
<p>Note that the ISO image will be saved in the <strong>parent directory</strong> of the one that holds the Windows files.</p>
<p><strong>Note</strong>: How to integrate a service pack into a Windows OS is beyond the scope of this document. There are numerous guides out there that cover this topic in great detail.</p>
<div class="cc-block"><em><a href="http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/">How to create a Windows bootable CD with mkisofs</a></em>, unless otherwise expressly stated, is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License</a>. Terms and conditions beyond the scope of this license may be available at <a href="http://www.g-loaded.eu/about/disclaimer-and-license/">www.g-loaded.eu</a>.</div>
<h4>Related Articles</h4>
<ul><li><a href="http://www.g-loaded.eu/2009/05/07/microsoft-releases-windows-7-rc-to-the-public/" rel="bookmark">Microsoft Releases Windows 7 RC to the Public</a></li>
<li><a href="http://www.g-loaded.eu/2006/10/07/verify-a-burned-cddvd-image-on-linux/" rel="bookmark">Verify a burned CD/DVD image on Linux</a></li>
<li><a href="http://www.g-loaded.eu/2010/04/08/started-using-rdiff-backup-on-windows/" rel="bookmark">Started using rdiff-backup on Windows</a></li>
<li><a href="http://www.g-loaded.eu/2006/04/08/linux-tips-pack-i/" rel="bookmark">Linux Tips &#8211; Pack I</a></li>
<li><a href="http://www.g-loaded.eu/2009/03/05/checking-on-windows-vista/" rel="bookmark">Checking on Windows Vista</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.g-loaded.eu/2007/04/25/how-to-create-a-windows-bootable-cd-with-mkisofs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>

