← Back to team overview

openstack team mailing list archive

Re: big problem with boot from iso

 

Thanks for you reply

I guess that's not the reason, I noticed that instances's xml file, and I
find:
    <disk type="file" device="cdrom">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk"/>
      <target bus="ide" dev="vda"/>
    </disk>
    <disk type="file" device="cdrom">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk.local"/>
      <target bus="virtio" dev="vdb"/>
    </disk>
    <disk type="file" device="disk">
      <driver type="qcow2" cache="none"/>
      <source file="/var/lib/nova/instances/instance-00000011/disk.swap"/>
      <target bus="virtio" dev="vdc"/>
    </disk>

it set vda and vdb to cdrom, only swap is set to disk, I don't know why
this happen

Thanks


On Tue, Jun 26, 2012 at 3:05 PM, Christian Parpart <trapni@xxxxxxxxx> wrote:

> On Tue, Jun 26, 2012 at 2:30 AM, William Herry <
> william.herry.china@xxxxxxxxx> wrote:
>
>> Hi
>> I use boot from iso to install a centos instance, it can't recognize the
>> disk, I create a flavor with 300G ephemeral and 300G disk, it says no valid
>> disk found, but when I create a flavor with 300000 swap, it found the disk
>> vdb, and can install the system, but of course can boot
>
> Hey,
>
> maybe your VM disk space is exported as VIRTIO block-device (/dev/vda,
> ...) and your ISO image doesn't support these block devices? Try loading
> its underlying kernel module :)
>
> Cheers,
> Christian.
>
>


-- 



William Herry
====================
WilliamHerryChina@xxxxxxxxx

References