Skip to content

WSL Kernel update requires a CD-ROM? #5642

Closed

Description

Sorry for raising an issue in unstructured format.....

I'm on Windows Insider Program with Dev Channel

Weeks ago I started receiving weird update error. This relates to kernel update for windows subsystem for Linux to version 4.19.121.1 (my current version is 4.19.121)

image

I've tried multiple times, but did not succeed with the same error message.

I've tried to manually update wsl2 kernel by issuing wsl --update in a command line.

It then tries to download updates ...

image

and finally display the following message box.

image

I've entered wsl_update_x64.msi in the Use source input box. Then this message pop up.

image

I have no idea how to interpret the above instruction....

I've tried googling extensively, but could not find any mention about this phenomenon.

Thanks.....

Activity

  1. therealkenc commented on Jul 23, 2020

    @therealkenc

    Sorry for raising an issue in unstructured format.....

    Thanks for the detail screencaps they are helpful. What is your Windows build? Output of ver at the cmd.exe prompt.

    No idea how you got in this state (and we'll both probably never know). That message box is pretty novel... hasn't come up before in this github AFAIK. You didn't get any google hits because you're the first.

    Taking that prompt at its word, try putting the wsl_update_x64.msi in C:\Users\you\somewhere and the browse there for the "Use source". I don't actually think that will work but it is worth the try.

  2. licanhua commented on Jul 24, 2020

    @licanhua
    Contributor

    Bob Pulliam (@bpulliam) It's possible a bug when doing minor update from 4.19.121 to 4.19.121.1

    As I know, 4.19.121.1 is nearly the same as 4.19.121, and it's used to fix a vs code bug. User is safe to stay with 4.19.121 and wait for the next update.

  3. AnselmJeong commented on Jul 24, 2020

    @AnselmJeong
    Author

    Thanks for the reply... But recommendation of therealkenc did not work. I'll just wait for another round of update.

  4. therealkenc commented on Jul 27, 2020

    @therealkenc

    Anselm Jeong (@AnselmJeong) We're still lacking your Windows build. Output of ver at the cmd.exe prompt.

  5. AnselmJeong commented on Jul 30, 2020

    @AnselmJeong
    Author

    Sorry for being late

    the output of ver is

    Microsoft Windows [Version 10.0.20175.1000]

  6. AnselmJeong commented on Aug 26, 2020

    @AnselmJeong
    Author

    Microsoft recently rolled out kernel update version 4.19.128.

    However, the wsl --update still refuses to proceed with exactly the same error as the above report.
    It still searches for the mysterious CD-ROM. (Windows Subsystem for Linux Update disk)

    I have even turned off WSL and started from scratch with wsl --install.
    This procedure installed kernel version 4.19.121 and the update was unsuccessful.

    Do I have to format the hard disk and try to reinstall Windows 10 ??

    Any idea???

  7. AnselmJeong commented on Aug 26, 2020

    @AnselmJeong
    Author

    Windows version is 10.0.20197.1000

  8. therealkenc commented on Aug 26, 2020

    @therealkenc

    Was afraid of that. Thanks for the update. Please collect wsl logs and backlink the feedback item. If you can capture that "Fatal error during installation" when running wsl.exe --update maybe it will show something in the traces. Your submission has an unfortunate absence of me2s, which makes this a difficult one.

  9. 9 remaining items

  10. bpulliam commented on Sep 17, 2020

    @bpulliam

    If you have an older version and are unable to update to 4.19.128, you can uninstall the currently installed version using msiexec, and then install the latest package.
    • Use the command ‘msiexec /x {Product Code}’
    • The product codes for previously released versions are
    4.19.84 28062DDD-5FAE-4A5A-8D36-86ECB8E48096
    4.19.104 9F858BB9-156F-4C4C-9295-0A06CA83D17C
    4.19.121 3AB71F5D-0FB9-4C33-9CFC-29DB37B1F222
    4.19.121.1 93E5F4A6-8337-49F7-9BBC-94A82A5C2F80

    For example, to uninstall 4.19.121, the command is ‘msiexec /x {3AB71F5D-0FB9-4C33-9CFC-29DB37B1F222}

  11. axd465 commented on Sep 17, 2020

    @axd465

    Then you could do it in dangerous way. Follow these steps:

    1. Go to this website https://www.catalog.update.microsoft.com/Search.aspx?q=wsl
    2. Click on the Linux kernel version you want.
    3. There will be a popup window. Select the package as per your CPU architecture (mostly x64 one).
    4. It will be downloaded as CAB file. Open it. Extract the MSI file. Install the MSI file.
    5. If the MSI file can not be installed extract the kernel from the MSI file using this command: msiexec /a "wsl_update_x64.msi" /qb TARGETDIR="C:\destination". More info from this party WSL 2 requires an update / The update only applies to machines with WSL #5014.

    The reason why my kernel is now "technically" up-to-date at 4.19.128 is because I followed Step 5 of the above procedure. However, it seems that the Windows update installer and wsl --update do not recognize that the kernel is up-to-date. Should I use Bob Pulliam (@bpulliam) 's suggestion to uninstall to a later version (like 4.19.121) and then try wsl --update again? Is there something I should edit in the registries?

    Either way, thanks for the quick replies 😄

  12. bpulliam commented on Sep 17, 2020

    @bpulliam

    You should go through the steps to uninstall and update. Since the kernel is a Linux file, it doesn't have a Windows version number and we have to use the version of the MSI to determine which version you have installed. It is best if your MSI and your kernel are in-sync to ensure that the update process works as expected.

  13. Dave-Lowndes commented on Jan 5, 2021

    @Dave-Lowndes

    I was in the same situation, and being unable to locate a copy of the original msi for the version I had installed, I eventually downloaded the MS install/uninstall troubleshooter - which allowed me to remove the version I was stuck with (despite not having the msi).
    Once that was gone I've been able to update to the latest OK.

  14. swift-lee commented on Jan 29, 2021

    @swift-lee

    I was in the same situation, and being unable to locate a copy of the original msi for the version I had installed, I eventually downloaded the MS install/uninstall troubleshooter - which allowed me to remove the version I was stuck with (despite not having the msi).
    Once that was gone I've been able to update to the latest OK.

    Thanks, this really worked 👍

  15. cpoptic commented on Apr 30, 2021

    @cpoptic

    If you have an older version and are unable to update to 4.19.128, you can uninstall the currently installed version using msiexec, and then install the latest package.
    • Use the command ‘msiexec /x {Product Code}’
    • The product codes for previously released versions are
    4.19.84 28062DDD-5FAE-4A5A-8D36-86ECB8E48096
    4.19.104 9F858BB9-156F-4C4C-9295-0A06CA83D17C
    4.19.121 3AB71F5D-0FB9-4C33-9CFC-29DB37B1F222
    4.19.121.1 93E5F4A6-8337-49F7-9BBC-94A82A5C2F80

    For example, to uninstall 4.19.121, the command is ‘msiexec /x {3AB71F5D-0FB9-4C33-9CFC-29DB37B1F222}

    I had an older wsl version 4.19.121 kernel lingering stubbornly and this fixed it. Thank you so much!
    Specifically I ran msiexec /x 3AB71F5D-0FB9-4C33-9CFC-29DB37B1F222

    After that,

    wsl --update

    Checking for updates...
    Downloading updates...
    Installing updates...
    This change will take effect on the next full restart of WSL. To force a restart, please run 'wsl --shutdown'.
    Kernel version: 5.4.72

    and then checking the status of WSL:

    wsl --status

    Default Distribution: Ubuntu-20.04
    Default Version: 2

    Windows Subsystem for Linux was last updated on 4/30/2021
    WSL automatic updates are on.

    Kernel version: 5.4.72

  16. kevincrans commented on Sep 14, 2021

    @kevincrans

    I have this error with a WSLg update.
    My build is Win11 Build 22458 (210910-4310)

  17. isaac32767 commented on Sep 23, 2021

    @isaac32767

    I also have this error updating to WSLg. And WSL2 is complaining about network mount problems when it starts, tho specifics are unclear.

    I wonder if this has anything to do with changing \network\wsl$ to \network\wsl.local? Seems like an unnecessary tweek.

    Anyway, reverting to Windows 10 no. Hope this gets fixed before W11 update becomes unavoidable.

    [ 5.537230] 9pnet: Insufficient options for proto=fd
    [ 5.539012] init: (1) ERROR: UtilCreateProcessAndWait:673: /bin/mount failed with status 0x
    [ 5.539019] 2000
    [ 5.539041] init: (1) ERROR: ConfigMountFsTab:2529: Processing fstab with mount -a failed.
    [ 5.554379] hv_pci cfa05e34-be0e-4a36-9120-5f6cf4b0baa2: PCI VMBus probing: Using version 0x10003
    [ 5.724838] hv_pci cfa05e34-be0e-4a36-9120-5f6cf4b0baa2: PCI host bridge to bus be0e:00
    [ 5.724844] pci_bus be0e:00: root bus resource [mem 0xbffe08000-0xbffe0afff window]
    [ 5.727525] pci be0e:00:00.0: [1af4:1049] type 00 class 0x010000
    [ 5.729980] pci be0e:00:00.0: reg 0x10: [mem 0xbffe08000-0xbffe08fff 64bit]
    [ 5.731888] pci be0e:00:00.0: reg 0x18: [mem 0xbffe09000-0xbffe09fff 64bit]
    [ 5.733642] pci be0e:00:00.0: reg 0x20: [mem 0xbffe0a000-0xbffe0afff 64bit]
    [ 5.743471] pci be0e:00:00.0: BAR 0: assigned [mem 0xbffe08000-0xbffe08fff 64bit]
    [ 5.744661] pci be0e:00:00.0: BAR 2: assigned [mem 0xbffe09000-0xbffe09fff 64bit]
    [ 5.745842] pci be0e:00:00.0: BAR 4: assigned [mem 0xbffe0a000-0xbffe0afff 64bit]

  18. ramadhanafif commented on Oct 22, 2021

    @ramadhanafif

    I was in the same situation, and being unable to locate a copy of the original msi for the version I had installed, I eventually downloaded the MS install/uninstall troubleshooter - which allowed me to remove the version I was stuck with (despite not having the msi). Once that was gone I've been able to update to the latest OK.

    For anyone having problems in Win11, do this. It works for me.

  19. hansmuff commented on Nov 18, 2021

    @hansmuff

    Muhammad Afif Ramadhan (@ramadhanafif) That worked perfectly on Win10 for me as well. Thank you very much!

  20. kevincrans commented on Nov 18, 2021

    @kevincrans

    I just reset my PC except userfiles. Never store userfiles under programfiles, you end up needing to download it again. However WSL works perfectly. Idk what wslg is actually, Me insider has been able to run wsl gui apps natively for a long time. Probably just a release name.

  21. kvnloughead commented on Nov 19, 2021

    @kvnloughead

    I encountered this same issue and apparently stumbled on a solution. One difference though -- I've been running Ubuntu 18.04 with WSL for a year or so. But trying to update with the msi package I got the same odd issues. I also noticed another odd thing. Running uname -r gave me 4.40.x, which I believe means wsl2. But my version always showed as 1 when running wsl --list --verbose in PowerShell.

    Anyway, at one point during my struggles I wound up stopping my Ubuntu instance somehow, not sure how. But when I ran the installer again it worked. But uname -r still read 4.40.x and my wsl version read 1. However, installing 20.04 seems to have miraculously solved everything. So maybe I should have started with that.

    Not sure if this will be helpful to anyway, but I figured I'd share my experience!

  22. carlitorendon commented on Apr 5, 2022

    @carlitorendon

    I was in the same situation, and being unable to locate a copy of the original msi for the version I had installed, I eventually downloaded the MS install/uninstall troubleshooter - which allowed me to remove the version I was stuck with (despite not having the msi). Once that was gone I've been able to update to the latest OK.

    Thank you David Lowndes (@Dave-Lowndes) it worked nicely

  23. microsoft-github-policy-service commented on Feb 1, 2024

    @microsoft-github-policy-service
    Contributor

    This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

    Thank you!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions