首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

ubuntu 8.04 KVM中更换cdrom iso文件

作者:佚名  来源:不详  发布时间:2008-7-21 8:12:00
1. 启动kvm后,进入 monitor 模式 alt+ctl+2 返回 alt+ctl+1

2. 进入后 help

cdrom 的 device名为:ide1-cd0 而不是cdrom 了.

"the naming of certain block devices has changed in the newer qemu
releases (for example, cdrom has been changed to ide1-cd0)."

Test VM is started by virt-manager using kvm with option -cdrom /path/cd1.iso .

Now in virsh:
virsh # attach-disk 1 /path/cd2.iso hdc --type cdrom
(nothing happens)

.libvirt/qemu/log/testvm.log says:
change cdrom "/path/cd2.iso"

device not found

That's because cdrom device name in kvm/qemu now is ide1-cd0.

This is on current hardy.
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图