[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Switching from IDE to virtio_blk [qas Re: [Fedora-xen] Goodbye Xen on RH/Fedora?]



(This is all getting offtopic for fedora-xen, we should really move to
fedora-virt)

On Wed, 2009-01-21 at 14:28 +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 switching from IDE to virtio, you need to first build a new initrd
in the guest with e.g.:

  $> mkinitrd --with virtio_pci --with virtio_blk -f /boot/initrd-$(kernelversion) $(kernelversion)

You only need to do this once. After that, if a new kernel is installed
while you're booted off a virtio disk, then mkinitrd will include the
modules automatically.

Cheers,
Mark.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]