2024/02/03

virsh attach-diskでCD-ROMをマウントできない

virsh attach-diskでCD-ROMをマウントしようとしたらエラーが出る。


# virsh attach-disk --domain guestVM --type cdrom --source /path-to-iso/cdrom.iso --target vdc --mode readonly --config
error: Failed to attach disk
error: unsupported configuration: disk type of 'vdc' does not support ejectable media

 

試行錯誤したので、結果をメモ

2024/01/27

virt-installで「ERROR cannot rename file '(null).new' as '(null)': Bad address」

2022年11月末に作成したvirt-installのオプションを生成するスクリプトで、QEMUゲストのdomainを作成できなくなった。

Starting install...
ERROR    cannot rename file '(null).new' as '(null)': Bad address
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start Win11VM_ZS4
otherwise, please restart your installation.


2024/01/07

Windows 11のエクスプローラのクイックアクセスにピン留めされたフォルダが展開されない

以前は出来ていたように思うが、Windows 11のエクスプローラの左に出てくるナビゲーションペインで、クイックアクセスにピン留めしたフォルダが展開されない。

フォルダーオプションで「開いているフォルダーまで展開」にチェックを入れていても、展開されるのはCドライブなどから開いていったフォルダのみで、クイックアクセスにあるフォルダをクリックした場合は展開されない。

調べていたら、Ctrl-Shift-Eの組み合わせで解決できることがわかった。クイックアクセスから表示したフォルダで、Ctrl-Shift-Eを押すと、ドライブ上のフォルダに飛ばすことが出来、この場合はフォルダが展開される。