KVM

説明

なにかしらの理由でRescuemodeを起動しなければいけなくなった場合に手順です。

手順

# cd /etc/libvirt/qemu/
# cp -p hoge.xml hoge.xml.`date +%Y%m%d`
# vi hoge.xml
    <boot dev='cdrom'/>   <--追加
    <boot dev='hd'/>
	
	---以下も追加
	    <disk type='file' device='cdrom'>
     <driver name='qemu' type='raw'/>
     <source file='/tmp/CentOS-6.6-x86_64-minimal.iso'/>
     <target dev='hdc' bus='ide'/>
     <readonly/>
     <address type='drive' controller='0' bus='1' target='0' unit='0'/>
   </disk>
	
# virsh define /etc/libvirt/qemu/hogehoge.xml

インストーラーが起動するにで、Rescuemodeを選択してすすめていってStarShell から作業を実施する。


トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11