On Wed, Jan 21, 2009 at 01:45:52PM +0000, Richard W.M. Jones wrote:
> On Wed, Jan 21, 2009 at 02:28:36PM +0100, Jan ONDREJ (SAL) wrote:
> > virtio_net works well, but I have trouble to boot from virtio_blk.
> > 
> > I can add second disk as virto block device, but I can't boot from first
> > disk. When using sedond disk, everything works well. When booting via grub,
> > this is on console:
> 
> Upgrading to using virtio_blk is very complicated.  You have to
> rebuild initrd, and there's a difficult circular dependency to be
> resolved when doing this because you need to be using virtio_blk in
> order for mkinitrd to believe that you need it, although possibly
> mkinitrd supports some command line argument to override this.  I
> actually gave up at this point.

Just tell it to include virtio_blk module explicitly eg

    mkinitrd --with=virtio_blk  .....other option...

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen

Reply via email to