bash: /home/parallels/Desktop/Parallels: No such file or directory

Discussion in 'Linux Guest OS Discussion' started by startergo, Aug 15, 2021.

  1. startergo

    startergo Bit Poster

    Messages:
    1
    Is there a way to reference the shared folder directly? Something is broken in Parallels 7:
    Code:
    parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels Shared Folders/Downloads/edk2$ ls -l
    total 220
    drwxr-xr-x 1 parallels parallels   320 Aug 15 06:15 ArmPkg
    drwxr-xr-x 1 parallels parallels   448 Aug 15 06:15 ArmPlatformPkg
    drwxr-xr-x 1 parallels parallels  1024 Aug 15 06:15 ArmVirtPkg
    drwxr-xr-x 1 parallels parallels   704 Aug 15 06:15 BaseTools
    drwxr-xr-x 1 parallels parallels   128 Aug 15 06:15 Conf
    -rw-r--r-- 1 parallels parallels   161 Aug 15 06:15 CONTRIBUTING.md
    drwxr-xr-x 1 parallels parallels   384 Aug 15 06:15 CryptoPkg
    drwxr-xr-x 1 parallels parallels   352 Aug 15 06:15 DynamicTablesPkg
    -rwxr-xr-x 1 parallels parallels  5031 Aug 15 06:15 edksetup.bat
    -rwxr-xr-x 1 parallels parallels  5203 Aug 15 06:15 edksetup.sh
    drwxr-xr-x 1 parallels parallels   512 Aug 15 06:15 EmbeddedPkg
    drwxr-xr-x 1 parallels parallels  1024 Aug 15 06:15 EmulatorPkg
    drwxr-xr-x 1 parallels parallels   288 Aug 15 06:15 FatPkg
    drwxr-xr-x 1 parallels parallels   416 Aug 15 06:15 FmpDevicePkg
    drwxr-xr-x 1 parallels parallels   320 Aug 15 06:15 IntelFsp2Pkg
    drwxr-xr-x 1 parallels parallels   320 Aug 15 06:15 IntelFsp2WrapperPkg
    -rw-r--r-- 1 parallels parallels 28674 Aug 15 06:15 License-History.txt
    -rw-r--r-- 1 parallels parallels  2732 Aug 15 06:15 License.txt
    -rw-r--r-- 1 parallels parallels 22344 Aug 15 06:15 Maintainers.txt
    drwxr-xr-x 1 parallels parallels   480 Aug 15 06:15 MdeModulePkg
    drwxr-xr-x 1 parallels parallels   352 Aug 15 06:15 MdePkg
    drwxr-xr-x 1 parallels parallels  1280 Aug 15 06:15 NetworkPkg
    drwxr-xr-x 1 parallels parallels  2272 Aug 15 06:15 OvmfPkg
    drwxr-xr-x 1 parallels parallels   384 Aug 15 06:15 PcAtChipsetPkg
    -rw-r--r-- 1 parallels parallels   583 Aug 15 06:15 pip-requirements.txt
    -rw-r--r-- 1 parallels parallels 26526 Aug 15 06:15 ReadMe.rst
    drwxr-xr-x 1 parallels parallels   704 Aug 15 06:15 RedfishPkg
    drwxr-xr-x 1 parallels parallels   544 Aug 15 06:15 SecurityPkg
    drwxr-xr-x 1 parallels parallels   288 Aug 15 06:15 ShellPkg
    drwxr-xr-x 1 parallels parallels   256 Aug 15 06:15 SignedCapsulePkg
    drwxr-xr-x 1 parallels parallels   352 Aug 15 06:15 SourceLevelDebugPkg
    drwxr-xr-x 1 parallels parallels   288 Aug 15 06:15 StandaloneMmPkg
    drwxr-xr-x 1 parallels parallels   768 Aug 15 06:15 UefiCpuPkg
    drwxr-xr-x 1 parallels parallels   384 Aug 15 06:15 UefiPayloadPkg
    drwxr-xr-x 1 parallels parallels   384 Aug 15 06:15 UnitTestFrameworkPkg
    
    parallels@parallels-Parallels-Virtual-Platform:~/Desktop/Parallels Shared Folders/Downloads/edk2$ source ./edksetup.sh
    bash: /home/parallels/Desktop/Parallels: No such file or directory
    As you can see I am inside the folder, but if I try to source a file directly it says
    Code:
    bash: /home/parallels/Desktop/Parallels: No such file or directory
     
  2. (GalaxyMaster)

    (GalaxyMaster) Kilo Poster

    Messages:
    90
    Somewhere inside the script you are calling, the authors of the script use the current directory (which has spaces in its name) without enclosing it in double quotes, hence you are getting an error. To investigate, you may run the script as "bash -xe -o pipefail ./edksetup.sh" and see where it fails.
     

Share This Page