This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/windows/service/exe/WslCoreVm.cpp b/src/windows/service/exe/WslCoreVm.cpp | |
| index d5d6ab26..afbfc2c9 100644 | |
| --- a/src/windows/service/exe/WslCoreVm.cpp | |
| +++ b/src/windows/service/exe/WslCoreVm.cpp | |
| @@ -1504,38 +1504,30 @@ std::wstring WslCoreVm::GenerateConfigJson() | |
| vmSettings.ComputeTopology.Memory.HostingProcessNameSuffix = wsl::windows::common::wslutil::c_vmOwner; | |
| } | |
| - // If nested virtualization was requested, ensure the platform supports it. | |
| + // If nested virtualization was requested, expose the host's virtualization extensions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Build hcs-probe.exe using the VS 2022 toolchain already installed for the WSL build. | |
| # Run from a regular (non-admin) prompt. Run the resulting exe elevated for the Create tests. | |
| $ErrorActionPreference = "Stop" | |
| $vsWhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" | |
| if (-not (Test-Path $vsWhere)) { | |
| throw "vswhere.exe not found. Visual Studio 2022 or newer is required." | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Rough AlmaLinux 10 kickstart file for base WSL image based on outdated AlmaLinux 8 kickstart file @ https://github.com/AlmaLinux/wsl-images/blob/master/rootfs/kickstart/almalinux-8-wsl-deprecated.ks | |
| # install | |
| url --url https://kitten.repo.almalinux.org/10-kitten/BaseOS/$basearch/os/ | |
| lang en_US.UTF-8 | |
| keyboard us | |
| timezone --nontp --utc UTC | |
| network --activate --bootproto=dhcp --device=link --onboot=on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/arm64 5.15.90.1 Kernel Configuration | |
| # | |
| CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.1 20221121 (Red Hat 12.2.1-4)" | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=120201 | |
| CONFIG_CLANG_VERSION=0 | |
| CONFIG_AS_IS_GNU=y | |
| CONFIG_AS_VERSION=23800 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Seems more likely now. | |
| First, what version of WSL are you on? | |
| > wsl.exe --version | |
| Second, to confirm this, we would add: | |
| [wsl2] | |
| debugConsole=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #install k3s | |
| curl -sfL https://get.k3s.io | sh - | |
| sudo chmod 755 /etc/rancher/k3s/k3s.yaml | |
| k3s kubectl get node | |
| export KUBECONFIG=/etc/rancher/k3s/k3s.yaml | |
| #install pachctl | |
| curl -o /tmp/pachctl.tar.gz -L https://github.com/pachyderm/pachyderm/releases/download/v2.3.9/pachctl_2.3.9_linux_amd64.tar.gz && tar -xvf /tmp/pachctl.tar.gz -C /tmp && sudo cp /tmp/pachctl_2.3.9_linux_amd64/pachctl /usr/local/bin | |
| pachctl version --client-only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Users\hayde> .\scoop\buckets\main\bin\checkver.ps1 -App C:\Users\hayde\Downloads\Main\bucket\determined.json | |
| determined: 0.19.1 (scoop version is 0.18.4) autoupdate available | |
| PS C:\Users\hayde> scoop install C:\Users\hayde\Downloads\Main\bucket\determined.json | |
| Installing 'python' (3.10.6) [64bit] from main bucket | |
| Loading python-3.10.6-amd64.exe from cache. | |
| Checking hash of python-3.10.6-amd64.exe ... ok. | |
| Running pre_install script... | |
| Running installer script... | |
| Linking ~\scoop\apps\python\current => ~\scoop\apps\python\3.10.6 | |
| Creating shim for 'python3'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (determined) [hayden@T730 determined]$ make all | |
| make get-deps | |
| make[1]: Entering directory '/home/hayden/determined' | |
| pip install torch==1.9.0 | |
| Requirement already satisfied: torch==1.9.0 in /home/hayden/.virtualenvs/determined/lib/python3.7/site-packages (1.9.0) | |
| Requirement already satisfied: typing-extensions in /home/hayden/.virtualenvs/determined/lib/python3.7/site-packages (from torch==1.9.0) (3.7.4.3) | |
| WARNING: You are using pip version 21.3.1; however, version 22.1.2 is available. | |
| You should consider upgrading via the '/home/hayden/.virtualenvs/determined/bin/python3.7 -m pip install --upgrade pip' command. | |
| pip install -r requirements.txt | |
| Looking in links: https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (determined) hayden@T730:~/determined$ make all | |
| make get-deps | |
| make[1]: Entering directory '/home/hayden/determined' | |
| pip install torch==1.9.0 | |
| Requirement already satisfied: torch==1.9.0 in /home/hayden/.virtualenvs/determined/lib/python3.8/site-packages (1.9.0) | |
| Requirement already satisfied: typing-extensions in /home/hayden/.virtualenvs/determined/lib/python3.8/site-packages (from torch==1.9.0) (3.7.4.3) | |
| WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available. | |
| You should consider upgrading via the '/home/hayden/.virtualenvs/determined/bin/python3.8 -m pip install --upgrade pip' command. | |
| pip install -r requirements.txt | |
| Looking in links: https://download.openmmlab.com/mmcv/dist/cpu/torch1.9.0/index.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create a live bootable USB drive of your favorite distro with an extra exFAT partition large enough to hold the image you will be making (the used space on the HDD) | |
| Boot the live bootable USB drive on the device with the HDD | |
| Mount the HDD you want to create an image of, for example at /mnt/debiandrive | |
| Mount the exFAT partition on your USB drive, for example at /mnt/exfatpart | |
| Then you need to create a tar of the HDD contents /mnt/debiandrive in a tar on /mnt/exfatpart so something like: | |
| sudo tar -cpzf /mnt/exfatpart/debian-image.tar.gz -C /mnt/debiandrive . | |
| (sudo is necessary because some of the files you will be archiving will have higher permissions to read) |
NewerOlder