Welcome to the Linux Foundation Forum!

May I use wsl 1 (ubuntu) for all the operations in this course

Hello, everyone. I am using Win 10 WSL 1 (Ubuntu) for all the operations described in this course. Now I am compiling the kernel via command > $make -j3 all
I want to know whether it is OK to use this environment because I'm afraid some features or functions don't work as mentioned in the course since it is not a complete independent Linux system.

Answers

  • ShuahKhanLF
    ShuahKhanLF Posts: 121

    The work in this class doesn't require any specific Linux distro

  • jason2022
    jason2022 Posts: 4

    Let me close this question.

    Yes, it works, but only in wsl2. And there are slightly different steps involving rebooting. There is no grub or MOK manager in WSL2. You need to manually replace the kernel image with what you generated in the make.

  • coop
    coop Posts: 879

    If you need to be on a Windows system, you'll get more bang for your buck with a hypervisor such as vmware or Virtual Box and a full up to date Linux environment, and I can confirm that WSL1 generally will waste a bunch of your time. (WSL2 is better but is not always possible.) As you said, you also don't have the MOK stuff etc and will have other limitations with a hypervisor, so a physical system with any recent full featured distribution is always a better experience. I personally have only found that WSL is OK for working on non GUI applications etc, but for kernel stuff it is a square peg in a round hole type of things :wink:

Categories

Upcoming Training