<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Re-visiting an install of 386BSD 0.0	</title>
	<atom:link href="https://virtuallyfun.com/2022/04/12/re-visiting-an-install-of-386bsd-0-0/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com/2022/04/12/re-visiting-an-install-of-386bsd-0-0/</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Thu, 12 May 2022 11:25:35 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>
	<item>
		<title>
		By: dariusd		</title>
		<link>https://virtuallyfun.com/2022/04/12/re-visiting-an-install-of-386bsd-0-0/comment-page-1/#comment-305300</link>

		<dc:creator><![CDATA[dariusd]]></dc:creator>
		<pubDate>Thu, 12 May 2022 11:25:35 +0000</pubDate>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=11842#comment-305300</guid>

					<description><![CDATA[The failure of 386BSD 0.0 booting from hard disk on VMware virtualization is easily explained – and easily fixed!

To get 386BSD 0.0 booting in a VMware virtual machine, go into the VM&#039;s BIOS Setup and to the hard disk configuration page (just like the first screenshot in the article).  With the &quot;Type:&quot; field selected, press the [-] (minus) key once to change &quot;Auto&quot; to &quot;User&quot;, then press down-arrow a few times to navigate to the &quot;LBA Mode Control:&quot; parameter.  Press the [-] key again to switch LBA Mode Control from &quot;Enabled&quot; to &quot;Disabled&quot;.  Press the [F10] key and [Enter] to save and exit.

Your virtual machine should boot into 386BSD.  (Almost instantaneously!)

To explain the failure: 386BSD 0.0 is configured to use the hard drive as an ST506, which only supports CHS addressing.  In its default configuration, the VM&#039;s BIOS will use LBA mode to load the bootstrap from disk, but after passing control to the 386BSD first-stage bootstrap (wdbootblk), the bootstrap does not (re)program the Drive/Head register, which means that the IDE controller stays in LBA mode and interprets the bootstrap&#039;s CHS disk read requests as if they were LBA-addressed requests, causing the bootstrap to access the wrong region of the disk when it attempts to load the second-stage bootstrap (bootwd).  This does not work out well for the unfortunate guest OS!  It transfers control to nonsense code, where it hangs.

Switching BIOS to use CHS ensures that the IDE controller is already in CHS mode when the bootstrap takes control, which allows the bootstrap to load the correct sectors from disk and successfully launch the OS.

Thank you for another fascinating exploration of PC OS history!]]></description>
			<content:encoded><![CDATA[<p>The failure of 386BSD 0.0 booting from hard disk on VMware virtualization is easily explained – and easily fixed!</p>
<p>To get 386BSD 0.0 booting in a VMware virtual machine, go into the VM&#8217;s BIOS Setup and to the hard disk configuration page (just like the first screenshot in the article).  With the &#8220;Type:&#8221; field selected, press the [-] (minus) key once to change &#8220;Auto&#8221; to &#8220;User&#8221;, then press down-arrow a few times to navigate to the &#8220;LBA Mode Control:&#8221; parameter.  Press the [-] key again to switch LBA Mode Control from &#8220;Enabled&#8221; to &#8220;Disabled&#8221;.  Press the [F10] key and [Enter] to save and exit.</p>
<p>Your virtual machine should boot into 386BSD.  (Almost instantaneously!)</p>
<p>To explain the failure: 386BSD 0.0 is configured to use the hard drive as an ST506, which only supports CHS addressing.  In its default configuration, the VM&#8217;s BIOS will use LBA mode to load the bootstrap from disk, but after passing control to the 386BSD first-stage bootstrap (wdbootblk), the bootstrap does not (re)program the Drive/Head register, which means that the IDE controller stays in LBA mode and interprets the bootstrap&#8217;s CHS disk read requests as if they were LBA-addressed requests, causing the bootstrap to access the wrong region of the disk when it attempts to load the second-stage bootstrap (bootwd).  This does not work out well for the unfortunate guest OS!  It transfers control to nonsense code, where it hangs.</p>
<p>Switching BIOS to use CHS ensures that the IDE controller is already in CHS mode when the bootstrap takes control, which allows the bootstrap to load the correct sectors from disk and successfully launch the OS.</p>
<p>Thank you for another fascinating exploration of PC OS history!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
