WSL2 --mount Seçenği Yok

Huso112

Hectopat
Katılım
26 Ocak 2021
Mesajlar
1.471
Makaleler
1
Çözümler
2
Merhablar.

WSL2'de Debian 10 Buster sürümünü kullanıyorum. Dual boot sistem kullandığım için /dev/sda5 (ext4-Arch) partisyonunu bağlamak için wsl --mount \\.\PHYSICALDRIVE0 --partition 4 --type ext4 yazınca bu hata çıkıyor:

Kod:
Invalid command line option: --mount
Copyright (c) Microsoft Corporation. All rights reserved.

Usage: wsl.exe [Argument] [Options...] [CommandLine]

Arguments for running Linux binaries:

    If no command line is provided, wsl.exe launches the default shell.

    --exec, -e <CommandLine>
        Execute the specified command without using the default Linux shell.

    --
        Pass the remaining command line as is.

Options:
    --distribution, -d <Distro>
        Run the specified distribution.

    --user, -u <UserName>
        Run as the specified user.

Arguments for managing Windows Subsystem for Linux:

    --export <Distro> <FileName>
        Exports the distribution to a tar file.
        The filename can be - for standard output.

    --import <Distro> <InstallLocation> <FileName> [Options]
        Imports the specified tar file as a new distribution.
        The filename can be - for standard input.

        Options:
            --version <Version>
                Specifies the version to use for the new distribution.

    --list, -l [Options]
        Lists distributions.

        Options:
            --all
                List all distributions, including distributions that are currently
                being installed or uninstalled.

            --running
                List only distributions that are currently running.

            --quiet, -q
                Only show distribution names.

            --verbose, -v
                Show detailed information about all distributions.

    --set-default, -s <Distro>
        Sets the distribution as the default.

    --set-default-version <Version>
        Changes the default install version for new distributions.

    --set-version <Distro> <Version>
        Changes the version of the specified distribution.

    --shutdown
        Immediately terminates all running distributions and the WSL 2 lightweight utility virtual machine.

    --terminate, -t <Distro>
        Terminates the specified distribution.

    --unregister <Distro>
        Unregisters the distribution.

    --help
        Display usage information.

Ama Debian'a göre durum şu:
Kod:
hoovy@BtwIUseArchLinux:~$ pfetch
  _____      hoovy@BtwIUseArchLinux
 /  __ \     os     Debian GNU/Linux 10 (buster) on Windows 10 [WSL2]
|  /    |    host   x86_64
|  \___-     kernel 5.4.72-microsoft-standard-WSL2
-_           uptime 18m
  --_        pkgs   733
             memory 302M / 6272M

hoovy@BtwIUseArchLinux:~$ neofetch
       _,met$$$$$gg.          hoovy@BtwIUseArchLinux
    ,g$$$$$$$$$$$$$$$P.       ----------------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 10 (buster) on Windows 10 x86_64
 ,$$P'              `$$$.     Kernel: 5.4.72-microsoft-standard-WSL2
',$$P       ,ggs.     `$$b:   Uptime: 18 mins
`d$$'     ,$P"'   .    $$$    Packages: 733 (dpkg)
 $$P      d$'     ,    $$P    Shell: bash 5.0.3
 $$:      $$.   -    ,d$$'    Terminal: /dev/pts/0
 $$;      Y$b._   _,d$P'      CPU: Intel i5-8250U (8) @ 1.799GHz
 Y$$.    `.`"Y$$$$P"'         Memory: 87MiB / 6272MiB
 `$$b      "-.__
  `Y$$
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

hoovy@BtwIUseArchLinux:~$ screenfetch
awk: cannot open /proc/fb (No such file or directory)
         _,met$$$$$gg.           hoovy@BtwIUseArchLinux
      ,g$$$$$$$$$$$$$$$P.        OS: Debian
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 5.4.72-microsoft-standard-WSL2
   ,$$P'              `$$$.      Uptime: 18m
  ',$$P       ,ggs.     `$$b:    Packages: 719
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.0.3
   $$P      d$'     ,    $$P     CPU: Intel Core i5-8250U @ 8x 1.8GHz
   $$:      $$.   -    ,d$$'     GPU:
   $$\;      Y$b._   _,d$P'      RAM: 84MiB / 6272MiB
   Y$$.    `.`"Y$$$$P"'
   `$$b      "-.__
    `Y$$
     `Y$$.
       `$$b.
         `Y$$b.
            `"Y$b._
                `""""

hoovy@BtwIUseArchLinux:~$

Ne yapmalıyım?
 

Geri
Yukarı