Formatting microSD Card for BerryBoot

Formatting microSD Card for BerryBoot

This post is to help people properly format their microSD cards for BerryBoot for the Raspberry Pi. Large microSD cards will not always have the option to format as FAT or FAT32 in Windows. In my case, I was using a Sony 128 gigabyte microSD card. Following these steps you can format 100 megabytes of space as a FAT32 partition. Once the process is complete, you will be able to copy over the necessary BerryBoot files for setup.

  1. Hit Windows Key + X, and choose Command Prompt (Admin)
    • This should work for Windows 8 and Windows 10.
    • Alternatively, you can search for Command Prompt, right click on it, and choose “Run as Administrator”.
  2. Type “diskpart”
  3. Type “list disk”
  4. Find your USB drive, and determine the Disk #.
    • Remember they start at 0, which should be your C drive.
    • In my case, Disk 0 was my secondary drive, Disk 1 was my operating system drive, and Disk 2 was the microSD card.
  5. Let’s assume “Disk 1” is your USB.
  6. Now type “select disk 1”
  7. Then type “clean”
  8. Followed by “create partition primary size=100”
    • “size=100” makes the partition 100 megabytes in size. BerryBoot does not need more space than that.
    • You can skip “size=100” if you have a small card, but otherwise you will waste time while formatting the partition.
  9. Lastly type “format fs=fat32”
    • You can replace fat32 with a different type.
    • You can add “quick”, if you would like to do a quick format. This is only advisable if the partition is a few gigabytes in size.
  10. You can now type “active” to make the drive active. Then “assign” to give the drive a letter assignment.
  11. Now type “exit”, and your drive should be fully accessible again.

To the right you will see an image of the process as I executed it on my computer. The last two commands “assign” and “exit” are not shown.

0x80240017 ErrorFirst, I want to give credit to the article that had the solution. I read way too many Stack Overflow posts and watched a lot of YouTube videos while never finding the solution. Here is the original post. Below you will find my updated solution, which uses pretty much the same directions. I fixed a typo, and my focus was to get the Visual C++ Redistributable for Visual Studio 2017 working rather than 2015.

All of this came up after attempting to install MongoDB for a group. By default Windows Server 2012 R2 does not install the Visual C++ Redistributable for Visual Studio 2015 or 2017. MongoDB needs a DLL from that installation to run.

We found this out when we tried to run mongod.exe and received a message stating:

The program can’t be start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.

A few minutes later, we had downloaded the 2015 redistributable and were attempting to install it. That’s when we hit the most worthless error message of all time.

Error 0X80240017

According to the the pop up, this error is unspecified. Really helpful information for us as the end users.

We then tried different versions of installers, the end result for each was them failing with a similar message. Running the installer as an administrator produces a different error, but still never resolved the problem. I followed a bunch of YouTube videos, where I ended up uninstalling, reinstalling, uninstalling, rebooting, and installing again… so on and so forth.

Finally I found the directions above. I proceeded by uninstalling all previous installation attempts, you need to check Programs under Settings for partial Visual C++ installations. Then I did a fresh reboot.


Here is the process you need to follow to get it to work from that point:

  1. Download update KB2919442
  2. Make sure to install this before proceeding. You do not need to reboot afterwards.
  3. You can now run Windows update or manually download update KB2919355
  4. Install the update.
  5. Reboot.
  6. Now download Visual C++ Redistributable for Visual Studio 2017
  7. Run the installer.
    • If you did not remove previous installations, it will prompted at this point to uninstall the previous attempt.
  8. Done!

If you are a Deadpool fan, you have undoubtedly seen the new teaser. The movie Logan had a shorter cut that played before its screening. If you have not seen full version for some reason, you can check it out here:

I personally enjoy identifying the music from the trailers. It was humorous the creators chose to use the Superman theme at the 43 second mark. It seems like a clear nod to their competitors. At this point DC has a lot of catching up to do with Marvel in the cinematic space.

The song you can hear Wade listening to at the beginning, and later plays while he running towards the victim at 2:07, is St Elmo’s Fire (Man in Motion) by John Parr. This song was originally recorded to support a Canadian athlete named Rick Hansen and his tour to raise awareness about spinal cord injuries. The fact Wade Wilson (Deadpool) and the actor Ryan Reynolds are Canadian as well might just be a happy coincidence.

The final cheerful song that starts at 2:37, and is part of the fade to black, is from the movie True Romance. The song was composed by Hans Zimmer for the movie. Zimmer’s work is based off a song by Carl Orff & Gunild Keetman called Gassenhauer. Their work is based off an original piece by Hans Neusiedler, who wrote it in 1536. I doubt most listeners would ever realize they are hearing something written  481 years ago. That is probably one of the most interesting aspects of music, how the same song can be played for generations, yet will be tweaked slightly for each time period.

Links to the music on Amazon: