<?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/"
	>

<channel>
	<title>sheenaustin.com &#187; boot.ini</title>
	<atom:link href="http://www.sheenaustin.com/tag/bootini/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheenaustin.com</link>
	<description>my home on the interweb</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:59:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Diskpart.exe Warning when expanding drive</title>
		<link>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/</link>
		<comments>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/#comments</comments>
		<pubDate>Tue, 19 May 2009 17:12:54 +0000</pubDate>
		<dc:creator>Sheen</dc:creator>
				<category><![CDATA[Windows Server]]></category>
		<category><![CDATA[boot.ini]]></category>
		<category><![CDATA[Diskpart]]></category>

		<guid isPermaLink="false">http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/</guid>
		<description><![CDATA[Recently when using diskpart.exe to expand a volume on a Windows Server 2000 SP4 machine, we got a warning &#34;Deleting the primary partition has modified the partition number of the partition that contains your Windows 2000 system files.&#160; The old partition number was 2; the new partition number is 1.&#34; We changed the boot.ini file [...]


Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/' rel='bookmark' title='Permanent Link: Exchange 2007 Recreate OWA folders'>Exchange 2007 Recreate OWA folders</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently when using diskpart.exe to expand a volume on a Windows Server 2000 SP4 machine, we got a warning &quot;Deleting the primary partition has modified the partition number of the partition that contains your Windows 2000 system files.&#160; The old partition number was 2; the new partition number is 1.&quot;</p>
<p>We changed the boot.ini file from:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(2)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(2)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</font></p>
<p>to:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(1)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</font></p>
<p>On rebooting the server, the server refused to boot throwing an NT Kernel not found error.</p>
<p>How to fix it:</p>
<p> <span id="more-120"></span>
<p>If you get this error, before you reboot the server, you first identify the active boot partition – to do this, you need to start diskpart.exe from the command line and run the command ‘list volume’. You should get an output as follows:</p>
<p><font size="2" face="Courier New">DISKPART&gt; list volume </font></p>
<p><font size="2" face="Courier New">&#160; Volume ###&#160; Ltr&#160; Label&#160;&#160;&#160;&#160;&#160;&#160;&#160; Fs&#160;&#160;&#160;&#160; Type&#160;&#160;&#160;&#160;&#160;&#160;&#160; Size&#160;&#160;&#160;&#160; Status&#160;&#160;&#160;&#160; Info     <br />&#160; &#8212;&#8212;&#8212;-&#160; &#8212;&#160; &#8212;&#8212;&#8212;&#8211;&#160; &#8212;&#8211;&#160; &#8212;&#8212;&#8212;-&#160; &#8212;&#8212;-&#160; &#8212;&#8212;&#8212;&#160; &#8212;&#8212;&#8211;      <br />&#160; Volume 0&#160;&#160;&#160;&#160; D&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; DVD-ROM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 0 B      <br />&#160; Volume 1&#160;&#160;&#160;&#160; C&#160;&#160; IBM_PRELOAD&#160; NTFS&#160;&#160; Partition&#160;&#160;&#160;&#160; 34 GB&#160; Healthy&#160;&#160;&#160; System      <br />&#160; Volume 2&#160;&#160;&#160;&#160; E&#160;&#160; Data&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; NTFS&#160;&#160; Partition&#160;&#160;&#160; 115 GB&#160; Healthy</font></p>
<p>In the output shown above, the section under ‘Info’ shows ‘System’ for ‘Volume 1’ indicating that the boot partition is on Volume 1 so the boot loader should have the following to correctly boot the OS.</p>
<p>multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect</p>
<p>Now to ensure that you have a better chance of booting the OS in case something really has gone wrong with the results of ‘list volume’ you can use a boot.ini file as follows:</p>
<p><font size="2" face="Courier New">[boot loader]     <br />timeout=30      <br />default=multi(0)disk(0)rdisk(0)partition(1)\WINNT      <br />[operating systems]      <br />multi(0)disk(0)rdisk(0)partition(1)\WINNT=&quot;Microsoft Windows 2000 Server&quot; /fastdetect      <br />multi(0)disk(0)rdisk(0)partition(2)\WINNT=&quot;Microsoft Windows 2000 Server-2&quot; /fastdetect</font></p>
<p>The benefit of choosing the above mentioned approach is that you get the option of selecting which drive would correctly boot the OS without having to go through a painful recovery mode process of trying to fix the boot record.</p>
<p>Once you know which entry boots the OS, you can edit your boot.ini file to remove the incorrect entry and have the server boot fine for all successive reboots.</p>


<p>Related posts:<ol><li><a href='http://www.sheenaustin.com/2009/05/18/get-list-of-machines-by-os-type-from-active-directory/' rel='bookmark' title='Permanent Link: Get list of machines by OS type from Active Directory'>Get list of machines by OS type from Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/10/07/how-to-backup-and-restore-active-directory/' rel='bookmark' title='Permanent Link: How to Backup and Restore Active Directory'>How to Backup and Restore Active Directory</a></li>
<li><a href='http://www.sheenaustin.com/2009/04/28/setting-up-split-brain-dns-in-windows-server/' rel='bookmark' title='Permanent Link: Setting up Split Brain DNS in Windows Server 2003'>Setting up Split Brain DNS in Windows Server 2003</a></li>
<li><a href='http://www.sheenaustin.com/2009/06/18/exchange-2007-recreate-owa-folders/' rel='bookmark' title='Permanent Link: Exchange 2007 Recreate OWA folders'>Exchange 2007 Recreate OWA folders</a></li>
<li><a href='http://www.sheenaustin.com/2010/01/15/ocs-2007-event-id-14517-when-starting-services/' rel='bookmark' title='Permanent Link: OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services'>OCS 2007 Protocol Stack Error Event ID 14517 When Starting Services</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sheenaustin.com/2009/05/19/diskpartexe-warning-when-expanding-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
