[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'>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
    <cmdline>root=/dev/xvda ro</cmdline>
  <clock offset='utc' adjustment='reset'/>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/var/lib/nova/instances/instance-0000001b/disk'/>
      <target dev='sda' bus='scsi'/>
    <disk type='file' device='disk'>
      <driver name='file'/>
      <source file='/var/lib/nova/instances/instance-0000001b/disk.local'/>
      <target dev='sdb' bus='scsi'/>
    <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'/>
    <console type='pty' tty='/dev/pts/5'>
      <source path='/dev/pts/5'/>
      <target type='xen' port='0'/>
    <input type='mouse' bus='xen'/>
<graphics type='vnc' port='5901' autoport='yes' listen='' keymap='en-us'>
      <listen type='address' address=''/>

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.