%~p1 : Path only
%~p1=\Users\skYjennr\AppData\Local\
%~n1 : file Name without file extension
%~n1=CrashDumps
%~x1 : file eXtension only
%~x1=
%~s1 : Short 8.3 name
%~s1=C:\Users\skYjennr\AppData\Local\CRASHD~1
%~1 : removing any surrounding quotes (“)
%~1=C:\Users\skYjennr\AppData\Local\CrashDumps
%~a1 : Display the file attributes of %1
%~a1=d—-c—–
%~t1 : Display the date/time of %1
%~t1=2021/07/01 15:59
%~z1 : Display the file size of %1
%~z1=0
%~$PATH:1 : Search the PATH environment variable and expand %1 to the fully qualified name of the first match found
%~$PATH:1=C:\Users\skYjennr\AppData\Local\CrashDumps
%~p1 : Path only
%~p1=\local\msys2\home\skYjennr\gitdev\bat\src\
%~n1 : file Name without file extension
%~n1=notepad
%~x1 : file eXtension only
%~x1=.exe
%~s1 : Short 8.3 name
%~s1=C:\local\msys2\home\skYjennr\gitdev\bat\src\notepad.exe
%~1 : removing any surrounding quotes (“)
%~1=notepad.exe
%~a1 : Display the file attributes of %1
%~a1=
%~t1 : Display the date/time of %1
%~t1=
%~z1 : Display the file size of %1
%~z1=
%~$PATH:1 : Search the PATH environment variable and expand %1 to the fully qualified name of the first match found
%~$PATH:1=C:\Windows\System32\notepad.exe
つぎにデフォルトのデータディレクトリ/var/lib/mysqlをシンボリックリンクにする。
$ cd /var/lib
$ sudo ln -s /theData/mysql mysql
起動
$ sudo service mysql start
Job for mysql.service failed because the control process exited with error code.
See “systemctl status mysql.service” and “journalctl -xe” for details.
$
apparmorがアクセスを拒否しているようなので設定を追加
Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.
このエラーはゲストのvmxに以下の設定を記述する。
1
2
3
4
5
hypervisor.cpuid.v0="FALSE"
vhv.enable="TRUE"
vpmc.enable="TRUE"
mce.enable="TRUE"
vhu.enable="TRUE"
Error: 0xc03a001a The requested operation could not be completed due to a virtual disk system limitation. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse.