<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.2">Jekyll</generator><link href="https://justinschmitt.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://justinschmitt.com/" rel="alternate" type="text/html" /><updated>2022-11-30T04:30:57+00:00</updated><id>https://justinschmitt.com/feed.xml</id><title type="html">Justin’s tech tips</title><entry><title type="html">Install Windows 11 without logging in to a Microsoft account</title><link href="https://justinschmitt.com/2022/11/29/windows-11-install-without-login-account.html" rel="alternate" type="text/html" title="Install Windows 11 without logging in to a Microsoft account" /><published>2022-11-29T00:00:00+00:00</published><updated>2022-11-29T00:00:00+00:00</updated><id>https://justinschmitt.com/2022/11/29/windows-11-install-without-login-account</id><content type="html" xml:base="https://justinschmitt.com/2022/11/29/windows-11-install-without-login-account.html">&lt;p&gt;Do you want to install Windows 11, but you don’t want to log in with a Microsoft account?   The option to install with a local account is hidden by default, but here’s how you can get it back:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Install normally until you get to the prompt to log in with a Microsoft account.&lt;/li&gt;
  &lt;li&gt;Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Shift + F10&lt;/code&gt; to open the Command Prompt.&lt;/li&gt;
  &lt;li&gt;Enter the command &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;oobe\bypassnro&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;The installer will restart.&lt;/li&gt;
  &lt;li&gt;When you get back to the “Let’s Connect you to a network” page, click &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;I don't have internet&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;On the next page, select &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Continue with limited setup&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You will now be able to configure a local account!&lt;/p&gt;</content><author><name></name></author><summary type="html">Do you want to install Windows 11, but you don’t want to log in with a Microsoft account? The option to install with a local account is hidden by default, but here’s how you can get it back:</summary></entry><entry><title type="html">Configure VSCode for M1 Macs to launch integrated terminal in Rosetta 2 (x86-64 mode)</title><link href="https://justinschmitt.com/2021/05/12/vscode-terminal-x86-64-zsh.html" rel="alternate" type="text/html" title="Configure VSCode for M1 Macs to launch integrated terminal in Rosetta 2 (x86-64 mode)" /><published>2021-05-12T00:00:00+00:00</published><updated>2021-05-12T00:00:00+00:00</updated><id>https://justinschmitt.com/2021/05/12/vscode-terminal-x86-64-zsh</id><content type="html" xml:base="https://justinschmitt.com/2021/05/12/vscode-terminal-x86-64-zsh.html">&lt;p&gt;Looking for a way to quickly open a terminal under Rosetta 2 on your M1 Mac?  If you’re getting tired of repeatedly entering &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;arch -x86_64 /bin/zsh&lt;/code&gt; every time you need to run Rosetta 2 in the terminal, try this in VSCode:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open VSCode’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;settings.json&lt;/code&gt; by pressing &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Command + Shift + P&lt;/code&gt;, and then entering &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Preferences: Open Settings (JSON)&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Append the following to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&quot;terminal.integrated.profiles.osx&quot;&lt;/code&gt;:
    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&quot;terminal.integrated.profiles.osx&quot;: {
    &quot;zsh (x86-64)&quot;: {
        &quot;path&quot;: &quot;arch&quot;,
        &quot;args&quot;: [&quot;-x86_64&quot;, &quot;/bin/zsh&quot;]
    }
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You can also, of course, replace &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;zsh&lt;/code&gt; with your preferred shell.&lt;/p&gt;</content><author><name></name></author><summary type="html">Looking for a way to quickly open a terminal under Rosetta 2 on your M1 Mac? If you’re getting tired of repeatedly entering arch -x86_64 /bin/zsh every time you need to run Rosetta 2 in the terminal, try this in VSCode:</summary></entry><entry><title type="html">Windows context menu shortcuts to quickly merge files with Meld</title><link href="https://justinschmitt.com/2019/08/20/meld-right-click-context-menu-merge-files.html" rel="alternate" type="text/html" title="Windows context menu shortcuts to quickly merge files with Meld" /><published>2019-08-20T00:00:00+00:00</published><updated>2019-08-20T00:00:00+00:00</updated><id>https://justinschmitt.com/2019/08/20/meld-right-click-context-menu-merge-files</id><content type="html" xml:base="https://justinschmitt.com/2019/08/20/meld-right-click-context-menu-merge-files.html">&lt;p&gt;&lt;a href=&quot;http://meldmerge.org/&quot;&gt;Meld&lt;/a&gt; is a great cross-platform tool for merging files quickly and visually.  However, it requires several clicks to open files within its interface.  Luckily, there’s an easy way to add Meld to your context menu, so that you can select two files and send them to Meld with your right-click context menu.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Open the ‘Send To’ shortcut folder by opening the Run window with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;WIN + R&lt;/code&gt;, and then enter &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;shell:sendto&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;Within the folder that opens, simply add a shortcut to your Meld executable, likely &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;C:\Program Files (x86)\Meld\Meld.exe&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;You should now see Meld within your right click context menu, under the ‘Send To’ submenu!&lt;/li&gt;
&lt;/ol&gt;</content><author><name></name></author><summary type="html">Meld is a great cross-platform tool for merging files quickly and visually. However, it requires several clicks to open files within its interface. Luckily, there’s an easy way to add Meld to your context menu, so that you can select two files and send them to Meld with your right-click context menu.</summary></entry><entry><title type="html">Fixing connection refused error with WSL and Docker Desktop for Windows</title><link href="https://justinschmitt.com/2019/08/04/wsl-connection-refused-docker-desktop-windows-kubernetes.html" rel="alternate" type="text/html" title="Fixing connection refused error with WSL and Docker Desktop for Windows" /><published>2019-08-04T00:00:00+00:00</published><updated>2019-08-04T00:00:00+00:00</updated><id>https://justinschmitt.com/2019/08/04/wsl-connection-refused-docker-desktop-windows-kubernetes</id><content type="html" xml:base="https://justinschmitt.com/2019/08/04/wsl-connection-refused-docker-desktop-windows-kubernetes.html">&lt;p&gt;When installing (or reinstalling) Docker Desktop with Kubernetes on a Windows system, don’t forget that Docker Desktop installs the relevant kubeconfig file only on your windows host, and &lt;em&gt;not&lt;/em&gt; in the directory required for &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;kubectl&lt;/code&gt; access within your WSL (Windows Subsystem for Linux) installation!&lt;/p&gt;

&lt;p&gt;If you receive the error &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;The connection to the server localhost:6445 was refused - did you specify the right host or port?&lt;/code&gt;, this may be your issue.&lt;/p&gt;

&lt;p&gt;You can resolve the issue by copying the kubeconfig file to your WSL installation by running:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;cp /mnt/c/Users/&amp;lt;YourUsername&amp;gt;/.kube/config ~/.kube/config
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;</content><author><name></name></author><summary type="html">When installing (or reinstalling) Docker Desktop with Kubernetes on a Windows system, don’t forget that Docker Desktop installs the relevant kubeconfig file only on your windows host, and not in the directory required for kubectl access within your WSL (Windows Subsystem for Linux) installation! If you receive the error The connection to the server localhost:6445 was refused - did you specify the right host or port?, this may be your issue. You can resolve the issue by copying the kubeconfig file to your WSL installation by running: cp /mnt/c/Users/&amp;lt;YourUsername&amp;gt;/.kube/config ~/.kube/config</summary></entry><entry><title type="html">Open a Windows Subsystem for Linux (WSL) terminal window from Sublime Text on right-click</title><link href="https://justinschmitt.com/2019/03/15/wsl-sublime-text-terminal-right-click.html" rel="alternate" type="text/html" title="Open a Windows Subsystem for Linux (WSL) terminal window from Sublime Text on right-click" /><published>2019-03-15T00:00:00+00:00</published><updated>2019-03-15T00:00:00+00:00</updated><id>https://justinschmitt.com/2019/03/15/wsl-sublime-text-terminal-right-click</id><content type="html" xml:base="https://justinschmitt.com/2019/03/15/wsl-sublime-text-terminal-right-click.html">&lt;p&gt;When developing on Windows with Sublime Text, it can be useful to run linux applications on the Ubuntu installation available on Windows Subsystem for Linux.  This can be awkward to navigate when working in large projects, so here’s how you can add a right-click option to open a terminal window in the context of any folder in the sidebar:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Install the Sublime Terminal package.  Press &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Ctrl+Shift+P&lt;/code&gt; choose &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Package Control: Install Package&lt;/code&gt;, and then search for and install the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Terminal&lt;/code&gt; package.&lt;/li&gt;
  &lt;li&gt;Open the configuration file at: &lt;strong&gt;Preferences &amp;gt; Package Settings &amp;gt; Terminal &amp;gt; Settings – User&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Enter in the following configuration:
    &lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;{
 &quot;terminal&quot;: &quot;C:\\Windows\\System32\\bash.exe&quot;
}
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;    &lt;/div&gt;
  &lt;/li&gt;
  &lt;li&gt;Now when you right click in your sidebar, you should see the option: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;Open Terminal Here...&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;</content><author><name></name></author><summary type="html">When developing on Windows with Sublime Text, it can be useful to run linux applications on the Ubuntu installation available on Windows Subsystem for Linux. This can be awkward to navigate when working in large projects, so here’s how you can add a right-click option to open a terminal window in the context of any folder in the sidebar:</summary></entry><entry><title type="html">Unsupported sector size 520: reusing drives from a disk array by reformatting to a 512 block size</title><link href="https://justinschmitt.com/2019/01/16/unsupported-sector-size-520.html" rel="alternate" type="text/html" title="Unsupported sector size 520: reusing drives from a disk array by reformatting to a 512 block size" /><published>2019-01-16T00:00:00+00:00</published><updated>2019-01-16T00:00:00+00:00</updated><id>https://justinschmitt.com/2019/01/16/unsupported-sector-size-520</id><content type="html" xml:base="https://justinschmitt.com/2019/01/16/unsupported-sector-size-520.html">&lt;p&gt;You’re probably reading this page because you came across a great deal on some SAS drives, and you can’t get them to work.  As it turns out, many drives out of enterprise storage arrays have been formatted with non-standard block sizes, for various reasons.&lt;/p&gt;

&lt;p&gt;Fortunately, there’s a way to format them back to a standard 512 block size so they can be used in a typical server.&lt;/p&gt;

&lt;p&gt;User ahouston on GitHub has posted a &lt;a href=&quot;https://github.com/ahouston/setblocksize&quot;&gt;fork&lt;/a&gt; of the great &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;setblocksize&lt;/code&gt; tool which will send the correct commands to a SAS drive controller in order for it to reformat the drive to 512 block size.  This tool has been reported to work on IBM, Hitachi, and Seagate disks. Others are likely compatible as well.&lt;/p&gt;

&lt;p&gt;Unfortunatly, the tool only reformats one drive at a time. I have a whole server full of these drives, so I made my own &lt;a href=&quot;https://github.com/justinschmitt/setblocksize&quot;&gt;fork&lt;/a&gt; which is capable of reformatting more than one drive at once.&lt;/p&gt;

&lt;p&gt;Here’s how to get started fixing your own drives:&lt;/p&gt;

&lt;h1 id=&quot;prerequisites&quot;&gt;Prerequisites&lt;/h1&gt;

&lt;p&gt;Most importantly, you’ll need an HBA or RAID controller capable of &lt;a href=&quot;/2019/01/11/dell-perc200-it-mode.html&quot;&gt;IT mode&lt;/a&gt; to connect your drives.  This is necessary because you’ll need to have direct access to the drive in order to reformat it.  Some RAID controllers will not allow you to do this, but others can be reflashed to enable this type of access.&lt;/p&gt;

&lt;h1 id=&quot;boot-from-an-ubuntu-livecd-image&quot;&gt;Boot from an Ubuntu LiveCD image&lt;/h1&gt;

&lt;p&gt;Grab a flash drive, download &lt;a href=&quot;https://www.ubuntu.com/download/desktop/thank-you?version=18.04.1&amp;amp;architecture=amd64&quot;&gt;Ubuntu 18.04 LTS&lt;/a&gt; and install it to your flash drive with &lt;a href=&quot;https://rufus.ie/&quot;&gt;Rufus&lt;/a&gt; (or similar).  The rest of this guide has been designed to work with this version of Ubuntu, so pick this for best results.&lt;/p&gt;

&lt;p&gt;Boot up your system from this flash drive.  I like to remove any drives that I &lt;em&gt;don’t&lt;/em&gt; want to format before doing this.&lt;/p&gt;

&lt;h1 id=&quot;verify-that-your-drives-have-an-incorrect-block-size&quot;&gt;Verify that your drives have an incorrect block size&lt;/h1&gt;

&lt;p&gt;You don’t want to do this if it’s not the correct solution.&lt;/p&gt;

&lt;p&gt;Open up a terminal and run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;dmesg | grep 'sector size'&lt;/code&gt;.  If you see messages in the terminal like this, then you know you’ve found the problem:&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;[   49.724403] sd 7:0:0:0: [sdb] Unsupported sector size 520.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h1 id=&quot;get-the-required-tools&quot;&gt;Get the required tools&lt;/h1&gt;

&lt;p&gt;Elevate to a superuser session in your terminal with &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sudo bash&lt;/code&gt;, and run the following script to get the required tools:&lt;/p&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;wget https://github.com/justinschmitt/setblocksize/raw/master/install.sh -O - | bash
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will install sg3-utils, download a modified version of setblocksize, and a script to enable looping through each drive to be reformatted.&lt;/p&gt;

&lt;h1 id=&quot;identify-the-drives-to-reformat&quot;&gt;Identify the drives to reformat&lt;/h1&gt;
&lt;p&gt;Now you should be able to run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sg_scan -i&lt;/code&gt;, which will return a list of drives attached to the system.  Identify the drives you need to reformat.&lt;/p&gt;

&lt;h1 id=&quot;run-the-reformatting-script&quot;&gt;Run the reformatting script&lt;/h1&gt;
&lt;p&gt;Now that you know which drives to reformat, pass them as arguments to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;./multisetblocksize.sh&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;For &lt;em&gt;example&lt;/em&gt;, to format all 4 drives from &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/sg0&lt;/code&gt; through &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/dev/sg3&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;./multisetblocksize.sh /dev/sg0 /dev/sg1 /dev/sg2 /dev/sg3
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Once you initiate the process, you will get one final confirmation before formatting begins.&lt;/p&gt;

&lt;h1 id=&quot;and-finally-wait&quot;&gt;And finally, wait&lt;/h1&gt;

&lt;p&gt;This script initiates a low-level format operation, which is being done by the drive controller on each drive.  In my experience, it takes about 1 hour per 450GB drive for this process to complete.  As each drive completes, the script will automatically move on to the next drive for formatting.&lt;/p&gt;</content><author><name></name></author><summary type="html">You’re probably reading this page because you came across a great deal on some SAS drives, and you can’t get them to work. As it turns out, many drives out of enterprise storage arrays have been formatted with non-standard block sizes, for various reasons. Fortunately, there’s a way to format them back to a standard 512 block size so they can be used in a typical server. User ahouston on GitHub has posted a fork of the great setblocksize tool which will send the correct commands to a SAS drive controller in order for it to reformat the drive to 512 block size. This tool has been reported to work on IBM, Hitachi, and Seagate disks. Others are likely compatible as well. Unfortunatly, the tool only reformats one drive at a time. I have a whole server full of these drives, so I made my own fork which is capable of reformatting more than one drive at once. Here’s how to get started fixing your own drives: Prerequisites Most importantly, you’ll need an HBA or RAID controller capable of IT mode to connect your drives. This is necessary because you’ll need to have direct access to the drive in order to reformat it. Some RAID controllers will not allow you to do this, but others can be reflashed to enable this type of access. Boot from an Ubuntu LiveCD image Grab a flash drive, download Ubuntu 18.04 LTS and install it to your flash drive with Rufus (or similar). The rest of this guide has been designed to work with this version of Ubuntu, so pick this for best results. Boot up your system from this flash drive. I like to remove any drives that I don’t want to format before doing this. Verify that your drives have an incorrect block size You don’t want to do this if it’s not the correct solution. Open up a terminal and run dmesg | grep 'sector size'. If you see messages in the terminal like this, then you know you’ve found the problem: [ 49.724403] sd 7:0:0:0: [sdb] Unsupported sector size 520. Get the required tools Elevate to a superuser session in your terminal with sudo bash, and run the following script to get the required tools: wget https://github.com/justinschmitt/setblocksize/raw/master/install.sh -O - | bash This will install sg3-utils, download a modified version of setblocksize, and a script to enable looping through each drive to be reformatted. Identify the drives to reformat Now you should be able to run sg_scan -i, which will return a list of drives attached to the system. Identify the drives you need to reformat. Run the reformatting script Now that you know which drives to reformat, pass them as arguments to ./multisetblocksize.sh. For example, to format all 4 drives from /dev/sg0 through /dev/sg3: ./multisetblocksize.sh /dev/sg0 /dev/sg1 /dev/sg2 /dev/sg3 Once you initiate the process, you will get one final confirmation before formatting begins. And finally, wait This script initiates a low-level format operation, which is being done by the drive controller on each drive. In my experience, it takes about 1 hour per 450GB drive for this process to complete. As each drive completes, the script will automatically move on to the next drive for formatting.</summary></entry><entry><title type="html">Flashing a Dell PERC H200 to IT mode with an R710</title><link href="https://justinschmitt.com/2019/01/11/dell-perc200-it-mode.html" rel="alternate" type="text/html" title="Flashing a Dell PERC H200 to IT mode with an R710" /><published>2019-01-11T00:00:00+00:00</published><updated>2019-01-11T00:00:00+00:00</updated><id>https://justinschmitt.com/2019/01/11/dell-perc200-it-mode</id><content type="html" xml:base="https://justinschmitt.com/2019/01/11/dell-perc200-it-mode.html">&lt;p&gt;This guide will outline the steps to flash a PERC H200 with LSI-9211-8i firmware to IT mode to allow direct disk access on an R710. This is helpful for situations where direct disk access is preferred over a RAID configuration, for instance, for use with a FreeNAS installation.&lt;/p&gt;

&lt;p&gt;There’s a guide techmattr put together &lt;a href=&quot;https://techmattr.wordpress.com/2016/04/11/updated-sas-hba-crossflashing-or-flashing-to-it-mode-dell-perc-h200-and-h310/&quot;&gt;here&lt;/a&gt; that covers most of these steps, but I found it was missing a couple of details. These steps should ensure that your drives remain available for use as a BIOS boot device.&lt;/p&gt;

&lt;p&gt;The steps to complete are:&lt;/p&gt;

&lt;h1 id=&quot;prepare-boot-media&quot;&gt;Prepare boot media:&lt;/h1&gt;
&lt;ol&gt;
  &lt;li&gt;Get yourself a USB flash drive, just about any size will do.&lt;/li&gt;
  &lt;li&gt;Download &lt;a href=&quot;https://rufus.ie/&quot;&gt;Rufus&lt;/a&gt; to prepare the drive for use as FreeDOS boot media.&lt;/li&gt;
  &lt;li&gt;Open Rufus, select your flash drive, choose FreeDOS as your boot selection, and click START&lt;/li&gt;
&lt;/ol&gt;

&lt;h1 id=&quot;download-firmware&quot;&gt;Download firmware:&lt;/h1&gt;
&lt;ol&gt;
  &lt;li&gt;Techmattr has complied most of the files you will need, (and more) at the link &lt;a href=&quot;https://www.mediafire.com/download/6mtie10d9ud6675/LSI-9211-8i.zip&quot;&gt;here&lt;/a&gt;. Simply extract this zip to the root of your flash drive.&lt;/li&gt;
  &lt;li&gt;Additionally, to preserve the functionality to boot from your drives, you’ll need the LSI-9211-8i BIOS rom, available &lt;a href=&quot;https://docs.broadcom.com/docs/12350530&quot;&gt;here&lt;/a&gt;. Under the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sasbios_rel&lt;/code&gt; directory, you’ll find &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;mptsas2.rom&lt;/code&gt;. Copy this file to the root of your flash drive.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1 id=&quot;flash-the-firmware&quot;&gt;Flash the firmware:&lt;/h1&gt;
&lt;p&gt;Insert your flash drive in your R710, and boot from it. At the DOS prompt, run the following commands:&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sas2flsh.exe -c 0 -list&lt;/code&gt;
Make a note of the SAS Address listed.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;megarec.exe -writesbr 0 sbrempty.bin&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;megarec.exe -cleanflash 0&lt;/code&gt;
When this is complete, reboot your system!&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sas2flsh.exe -o -f 6GBPSAS.fw&lt;/code&gt;
When compete, reboot again.&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;sas2flsh.exe -o -f 2118it.bin -b mptsas2.rom&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;s2fp19.exe -o -sasadd YOUR_SAS_ADDRESS&lt;/code&gt;
replace YOUR_SAS_ADDRESS with the actual SAS Address value you wrote down previously. Omit any dashes.&lt;/li&gt;
&lt;/ol&gt;

&lt;h1 id=&quot;remove-the-flash-drive-reboot-and-youre-done&quot;&gt;Remove the flash drive, reboot, and you’re done!&lt;/h1&gt;</content><author><name></name></author><summary type="html">This guide will outline the steps to flash a PERC H200 with LSI-9211-8i firmware to IT mode to allow direct disk access on an R710. This is helpful for situations where direct disk access is preferred over a RAID configuration, for instance, for use with a FreeNAS installation.</summary></entry></feed>