
root以外のユーザーとしてISOをマウントする必要があります。マウントされたISO内のファイル名は重要です。私は「ルートではない」ので、fuseiso
最も論理的な選択ですが、「正しいファイル名」を生成しませんmount
。の場合、fuseiso
空白は下線になり、大文字は大文字ではなく文字になります。
fuseiso
アクションを複製してアクションを変更する方法はありますかmount
?
インストール時のISOの正しい内容:
[me@pc stalkersoup]$ sudo mount 'STALKERSOUP Game Install.iso' mnt
[me@pc stalkersoup]$ ls mnt
'STALKERSOUP game setup-10.bin' 'STALKERSOUP game setup-4.bin' 'STALKERSOUP game setup-8.bin'
'STALKERSOUP game setup-1.bin' 'STALKERSOUP game setup-5.bin' 'STALKERSOUP game setup-9.bin'
'STALKERSOUP game setup-2.bin' 'STALKERSOUP game setup-6.bin' 'STALKERSOUP game setup.exe'
'STALKERSOUP game setup-3.bin' 'STALKERSOUP game setup-7.bin'
ISOの内容が正しくありませんfuseiso
。
[me@pc stalkersoup]$ fuseiso 'STALKERSOUP Game Install.iso' mnt/
[me@pc stalkersoup]$ ls mnt/
stalkersoup_game_setup_10.bin stalkersoup_game_setup_4.bin stalkersoup_game_setup_8.bin
stalkersoup_game_setup_1.bin stalkersoup_game_setup_5.bin stalkersoup_game_setup_9.bin
stalkersoup_game_setup_2.bin stalkersoup_game_setup_6.bin stalkersoup_game_setup.exe
stalkersoup_game_setup_3.bin stalkersoup_game_setup_7.bin
XYZ問題の状況を防ぐためのコンテキスト:
setup.exe
innoextractを使用してコンテンツを抽出したい場合、すべてのファイルbin
には抽出に必要なデータが含まれており、そのパスがハードコードされているため、ファイル名が重要です。- 私はPKGBUILD(アーチパッケージを構築するためのbashスクリプト)を書いているので、これをやっています。これは、root以外のユーザーとして実行する必要があるbashスクリプトです。したがって、CLI ツールは root ではなくユーザーとしてのみ使用できます。
- 個人的な使用のためにこの作業をしており、ゲームが無料で配布されるので合法です。
- マウントされたISOは読み取り専用なので、名前を変更できません。
- たとえば、p7zipを使用して、現在行っているISOの内容を抽出できます。
- しかし、これは時間と記憶領域を無駄にするので、良い解決策ではありません。
- 「作成者が投稿したとおり」を使用する必要があるため、アーカイブを変更することはできません。
あなたの助けと専門知識に事前に感謝します:)
答え1
Redditの助けを借りて答えを見つけました。ここにまとめておきますので参考にしてください。このRedditトピック。
オプション1:guestmountの使用
guestmount -a 'STALKERSOUP Game Install.iso' -m /dev/sda mnt/
/dev/sdaが見つかる場所:
virt-filesystems -a "STALKERSOUP Game Install.iso"
オプション2:USBフラッシュドライブの使用
# Setup loop file with udisksctl
udisksctl loop-setup --file "STALKERSOUP Game Install.iso"
bdev="/dev/loop0" # can change
udisksctl mount --block-device "$bdev"
mpoint="/media/STALKERSOUP Game Install" # can change