Skip to content

Instantly share code, notes, and snippets.

@mogzol
Last active December 3, 2025 21:05
Show Gist options
  • Select an option

  • Save mogzol/7be229cf541a795a856a6ff73ede214b to your computer and use it in GitHub Desktop.

Select an option

Save mogzol/7be229cf541a795a856a6ff73ede214b to your computer and use it in GitHub Desktop.
Create a bootable USB for Lenovo Yoga Slim 7X

Create a bootable USB for Lenovo Yoga Slim 7X

I originally wrote this as a Reddit comment, but it was deleted (I guess because it has links? idk), so I'm creating this Gist instead to document how I was able to boot the Windows installer on this laptop.

Note that the easiest solution is to just download the recovery media creator from Lenovo's support site, but I wanted to run the stock Windows installer, so this outlines how to do that.


Here are the steps I took to boot the Windows installer on my Lenovo Yoga Slim 7X (with an ARM64 Snapdragon Elite X CPU). I initially tried using Rufus, and while that drive did show up in the boot menu, selecting it would just hang on the YOGA logo forever.

What did eventually work was manually creating a FAT32 bootable USB drive, here are the steps to do that:

First you'll need to download the Windows 11 ARM ISO.

If you are creating the USB on an x86/64 computer, you'll also need the Windows 11 ISO for your architecture, since you need the bootsect.exe program from it. You can download the ISO at the bottom of this page.

You'll also want a program like 7-zip to extract the ISOs.

Now you can create the bootable USB:

  1. Format the USB drive to FAT32 (if your drive is too large and Windows doesn't let you, use Rufus, select "non bootable", and use that to format it to FAT32)
  2. Extract the boot\bootsect.exe file from the ISO for your current CPU architecture to somewhere on your computer
  3. Use it to make the drive bootable: .\bootsect.exe /nt60 d:
    • Run this as an administrator, and replace d: with your USB drive letter
    • It should tell you that it successfully updated the bootcode on the target volume
  4. Copy all files from the ARM64 Windows 11 ISO to the root of the flash drive except sources\install.wim (it is too large for FAT32)
  5. Extract sources\install.wim to somewhere on your computer (not the flash drive)
  6. Split install.wim using this command: dism /Split-Image /ImageFile:"install.wim" /SWMFile:"install.swm" /FileSize:4000
  7. Copy the install.swm, install2.swm, ... files into the sources folder on the flash drive in place of install.wim

That's it, plug the flash drive into the laptop, turn it on while holding F12, and you should be able to select the flash drive from the boot menu and boot the Windows installer.


There is one issue that you'll encounter after installing Windows, which is that (at the time of writing) Windows does not include wifi drivers for the laptop, so you can't connect to the internet to download all the other necessary drivers.

I found a copy of the correct wifi drivers on Dell's site, you can download them here. If that link ever stops working, just look for the ARM64 drivers for "Qualcomm FastConnect 7800 Wi-Fi".

You should put the driver installer somewhere on your USB so that you can install it once you've installed Windows. To do this, go through the Windows install like normal until you get to the screen telling you to connect to the internet, then press shift+F10 to open a command prompt. From there you can run explorer and/or run the driver installer you downloaded. If you don't see your USB drive, it's probably because it hasn't been assigned a drive letter. You can assign one using diskpart or diskmgmt, and then you should be able to access files on the drive and run the installer. Once you're connected to the internet, Windows will automatically download all the other drivers for the laptop (including the Lenovo-specific ones like for the hotkeys). The only thing that doesn't get installed is X-Rite Color Assistant, so get that from the Lenovo support site if you want it.

@Dhaval-Nandanwar-Debug
Copy link

Yeah tried but didn't worked
1000032809

@mogzol
Copy link
Author

mogzol commented Nov 1, 2025

@Dhaval-Nandanwar-Debug Oh, you're still in the installer and not into windows yet? The wifi drivers won't help you there if you aren't even able to get through the installer.

@nam-pad
Copy link

nam-pad commented Nov 25, 2025

Thanks mogzol for this instructions, really saved me.

@Dhaval-Nandanwar-Debug

Yeah tried but didn't worked 1000032809

I had the same issue and figured out a solution. The installer can't find drivers in the *.exe format so you need the format with *.inf, *.sys and *.cat files etc. I tried to extract these files from the *.exe from the Dell site but the *.sys file was always missing (or rather could not be extracted).

Found a post on the internet who discussed downloading the driver from https://www.catalog.update.microsoft.com/. Just visit the site and search for Qualcomm FastConnect 7800 to download the newest driver. You can extract the required files from the downloaded *cab file. Put the extracted files in a folder on an USB drive and it will find those drivers.

Just signed up to post this for you and any other poor soul looking for a solution.

@Dhaval-Nandanwar-Debug
Copy link

Hey.. thanks man.. really appreciate it

@AtomAlf
Copy link

AtomAlf commented Dec 3, 2025

Hey. great guide, but i run out of luck at step 6 with the dism.exe

Im trying to create the usb from a windows x86/64 with the correct iso file etc. But when i get to the part with dism command i run into this error: dism /Split-Image /ImageFile:"install.wim" /SWMFile:"install.swm" /FileSize:4000
This version of I:\sources\dism.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
image

Can you try to help with a bit more steps, like what excact dir you want me to run this command from?

@mogzol
Copy link
Author

mogzol commented Dec 3, 2025

@AtomAlf Run the command from somewhere outside the sources folder. Since there is a dism.exe file in the sources folder your command prompt is trying to use that instead of the regular dism command, which won't work since it's for the wrong architecture. You'll have to adjust the paths to be correct for whatever location you are running the command from.

Alternatively, use powershell instead to run the command, it won't try to use exe's in the current folder like cmd does

@AtomAlf
Copy link

AtomAlf commented Dec 3, 2025

@AtomAlf Run the command from somewhere outside the sources folder. Since there is a dism.exe file in the sources folder your command prompt is trying to use that instead of the regular dism command, which won't work since it's for the wrong architecture. You'll have to adjust the paths to be correct for whatever location you are running the command from.

Alternatively, use powershell instead to run the command, it won't try to use exe's in the current folder like cmd does

Thanks, worked like a charm and the USB is now bootable....Then my next problem is, getting into the windows setup, it cant find any Drives on my LENOVO Neo 50q QC Desktop (ThinkCentre) - Type 13C8....And cant find any drivers for that :(

@mogzol
Copy link
Author

mogzol commented Dec 3, 2025

@AtomAlf Yeah unfortunately I don't think I can help with that. On my Yoga Slim 7X the drive just showed up like normal. I'm not sure what drivers you'll need to get it to show.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment