<?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>eGalax Touch &#8211; Sandy Scott&#039;s Web Spot</title>
	<atom:link href="https://www.sandyscott.net/tag/egalax-touch/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sandyscott.net</link>
	<description>My little corner of the web</description>
	<lastBuildDate>Mon, 11 May 2020 21:58:18 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>VirtualBox direct access to SD Card in Windows</title>
		<link>https://www.sandyscott.net/2013/08/virtualbox-direct-drive-access/</link>
					<comments>https://www.sandyscott.net/2013/08/virtualbox-direct-drive-access/#comments</comments>
		
		<dc:creator><![CDATA[Sandy]]></dc:creator>
		<pubDate>Wed, 14 Aug 2013 15:18:51 +0000</pubDate>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[eGalax Touch]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<guid isPermaLink="false">http://www.sandyscott.net/?p=38</guid>

					<description><![CDATA[I&#8217;ve trying to get my Raspberry Pi working with a touchscreen (eGalax Touch). This blog post has been an incredible help, but I stumbled at the very last hurdle &#8211; modifying the contents of the SD card. You see, my compile system (Ubuntu 13.04) was in a virtual machine (VM)...<p> <a class="continue-reading-link" href="https://www.sandyscott.net/2013/08/virtualbox-direct-drive-access/"><span>Continue reading</span><i class="crycon-right-dir"></i></a> </p>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve trying to get my Raspberry Pi working with a touchscreen (eGalax Touch).</p>
<p>This <a href="http://www.engineering-diy.blogspot.ro/2013/01/adding-7inch-display-with-touchscreen.html">blog post</a> has been an incredible help, but I stumbled at the very last hurdle &#8211; modifying the contents of the SD card.</p>
<p>You see, my compile system (Ubuntu 13.04) was in a virtual machine (VM) &#8211; VirtualBox running on Windows 7.</p>
<p>Windows 7 doesn&#8217;t know how to read the various linux filesystems, so they&#8217;re invisible, which means I needed to access to the whole, raw disk directly from the VM.</p>
<p>Here&#8217;s a step-by-step guide to directly mounting raw SD card in your virtual machine, so you can edit it.</p>
<ol>
<li><strong>Get the DeviceID for you SD Card reader</strong></li>
<p>Open a command window as an administrator. (Press Start, type <strong>cmd</strong>, right click on <strong>cmd.exe</strong> in the list, and choose &#8220;Run as administrator&#8221;)</p>
<p>type</p>
<pre>wmic diskdrive list brief
</pre>
<p>and if your system is anything like mine you&#8217;ll get something like this:</p>
<pre>C:\Users\Sandy Scott&gt;wmic diskdrive list brief
Caption                      DeviceID            Model                        Partitions  Size
WDC WD7500BPKT-75PK4T0       \\.\PHYSICALDRIVE0  WDC WD7500BPKT-75PK4T0       3           750153761280
O2Micro SD SCSI Disk Device  \\.\PHYSICALDRIVE1  O2Micro SD SCSI Disk Device  1           3964584960
</pre>
<p>The top item is the main hard drive, the lower one is the SD card.</p>
<p>The bit we&#8217;re interested in is the <strong>DeviceID</strong>, in this case <strong>\\.\PHYSICALDRIVE1</strong></p>
<li><strong>Navigate to the VirtualBox directory</strong></li>
<p>Next thing you&#8217;ll need to find is the installation directory for VirtualBox. This is usually <strong>C:\Program Files\Oracle\VirtualBox\</strong>. You&#8217;ll know it&#8217;s the right one if it has lots of files starting with <strong>VBox</strong> in it.</p>
<p>Go there by entering this command</p>
<pre>cd C:\Program Files\Oracle\VirtualBox
</pre>
<li><strong>Create the link file to the SD card</strong></li>
<pre>VBoxManage internalcommands createrawvmdk -filename "%USERPROFILE%/Desktop/sdcard.vmdk" -rawdisk "\\.\PHYSICALDRIVE1"
</pre>
<p>The file you&#8217;ve just created (<strong>sdcard.vmdk</strong>, on your Desktop) is a special link that lets a virtual machine access the SD card.</p>
<li><strong>Connect the VM to the SD card using the link</strong></li>
<p>Now, open VirtualBox <span style="text-decoration: underline;">as Administrator</span>, and open the <strong>Settings</strong> for your virtual machine. Go to <strong>Storage -&gt; Controller: SATA -&gt; (right click) Add Hard Disk -&gt; Choose Existing Disk</strong> and open the file you just created.</p>
<p>Fire up the VM and you should be able to access the SD card in all it&#8217;s glory!</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sandyscott.net/2013/08/virtualbox-direct-drive-access/feed/</wfw:commentRss>
			<slash:comments>42</slash:comments>
		
		
			</item>
	</channel>
</rss>
