Rich Freeman wrote:
On Wed, Mar 9, 2016 at 12:41 PM, hw <[email protected]> wrote:

I'm stuck with 'Could not find the root block device
in UUID= ...' when trying to boot the guest.

Is grub2 unable to work with virtio devices?


Are you sure that is a grub2 message?  It seems more likely that this
is a message from the kernel (unless it is referring to the grub2 root
- posting the entire error would probably help here, and I didn't
realize grub2 even can find its root with a UUID assuming it actually
can).  Does your kernel have virtio support enabled?  What initramfs
are you using?  The problem could lie with either.  See if you can get
the initramfs to give you a shell (usually this can be done with a
kernel command line option) and see what block devices it can see (run
blkid or such).

I think it is a message from the kernel, so I'm trying to figure out
which drivers need to be enabled for the kernel to see the virtio-disk.
There doesn't seem to be any information at all about what is needed.

> If you're not using an initramfs then that is your problem.  You can't
> use UUID to reference your root if you aren't using an initramfs.

I'm using one, though I'm compiling most/all of what I know that will be
needed in rather than using modules.  Something must still be missing,
and I don't what.  At least now I know that the kernel is missing
something.


Reply via email to