Browsed by
Category: Technical

No drives found when installing Windows 10 on new Z690 motherboard with a NVME drive.

No drives found when installing Windows 10 on new Z690 motherboard with a NVME drive.

I have a nice MSI MPG Z690 Carbon WIFI motherboard with my shiny new Intel 12th gen i9-12900k processor. Recently, I tried to upgrade my 1TB Samsung 960 EVO M.2 with a 2TB Samsung 970 EVO Plus M.2; but ran into a hitch. When I booted from the Windows 10 installation USB, the NVME drive would not show up in the list of drives for installation. Running Windows repair tools didn’t help.

The process I used was to first use the Windows installation media creator to make a bootable Windows 10 installation USB. Then, I turned off the PC and replaced my 1TB drive with the blank 2TB drive. When I booted off the USB device and tried to install Windows 10, Windows setup claimed it could not find any drives:

Hmmm. I tried running the installer repair tools – but it would give a unhelpful errors and no drives would appear. Even though I had 1 NVME drive and a standard old SATA drive as well.

I read around a bit and found something helpful from Majekk who also saw his NVME drives disappear.

This is probably because you have Intel Rapid Storage Technology enabled. If yes, I would suggest keep using it, because it will let you get as much performance as possible, from you NVMe drives, on Windows 11. You need to run W11 installer (with VMD enabled) and the load Intel drivers. It will make your M.2 drive appear in the Windows installer. https://download.msi.com/dvr_exe/mb/intel_rst_19.0.zip Remember that the drive will never be visible in BIOS when using VMD. It is normal.

If you rather don’t want to use VMD (not recommended) – disable the Intel Rapid Storage (or Intel RAID – don’t remember how it’s called in BIOS).

When I went into BIOS, I noticed VMD (RAID) was indeed enabled in my BIOS because I had a set of RAID 5 drives on my previous installation. For an experiment, I turned off VMD (RAID) in BIOS, booted from my Win10 installer USB, and sure enough I could see my NVME and other drives during Windows installation. If I turned VMD back on, the drives would disappear.

The solution came from something I should have realized earlier. The Windows 10 installer (and apparently Windows 11) doesn’t know about my fancy Z690 chipset storage devices. I needed to download the Intel RAID storage controller drivers, unzip them on my Windows installation USB drive, and then manually load those drivers at the drive selection page during Windows installation.

So, here’s the two solutions (but solution 1 is best)

Solution 1: This method includes full Intel storage controller and RAID support. It’s your best bet for full perforrmance and full functionality.

  1. Create your USB Windows 10 installer USB stick.
  2. Download and unzip the MSI Intel RAID storage controller drivers onto the USB stick you created in step 1. https://download.msi.com/dvr_exe/mb/intel_rst_19.0.zip
  3. Turn the system off and install the NVME M.2 drive
  4. Boot to BIOS, turn VMD (RAID) on
  5. Save BIOS settings and boot off the Win10 install USB stick
  6. When you get to the drive selection page in the Windows installer there will be no drives. Click the ‘Load Driver’ button.
    • Browse to the USB stick, select the directory where you unzipped the Intel RST drivers. Be sure to point to the proper sub-directory with the floppy version of the driver files: <unzip root>\VMD\f6vmdflpy-x64\
    • You should see at least two Intel devices listed. You don’t need to select anything, just hit ok and Windows will load the drivers
  7. You’ll be returned to the drive selection page and you should see your NVME, RAID, and other drives listed!
  8. Pick the boot drive you want to install too, and hit OK.
  9. Windows 10 will install and you should boot normally after that. You should see all your drives – including any RAID sets you already had.
  10. Be sure to run Windows Update and download/install the latest Intel RAID drivers.

Solution 2: No RAID support later without completely reinstalling Windows. It’s also likely you will not be getting the full performance of your NVMe or other drives either.

  1. Create the USB Windows 10 installation stick.
  2. Turn the system off and install the NVME M.2 drive.
  3. Boot into BIOS, and turn VMD (RAID) off
  4. Reboot from the windows installer USB stick.
  5. Install Windows like normal. Turning off VMD will let you see all your attached drives during the installation phase (all but any RAID drives) and install Win10 on any of them.
  6. You will not be able to use hardware RAID of your motherboard unless you completely re-install Windows. If you turn VMD/RAID on later, the system will ‘lose’ the NVME drive and refuse to boot. If you set it up with the RAID controllers, then the Windows bootloader apparently makes sure the drivers for the VMD device are always loaded. This is why it’s recommended to use solution 1, because it lets you use RAID later if you want.
About the best video on modern memory

About the best video on modern memory

Any CS/CEE program worth its salt uses the Computer Architecture book from Hennessy and Patterson. Besides the operating system chapter, the chapter on memory was one of my favorites. Enter Branch Education that created this really excellent video on how computer memory works.

Definitely worth the 35 minutes. It starts slow, but around section 8 it starts going fast and furiously through a lot of different concepts. Each builds on the previous, so you may need to pause and really make sure you grock what they said.

Scanning multiple pages into a single PDF

Scanning multiple pages into a single PDF

I have a Brother DCP-L2540DW combined scanner, copier, and laser printer unit. It’s been a great little unit I picked up for about $100 on a Black Friday sale that has cheap cartridges and loads of features for the occasional printing/copy job. On a side note, laser printers are a FAR better option than inkjet printers if you only occasionally print something. Now that good laser printers are below $100 and their toner is far more stable than inkjet printers that dry up and clog if not used regularly, they’re really the way to go for occasional everyday printing.

Recently I had to scan in about 100 pages of text and wanted to scan them in a single PDF document. Low and behold, the Brother toolkit provides a way to stack up all the documents in the feeding tray, scan the whole lot, and then automatically output a single paginated PDF document. Really awesome!

Instructions:

  1. Install and click on the Brother Utilities provided with the printer: Image
Image
  1. Click ControlCenter4 to open the Control Center 4 app.
Image
  1. On the Scan top menu, click the button for the type of scan that you would like to perform. For a multi-page PDF, you want to select File. A new dialog box will open:
  1. Be sure to change the File Type to PDF and then select the folder you want to save the document.
  2. Load the upper tray with the pages you want to scan. I’ve scanned up to 40 pages simultaneously this way without issue.
  3. Press the Scan button and the bottom and it will scan all the pages and combine them into a single PDF that is located in the folder set in the Scan Location directory you specified.

 If you have enabled the ‘Show settings dialog before scan’ option, then you will be prompted to choose your desired settings and then click Start Scanning.

 If you are using the Continuous Scanning option, you will need to load the subsequent pages either on the flatbed or in the Automatic Document Feeder (ADF) if available and then click Continue.  Once you have scanned all pages, click Finish.

Enhancing your stable diffusion game

Enhancing your stable diffusion game

AI generated art has caught fire. Learning how to generate the command line prompts to generate the art is still a work of trial and error. But some folks are helping you learn by giving some example prompts to help you learn what works and what doesn’t.

All the below items were 100% auto-generated and included on the page. It looks like people are exploring and sharing different prompts to generate different kinds of art.

  • Portrait Photography
  • Graphic Design
  • Architecture
  • Clothing design
  • 3D and game concept art
  • Graphic design

Links:

Installing Stable-diffusion 1.4

Installing Stable-diffusion 1.4

Time to play with some AI generated art!

Here’s some great instructions on how to install the older stable diffusion 1.4:
https://www.howtogeek.com/830179/how-to-run-stable-diffusion-on-your-pc-to-generate-ai-images/

8GB of VRAM or less

One of the first things you’ll run into is that you’re not going to be able to generate any images at 512×512 or larger if you have a graphics card with 8GB of VRAM or less. Even smaller if you only have 4GB of VRAM. The first/easiest method is to limit the output image size. There is also an option that splits the model into 4 parts and loads each separately (thought it will take longer), or using a more optimized/compressed set of trained model data.

So how do you do that if you have an older graphics card that only has 4GB or 8GB of VRAM? TingTingin has some tips at the end of his installation video if you are using a card with 8GB of VRAM (nVidia 3070’s for example).

Summary (at 15:45): Modify your txt2img.py and add the line ‘model.half()’ after model = instantiate_from_config(config.model) in the load_model_from_config() function.

cool windows tricks

cool windows tricks

Reset your graphics driver – Win + CTRL + SHIFT + B

Remembering a wifi password you entered forever ago:
c:\> netsh wlan show profile
< shows a list of wifi profiles you have connected to >
c:\> netsh wlan show profile <wifiProfileName> key=clear
< shows the wifi password you last entered >

Message every single windows system on the network
c:\> msg * <message>

Hackertyper – Hit F11 to fullscreen your browser and then look like a hacker.
https://hackertyper.net/

FakeUpdate – go to the website, get on your friend’s computer, load the update screen for that OS, hit F11 to go fullscreen, and then see how long they’ll sit there before resetting.
https://fakeupdate.net/

Next 10 years of AI

Next 10 years of AI

Andrew Ng is one of the biggest names in AI. He makes a few predictions, and I thought the article had some good observations.

His current big focus is using AI in manufacturing. Andrew Ng founded Landing AI in 2017. His focus was primarily consulting, but after working on many customer projects, Ng and Landing AI developed a new toolkit and playbook for making AI work in manufacturing and industrial automation. This led to Landing AI and the development of a data-centric approach to AI.

“In consumer software, you can build one monolithic AI system to serve a hundred million or a billion users, and truly get a lot of value in that way,” he said. “But in manufacturing, every plant makes something different. So every manufacturing plant needs a custom AI system that is trained on their data.”

The challenge that many companies in the AI world face is how to help 10,000 manufacturing plants build 10,000 customer systems. In short – scale.

In manufacturing, there is often no big data to go by. The data for manufacturing different products is unique. Their first observation was to see it makes more sense to keep the models relatively fixed while focusing on quality data to fine-tune the models rather than continuing to push for marginal improvements in the models.

This uniqueness of data also means there is almost never enough images of faults or cases to train models. The only way out of this dilemma is to build tools that empower customers to build their own models and let product experts engineer the data and express their domain knowledge. Ng and Landing AI do that through Landing Lens, which enables domain experts to express their knowledge with data labeling instead of constantly tweaking the models.

Worth a read.

GreaseWeazle

GreaseWeazle

Have you wanted to read and write data off your old 5.25″ floppy disks with a modern computer? Or how about reading/writing floppies for Apple II, Amiga, ST, or a host of other systems? Or maybe even hooking up a 8″ floppy? It is possible!

There are solutions out there, but they can easily run $100 or more. I, however, picked up the GreaseWeazle and read some of my old 5.25″ disks. Best yet, it only cost $31 Canadian and is one of the more capable solutions. You can supposedly even use your old DOS floppy drive to read/write images for other platforms.
If you’re interested in seeing it at work on some unusual formats, this fellow gives a walkthrough of using Greaseweazle to read 3″ Amstrad disks. Pretty darn cool.

Items you’ll need:

  • GreaseWeazle by Decromancer – the plug-in USB board that makes it all possible. Plug in 3.5″, 5.25″ and 8″ drives and read/write the flux data for hordes of different formats.
  • Floppy drive – any 5.25″, 3.5″ or 8″ floppy that uses the Shugart interface. This is almost all old PC drives. Even better, GreaseWeazle can use these older DOS drives to read and write Apple, Amiga, ST, and a host of other formats.
  • Floppy disk cable – CablesOnline (ebay store) has a universal floppy cable Item # FF-002 for $9.99
  • Power supply with Molex connectors for the floppy drive. Either using a PC power supply with a Molex connector, or a stand-alone power supply with Molex connector
  • USB A to B cable (commonly known as a “USB printer cable”) to connect the GreaseWeazle to your PC

Setup:

Your floppy drive won’t show up in a command prompt like they did back in the old DOS days or like modern USB plug-in 3.5″ drives. Instead, you have to load and write whole images to the drive in one go. This means you need to work with floppy disk images.

  1. Set up your physical floppy drive to be used with GreaseWeazle.
    1. Attach the power cable to a power supply
    2. Attach the data cable to the floppy drive and the GreaseWeazle
  2. Follow the instructions on GreaseWeazle setup and software setup guide.
  3. Plug in the GreaseWeazle to your computer’s USB port
  4. Install and run GreaseWeazle GUI to format a disk, read a disk image, write a disk image, etc. Again, this only works on whole disk images. You can’t browse at a command prompt or read/write individual files/directories.

Optional but helpful tools:

  1. WinImage is a great tool for creating and converting disk image formats.
  2. Use the HxCFloppyEmulator to examine and covert the raw disk images to anything you need.

Learn more:

Tech Tangents talks about how preservationists use tools like GreaseWeasle to back up disks.

Resource Links:

McBroken

McBroken

Why is the ice cream machine always broken at McDonalds? Isn’t there a way to find out if it’s broke before I go? Yes – rashiq came up with McBroken to tell you.