<?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>Windows XP &#8211; Blog of Kliment Andreev &#8211; A place so I won&#039;t forget things</title>
	<atom:link href="https://blog.andreev.it/tag/windows-xp/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.andreev.it</link>
	<description></description>
	<lastBuildDate>Sat, 23 Nov 2019 14:38:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>General: Multi-boot installation of Windows XP, Windows 2008 R2, Windows 7, FreeBSD, CentOS 6.2 and BackTrack 5.1</title>
		<link>https://blog.andreev.it/2012/07/multi-boot-installation-of-windows-xp-windows-2008-r2-windows-7-freebsd-centos-6-2-and-backtrack-5-1/</link>
					<comments>https://blog.andreev.it/2012/07/multi-boot-installation-of-windows-xp-windows-2008-r2-windows-7-freebsd-centos-6-2-and-backtrack-5-1/#respond</comments>
		
		<dc:creator><![CDATA[Kliment Andreev]]></dc:creator>
		<pubDate>Sat, 14 Jul 2012 01:17:04 +0000</pubDate>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[2008R2]]></category>
		<category><![CDATA[BackTrack]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Multi-boot]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<guid isPermaLink="false">http://blog.iandreev.com/?p=325</guid>

					<description><![CDATA[This is the procedure that I used to install Windows XP, Windows 7, Windows&#8230;]]></description>
										<content:encoded><![CDATA[<div id="bsf_rt_marker"></div><p>This is the procedure that I used to install Windows XP, Windows 7, Windows 2008 R2, FreeBSD 9.0, CentOS 6.2 and BackTrack 5.1 on the same hard drive, using GRUB boot loader as the primary OS loader. In addition to the installation media for all of these operating systems, you will need a bootable partition manager. I used GParted, a free download from <a href="http://gparted.sourceforge.net/" target="_blank" rel="noopener noreferrer">here</a>.</p>
<p><strong>NOTE: The procedure will erase any previous content on your hard drive. Make sure that you know what you are doing.</strong></p>
<p>First, boot into GParted and create the partitions upfront. Windows XP needs one primary partition and we will use one extended for Windows 7, Windows 2008 R2, BackTrack and swap for both CentOS and BackTrack. FreeBSD needs one primary and we can accommodate CentOS on the last primary. So we have:</p>
<ul>
<li>1st primary for Windows XP</li>
<li>2nd extended (Windows 7, Windows 2008R2, BackTrack and swap for BackTrack and CentOS)</li>
<li>3rd primary for FreeBSD</li>
<li>4th primary for CentOS</li>
</ul>
<p>Create the XP partition first. Right-click on the unpartitioned space, choose <strong>New</strong> and enter the size of the XP partition. In my case, I’ll use <em>15360MB</em>. You can set the file system type as NTFS, but that’s step is not that important. If you don’t specify the file system type, Windows will complain that it can’t install itself on that partition, so you’ll have to recreate that partition from the Windows partition manager. You’ll have to play with the partitions first and see how much space you want to allocate for each OS. The numbers that I am using correspond to the size of my HDD.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-01.png"><img fetchpriority="high" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-01.png" alt="" width="504" height="267" class="aligncenter size-full wp-image-6149" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-01.png 504w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-01-300x159.png 300w" sizes="(max-width: 504px) 100vw, 504px" /></a><br />
After you create the first primary partition, create the Extended Partition. I’ll use <em>20480MB</em> for Windows 2008R2, <em>25600MB</em> for Windows 7, <em>3500MB</em> for the Linux swap and <em>13688MB</em> for BackTrack. That’s a total of <em>63268MB</em>. Right-click, choose <strong>New</strong>, type the new size and change the type as <strong>Extended</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-02.png"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-02.png" alt="" width="496" height="276" class="aligncenter size-full wp-image-6150" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-02.png 496w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-02-300x167.png 300w" sizes="(max-width: 496px) 100vw, 496px" /></a><br />
Once you create the extended partition, we have to divide this partition into four. Select the extended partition on top, right-click, choose <strong>New</strong> and type <strong>20480</strong> for the size or whatever you’ve decided. As you can see, this is a logical partition.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-03.png"><img decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-03.png" alt="" width="591" height="293" class="aligncenter size-full wp-image-6151" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-03.png 591w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-03-300x149.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-03-585x290.png 585w" sizes="(max-width: 591px) 100vw, 591px" /></a><br />
Repeat the same step for Windows 7, Linux swap and BackTrack, changing only the size of the logical partition. Now we have one primary partition for XP and one extended with four logical partitions for Windows 7, Windows 2008R2, shared Linux swap and BackTrack.<br />
For FreeBSD, we have to create another primary partition. Right-click, choose <strong>new</strong> and type <em>16384MB</em> for size.  This partition is also a primary. Finally, I’ve created another partition. I’ve accepted <em>19456MB</em> (all that’s left over from my HDD) and created it as a primary partition as well. I’ll use this partition for CentOS.<br />
Now that these partitions are created, click <strong>Apply </strong>and reboot the system.<br />
<strong>NOTE: If GParted fails to create some of the partitions, create one at a time, then click <strong>Apply </strong>and proceed to the next.</strong><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-04.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-04.png" alt="" width="516" height="349" class="aligncenter size-full wp-image-6153" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-04.png 516w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-04-300x203.png 300w" sizes="(max-width: 516px) 100vw, 516px" /></a><br />
Next, boot with Windows XP installation media and select the C: partition to install XP.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-05.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-05.png" alt="" width="627" height="163" class="aligncenter size-full wp-image-6154" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-05.png 627w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-05-300x78.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-05-585x152.png 585w" sizes="(max-width: 627px) 100vw, 627px" /></a><br />
After that, install the OS as usual. Make sure that XP boots fine then insert the Windows 2008 R2 DVD. Select the version that you want to install (Core, Standard, Enterprise, etc…) and then choose <em>Custom (Advanced)</em>.  When you are presented with the disk partitioning program, select the partition (you’ll recognize it by the size that you’ve entered) and follow the rest of the prompts to install the OS. If needed delete the partition and recreate it from here. As long as you select the right partition, you can’t go wrong.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-06.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-06.png" alt="" width="586" height="195" class="aligncenter size-full wp-image-6155" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-06.png 586w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-06-300x100.png 300w" sizes="(max-width: 586px) 100vw, 586px" /></a><br />
Once the OS is installed, remove the install media and let the OS reboot. You should be presented with the following Windows boot loader. Make sure that both XP (Earlier Version of Windows) and 2008 R2 can be booted normally.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-07.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-07.png" alt="" width="629" height="148" class="aligncenter size-full wp-image-6156" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-07.png 629w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-07-300x71.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-07-585x138.png 585w" sizes="(max-width: 629px) 100vw, 629px" /></a><br />
Insert the Windows 7 install media and reboot.  When prompted “Which type of installation do you want?”, click on <em>Custom (Advanced)</em>. Then select the “Disk 0 Partition X” where X is however you created that logical partition and proceed with the installation.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-08.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-08.png" alt="" width="591" height="211" class="aligncenter size-full wp-image-6157" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-08.png 591w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-08-300x107.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-08-585x209.png 585w" sizes="(max-width: 591px) 100vw, 591px" /></a><br />
Once the Windows 7 is installed, remove the media and reboot. Make sure that all three operating systems work.<br />
<strong>NOTE: If you want you can change the label of “Earlier Version of Windows” to something else.</strong><br />
Open up the command prompt, type <strong>bcdedit</strong> (from Windows 7 or Windows 2008R2 only) and confirm that the identifier for the Windows Legacy OS Loader is <em>{ntldr}.</em><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-09.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-09.png" alt="" width="448" height="109" class="aligncenter size-full wp-image-6158" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-09.png 448w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-09-300x73.png 300w" sizes="(max-width: 448px) 100vw, 448px" /></a><br />
Once confirmed, go to C:\Windows\System32\, right-click on cmd.exe and choose Run as Administrator. Then type:</p>
<pre class="brush: bash; highlight: [1]; title: ; notranslate">
C:\&gt;bcdedit /set {ntldr} description &quot;Windows XP&quot;
The operation completed successfully.
</pre>
<p>Now, insert FreeBSD CD and reboot. Use the default boot mode for FreeBSD or hit &#8220;1&#8221; and Enter. Choose <em>&#8220;Install&#8221;.</em><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-10.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-10.png" alt="" width="515" height="228" class="aligncenter size-full wp-image-6159" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-10.png 515w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-10-300x133.png 300w" sizes="(max-width: 515px) 100vw, 515px" /></a><br />
Select &#8220;No&#8221; if you are using standard US keyboard.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-11.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-11.png" alt="" width="493" height="296" class="aligncenter size-full wp-image-6160" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-11.png 493w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-11-300x180.png 300w" sizes="(max-width: 493px) 100vw, 493px" /></a><br />
Enter your hostname and click &#8220;OK&#8221;.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-12.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-12.png" alt="" width="626" height="220" class="aligncenter size-full wp-image-6161" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-12.png 626w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-12-300x105.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-12-585x206.png 585w" sizes="(max-width: 626px) 100vw, 626px" /></a><br />
Choose what you want to install.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-13.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-13.png" alt="" width="578" height="295" class="aligncenter size-full wp-image-6162" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-13.png 578w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-13-300x153.png 300w" sizes="(max-width: 578px) 100vw, 578px" /></a><br />
Choose <strong>&#8220;Manual&#8221;</strong> install.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-14.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-14.png" alt="" width="554" height="252" class="aligncenter size-full wp-image-6163" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-14.png 554w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-14-300x136.png 300w" sizes="(max-width: 554px) 100vw, 554px" /></a><br />
When you see the list of the partitions, scroll down to the third one <em>(/dev/ada0s3</em>) and delete it.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-15.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-15.png" alt="" width="601" height="327" class="aligncenter size-full wp-image-6164" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-15.png 601w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-15-300x163.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-15-585x318.png 585w" sizes="(max-width: 601px) 100vw, 601px" /></a><br />
Then select <strong>“Create”, </strong>accept defaults and hit <em>Enter</em>. This will recreate <em>ada0s3</em>, but this time as a FreeBSD partition. Select <em>ada0s3</em> again, select <strong>“Create”</strong> and when prompted, type <strong>“freebsd-ufs” </strong>for the Type, <strong>15384MB</strong> for size and <strong>“/”</strong> for mountpoint.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-16.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-16.png" alt="" width="505" height="295" class="aligncenter size-full wp-image-6165" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-16.png 505w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-16-300x175.png 300w" sizes="(max-width: 505px) 100vw, 505px" /></a><br />
As you remember, we allocated <em>16384MB</em> for FreeBSD, but we need <em>1000MB</em> for the swap partition. I came with <em>1000MB</em> while playing with the various “Auto” options. That’s what FreeBSD recommended, that’s what I am going to use. Select <strong>“Create”</strong> again.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-17.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-17.png" alt="" width="434" height="289" class="aligncenter size-full wp-image-6166" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-17.png 434w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-17-300x200.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-17-263x175.png 263w" sizes="(max-width: 434px) 100vw, 434px" /></a><br />
Then type <strong>“freebsd-swap”</strong> for Type and <em>1000MB</em> (it’s probably already there)  for the swap partition.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-18.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-18.png" alt="" width="559" height="350" class="aligncenter size-full wp-image-6167" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-18.png 559w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-18-300x188.png 300w" sizes="(max-width: 559px) 100vw, 559px" /></a><br />
Select OK, then hit TAB several times, select <strong>Finish</strong> and hit enter. Finally, commit the changes and wait for the installer to finish.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-19.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-19.png" alt="" width="576" height="337" class="aligncenter size-full wp-image-6168" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-19.png 576w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-19-300x176.png 300w" sizes="(max-width: 576px) 100vw, 576px" /></a><br />
Once the installation is completed, change the root password, configure the network, time zone, and then reboot. When you reboot, you’ll see that the previous Windows boot loader is gone, and there are no prompts for boot options. Let FreeBSD 9.0 boot, log as root, and execute</p>
<pre class="brush: bash; title: ; notranslate">
boot0cfg  -B ada0
reboot
</pre>
<p><strong>NOTE: replace ada0 with the name of your drive. If you look at the image where I mentioned how to create a swap partition, you’ll see the name of the drive on top.<br />
NOTE: Unlike previous versions of FreeBSD, version 9.0 comes with a new bootloader. Previous versions allowed choosing where  you want to install the bootloader (MBR or the partition or no boot loader).</strong><br />
When the system is rebooted, you’ll be presented with the following menu. This is the FreeBSD bootloader. We won’t be using it, so insert the CentOS media, and hit CTRL-ALT-DEL to reboot.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-20.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-20.png" alt="" width="224" height="278" class="aligncenter size-full wp-image-6169" /></a><br />
Hit any key when you see the initial splash screen and choose <strong>Install</strong>. Configure the root password, hostname, time zone, etc. and then choose to <em>create a custom layout</em>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-21.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-21.png" alt="" width="505" height="232" class="aligncenter size-full wp-image-6170" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-21.png 505w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-21-300x138.png 300w" sizes="(max-width: 505px) 100vw, 505px" /></a><br />
Select the partition that you created for swap (3500MB) and choose <em>“Edit”</em><br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-22.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-22.png" alt="" width="602" height="336" class="aligncenter size-full wp-image-6171" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-22.png 602w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-22-300x167.png 300w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-22-585x327.png 585w" sizes="(max-width: 602px) 100vw, 602px" /></a><br />
Check <strong>“Format as:” </strong>and select<em> “swap”</em>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-23.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-23.png" alt="" width="350" height="191" class="aligncenter size-full wp-image-6172" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-23.png 350w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-23-300x164.png 300w" sizes="(max-width: 350px) 100vw, 350px" /></a><br />
Do the same for the last partition, <em>sda4</em>. Select it, click<strong> Edit</strong>, change the mount point to <strong>“/”</strong> and format the partition as <em>“ext4”</em> type.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-24.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-24.png" alt="" width="312" height="219" class="aligncenter size-full wp-image-6173" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-24.png 312w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-24-300x211.png 300w" sizes="(max-width: 312px) 100vw, 312px" /></a><br />
Click <em>Next</em> and confirm the changes.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-25.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-25.png" alt="" width="316" height="136" class="aligncenter size-full wp-image-6174" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-25.png 316w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-25-300x129.png 300w" sizes="(max-width: 316px) 100vw, 316px" /></a><br />
Finally, we have to change the location of the boot loader. Click <strong>“Change device”</strong> and select<strong> “First sector of boot partition &#8211; /dev/sda4”</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-26.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-26.png" alt="" width="552" height="284" class="aligncenter size-full wp-image-6175" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-26.png 552w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-26-300x154.png 300w" sizes="(max-width: 552px) 100vw, 552px" /></a><br />
Click <strong>“Next”</strong> and the installation will begin. Once the installation is complete and you reboot, CentOS will show up under the FreeBSD loader as <strong>“F4 Linux”</strong>. If you boot this option, you will see that FreeBSD loader actually boots the GRUB boot loader and then Linux. CentOS 6.2 by default uses the old GRUB loader. What we want to use is GRUB v2 which comes with BackTrack. You can configure CentOS after the initial boot, then insert the BackTrack installation media and boot from it. Use the default boot text mode. Type <strong>startx </strong>and wait for BackTrack to start.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-27.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-27.png" alt="" width="438" height="179" class="aligncenter size-full wp-image-6176" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-27.png 438w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-27-300x123.png 300w" sizes="(max-width: 438px) 100vw, 438px" /></a><br />
When the GUI starts, there is only one icon on the desktop <strong>“Install BackTrack”</strong>. Double-click that. When you reach step 4 of 7, select the manual install.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-28.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-28.png" alt="" width="450" height="359" class="aligncenter size-full wp-image-6177" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-28.png 450w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-28-300x239.png 300w" sizes="(max-width: 450px) 100vw, 450px" /></a><br />
Select the partition that we’ll be using for BackTrack and click <strong>Change</strong>.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-29.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-29.png" alt="" width="464" height="333" class="aligncenter size-full wp-image-6178" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-29.png 464w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-29-300x215.png 300w" sizes="(max-width: 464px) 100vw, 464px" /></a><br />
Leave the size as is, change the file system type to <em>ext3</em> or <em>ext4</em>, check <strong>&#8220;Format the partition&#8221;</strong> and use <strong>“/” </strong>for mount point.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-30.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-30.png" alt="" width="497" height="248" class="aligncenter size-full wp-image-6180" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-30.png 497w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-30-300x150.png 300w" sizes="(max-width: 497px) 100vw, 497px" /></a><br />
BackTrack will give you a summary where you can see that it will use the same swap partition as CentOS. Once installed, reboot and you’ll be greeted with the GRUB2 loader. As you can see the FreeBSD loader is gone, but also the entry for FreeBSD.<br />
<a href="https://blog.andreev.it/wp-content/uploads/2012/07/P023-31.png"><img loading="lazy" decoding="async" src="https://blog.andreev.it/wp-content/uploads/2012/07/P023-31.png" alt="" width="392" height="128" class="aligncenter size-full wp-image-6181" srcset="https://blog.andreev.it/wp-content/uploads/2012/07/P023-31.png 392w, https://blog.andreev.it/wp-content/uploads/2012/07/P023-31-300x98.png 300w" sizes="(max-width: 392px) 100vw, 392px" /></a><br />
<strong>NOTE: If you need more info on GRUB2 visit this <a href="http://www.dedoimedo.com/computers/grub-2.html">site</a>.</strong><br />
For now boot into BackTrack and execute the following: </p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/grub.d
cat &gt;&gt; 35_freebsd
</pre>
<p>Then start typing:</p>
<pre class="brush: bash; title: ; notranslate">
#!/bin/sh –e
echo “FreeBSD 9.0”
cat &lt;&lt; EOF
menuentry “FreeBSD 9.0” {
    set root=(hd0,3)
    chainloader +1
}
EOF
</pre>
<p>Then hit CTRL-D to save the file and execute:</p>
<pre class="brush: bash; title: ; notranslate">
chmod +x 35_freebsd
update-grub
reboot
</pre>
<p>As you remember, FreeBSD was on <em>ada0s3</em> or <em>sda3</em> or the third partition, that&#8217;s why we are using <em>(hd0,3)</em> in the script.When GRUB2 comes back, at the end of the list you’ll see FreeBSD 9.0. If you need to make a default boot OS, I strongly suggest to read the previous link for GRUB2.  Now that all OSs are operational, you can go ahead and configure them to your needs.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.andreev.it/2012/07/multi-boot-installation-of-windows-xp-windows-2008-r2-windows-7-freebsd-centos-6-2-and-backtrack-5-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
