|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] How can I boot using pv-grub?
I'm trying to figure out how to get pv-grub to work in OpenStack on Fedora 17's xen-4.1.2 packaging. I added pv-grub-x86_64.gz from the package as a kernel in glance (becoming /var/lib/nova/instances/instance-0000001b/kernel in this example). OpenStack created this vm definition:
<domain type='xen' id='21'>
<name>instance-0000001b</name>
<uuid>8a5231bc-6535-468e-8585-60a55c9073d9</uuid>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu>1</vcpu>
<bootloader></bootloader>
<os>
<type>linux</type>
<kernel>/var/lib/nova/instances/instance-0000001b/kernel</kernel>
<cmdline>root=/dev/xvda ro</cmdline>
</os>
<clock offset='utc' adjustment='reset'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/var/lib/nova/instances/instance-0000001b/disk'/>
<target dev='sda' bus='scsi'/>
</disk>
<disk type='file' device='disk'>
<driver name='file'/>
<source file='/var/lib/nova/instances/instance-0000001b/disk.local'/>
<target dev='sdb' bus='scsi'/>
</disk>
<interface type='bridge'>
<mac address='fa:16:3e:30:64:90'/>
<source bridge='br_private'/>
<script path='/etc/xen/scripts/vif-bridge'/>
<target dev='vif21.0'/>
</interface>
<console type='pty' tty='/dev/pts/5'>
<source path='/dev/pts/5'/>
<target type='xen' port='0'/>
</console>
<input type='mouse' bus='xen'/>
<graphics type='vnc' port='5901' autoport='yes' listen='127.0.0.1'
keymap='en-us'>
<listen type='address' address='127.0.0.1'/>
</graphics>
</devices>
</domain>
I boot to the console and see grub, but it doesn't recognize the
partition table on (hd0): "Error 5: Partition table invalid or corrupt",
nor the filesystem on (hd1): "Filesystem type unknown, using whole disk".
The files are qcow2 images with raw backing files. The first disk has two msdos partitions, the first partition is the ext3 /boot partition that I'm trying to use. I also noticed that qemu-dm doesn't show either of the files open in lsof. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |