Перенести папку .wine на другой раздел

Ответить
Аватара пользователя
mirasoft

Перенести папку .wine на другой раздел

Сообщение mirasoft »

Доброго времени суток форумчани.

Возможно ли перенести папку .wine на другой раздел? в виду отсутствия места.



Или папку drive_c. Может можно както примонтировать, или создать ссылку.



Wine все время вылетает с ошибкой:



err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?



Зарание благодарен
Аватара пользователя
vadblm

Re: Перенести папку .wine на другой раздел

Сообщение vadblm »

Да запросто, хоть под каждое приложение делайте свою папку. Гуглите WINEPREFIX, инфы полно.
Аватара пользователя
mirasoft

Re: Перенести папку .wine на другой раздел

Сообщение mirasoft »

не работает, пробовал.

Пробую таким макаром ставить net wramework 2, посылает лесом, та же ошибка.



Вот запускаю с префиксом:



Код:

Код: Выделить всё

[User@localhost sdb8]$ WINEPREFIX="/media/sdb8/wine" winecfg
fixme:urlmon:DownloadBSC_OnProgress Unsupported status 3
fixme:wininet:InternetLockRequestFile STUB
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library mozalloc.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library mozjs.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library mozsqlite3.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library nss3.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library nssutil3.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library smime3.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library ssl3.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library plds4.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library plc4.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:module:import_dll Loading library nspr4.dll (which is needed by L"C:\\windows\\system32\\gecko\\1.2.0\\wine_gecko\\xul.dll") failed (error c000007b).
Could not load wine-gecko. HTML rendering will be disabled.
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x350000 1000 000000000 failed
err:qmgr:register_server RegInstall failed: 80070005
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x350000 1000 000000000 failed
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x350000 5000 000000000 failed
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x350000 1000 000000000 failed
err:wia:register_server RegInstall failed: 80070005
err:virtual:map_file_into_view failed to set 00000005 protection on file map, noexec filesystem?
err:virtual:NtMapViewOfSection map_file_into_view 0x350000 1000 000000000 failed
err:gstreamer:register_server RegInstall failed: 80070005
wine: configuration in '/media/sdb8/wine' has been updated.

Вот ставлю фреймворк, хотя без префикса все отлично ставится



Код:

Код: Выделить всё

[User@localhost drive_c]$ WINEPREFIX="/media/sdb8/wine" wine dotnetfx.exe
err:virtual:map_image failed to set 60000020 protection on section .text, noexec filesystem?
fixme:storage:create_storagefile Storage share mode not implemented.
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
err:virtual:map_file_into_view failed to set 00000007 protection on file map, noexec filesystem?
wine: Unhandled page fault on read access to 0x200c6220 at address 0x200c6220 (thread 0022), starting debugger...
Unhandled exception: page fault on read access to 0x200c6220 in 32-bit code (0x200c6220).
Аватара пользователя
vadblm

Re: Перенести папку .wine на другой раздел

Сообщение vadblm »

Цитата mirasoft:



00000007 protection on file map, noexec filesystem?
Перенести папку .wine на другой раздел




Либо ФС смонтирована с флагом noexec, либо нет POSIX прав на запись и исполнение на директорию.

ЗЫ .NET лучше ставить через winetricks.
Аватара пользователя
mirasoft

Re: Перенести папку .wine на другой раздел

Сообщение mirasoft »

ну я и через него пробовал, тоже самое.



вот так монтируется (fstab)



/dev/sdb8 /media/sdb8 ext3 errors=remount-ro,users,user_xattr,user 0 0



А можно примонтировать прямо в каталог .wine??? чтобы использовать префикс по умолчанию
Аватара пользователя
vadblm

Re: Перенести папку .wine на другой раздел

Сообщение vadblm »

Цитата vadblm:



Либо ФС смонтирована с флагом noexec, либо нет POSIX прав на запись и исполнение на директорию.
Перенести папку .wine на другой раздел




Вы по этому вопросу можете сказать что-то, или просто не понимаете, о чём речь? Надо на примере показать?

ls -l /media/sdb8/wine покажет права.

Где у вас точка монтирования, какие ключи мне неведомо, mount покажет всё.
Аватара пользователя
mirasoft

Re: Перенести папку .wine на другой раздел

Сообщение mirasoft »

Код:

Код: Выделить всё

ls -l /media/sdb8/wine
итого 836
drwxrwxr-x 2 User User   4096 Июл 28 18:04 dosdevices
drwxrwxr-x 5 User User   4096 Июл 28 18:05 drive_c
drwxrwxr-x 2 User User   4096 Июл 28 18:04 drive_d
-rw-rw-r-- 1 User User 813771 Июл 28 18:07 system.reg
-rw-rw-r-- 1 User User   3567 Июл 28 18:02 userdef.reg
-rw-rw-r-- 1 User User  18507 Июл 28 18:07 user.reg
Аватара пользователя
vadblm

Re: Перенести папку .wine на другой раздел

Сообщение vadblm »

Тут ок, что с noexec? Я сейчас уезжаю, когда вернусь и буду ли помогать не знаю. Судя по точке монтирования, это что-то смонтированное автоматически, может нтфсный раздел? Он в некоторых системах автомонтируется с флагом noexec. Не заставляйте из вас тянуть клещами инфу, ну блин нельзя быть таким беспомощным.
Аватара пользователя
mirasoft

Re: Перенести папку .wine на другой раздел

Сообщение mirasoft »

монтируется pysdm (Storage Device Manager)



а как проверить установлен noexec или нет?



PS: явно указал при монтировании exec, посмотрим что будет



Спасибо, пока все более мение работает. буду разбиратся дальше
Ответить

Вернуться в «Программное обеспечение Linux и FreeBSD»