[Solved] Mounting problems under Deepin 15.4
Tofloor
poster avatar
savanweylyn
deepin
2017-04-04 14:11
Author
Edited by savanweylyn at 2017-4-8 16:52

Hi guys,

I have a 500GB external hard drive with an ext4 partition.

Here's it's fstab line
UUID=b4155baf-2819-44e6-b99d-d65902ad9ac6 /media/weylyn1/data ext4 rw,exec,users,errors=remount-ro 0 2

and mtab line
/dev/sdb2 /media/weylyn1/data ext4 rw,nosuid,nodev,noexec,relatime,errors=remount-ro,data=ordered 0 0


Effects:
  • scripts, VMs, .deb - and .run files working
  • PlayOnLinux doesn't
  • cannot execute .exe files with wine from there

Also there's a 4GB swap space at the beginning of the disk, but swap is not enabled by default or by the sudo swapon -a command
fstab line:
UUID=f884af5e-65a1-4894-8c3b-3cc54905a491    none                swap    sw    0 0

I run Deepin from an SSD and as i know it's not recommended to have a swap partition on it (that's why swap is on the external HDD).

Other options and filesystem (like tmpfs for /tmp and ~/.cache) are working.

Reply Favorite View the author
All Replies
heartqing
deepin
2017-04-05 19:51
#1
Have you tried to exec .exe with wine command? Are there some output ? Please paste it out here. : )
Reply View the author
savanweylyn
deepin
2017-04-06 03:37
#2
https://bbs.deepin.org/post/137101
Have you tried to exec .exe with wine command? Are there some output ? Please paste it out here. : )

It seems like there's no problem with standalone exes, like vbam.exe, however the installer of MS Office 2003 gave this error:
  1. err:msi:extract_cabinet FDICopy failed
  2. err:msi:ACTION_InstallFiles Failed to extract cabinet: L"O15614J7.CAB"
  3. err:msi:ITERATE_Actions Execution halted, action L"InstallFiles" returned 1603
  4. err:msi:ITERATE_Actions Execution halted, action L"ExecuteAction" returned 1603
  5. err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
Copy the Code

And this is what i got when starting PlayOnLinux:

  1. Looking for python... 2.7.12+ - wxversion(s): 3.0-gtk2
  2. selected
  3. [main] Message: PlayOnLinux (4.2.10) is starting
  4. [clean_tmp] Message: Cleaning temp directory
  5. [Check_OpenGL] Warning: check_dd_x86 missing, test skipped
  6. [Check_OpenGL] Warning: check_dd_amd64 missing, test skipped
  7. [POL_System_CheckFS] Message: Checking filesystem for /home/weylyn1/.PlayOnLinux/
  8. [FS_Check] Warning: The following file is located on a noexec mounted filesystem.
  9. It might prevent wine from working

  10. /home/weylyn1/.PlayOnLinux/
  11. [main] Message: Filesystem is compatible
  12. [install_plugins] Message: Checking plugin: ScreenCap...
  13. [install_plugins] Message: Checking plugin: PlayOnLinux Vault...
  14. [update_check] Message: List is up to date
  15. [POL_System_CheckFS] Message: Checking filesystem for utau.exe
  16. [FS_Check] Error: The following file is located on a noexec mounted filesystem.
  17. It might prevent wine from working

  18. utau.exe
  19. [POL_SetupWindow_Init] Message: Creating new window for pid 15319
  20. [POL_SetupWindow_Close] Message: Closing window for pid 15319
  21. [POL_Wine] Message: Running wine- utau.exe (Working directory : /home/weylyn1/.PlayOnLinux/wineprefix/UTAU/drive_c/Program Files/UTAU)
  22. [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonlinux.com/fr/page-26-Winemenubuilder.html
  23. [POL_Wine] Message: Wine return: 53
  24. [POL_SetupWindow_Init] Message: Creating new window for pid 15272
  25. [main] Error: UTAU 4.16 crashed.
  26. Select its shortcut and click on "Debug" in the side panel to get more details.
  27. [POL_SetupWindow_Close] Message: Closing window for pid 15272
  28. Registered PID: 15046 (Missing)
  29. Registered PID: 15047 (Missing)
  30. Registered PID: 15272 (Present)
  31. Registered PID: 15319 (Missing)
Copy the Code

Also note that /home/weylyn1/.PlayOnLinux is a symlink of /media/weylyn1/data/.PlayOnLinux
Reply View the author
savanweylyn
deepin
2017-04-09 07:50
#3
The problem with mounting my external HDD's partition as exec has been solved by reading a few forums. It turned out that the option 'users' does not only mean that parts of the group 'users' can mount the partition without 'sudo', but it also means noexec so that exec MUST be written after it.

As for the swap issue, i don't know what to say. It Deepin started with SWAP enabled by default after a few reboots...
Reply View the author
heartqing
deepin
2017-04-13 17:24
#4
I think I might find the Reason. In your fstab command lines and mtlab line, there is "noexec" in there. Reffer to mount man page, the "noexec" means binaries are not allowed to exec.
So you should change "noexec" to "exec". If you are not clear what to use , I suggest to use "default" simply.
Reply View the author