Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo as kvm guest with virtio
Date: Wed, 09 Mar 2016 17:56:26
Message-Id: CAGfcS_khNRwjrVRSYMiAHdyUQ6Row7ctWA3=T8-RGjJN34SVTA@mail.gmail.com
In Reply to: [gentoo-user] Gentoo as kvm guest with virtio by hw
1 On Wed, Mar 9, 2016 at 12:41 PM, hw <hw@×××××.de> wrote:
2 >
3 > I'm stuck with 'Could not find the root block device
4 > in UUID= ...' when trying to boot the guest.
5 >
6 > Is grub2 unable to work with virtio devices?
7 >
8
9 Are you sure that is a grub2 message? It seems more likely that this
10 is a message from the kernel (unless it is referring to the grub2 root
11 - posting the entire error would probably help here, and I didn't
12 realize grub2 even can find its root with a UUID assuming it actually
13 can). Does your kernel have virtio support enabled? What initramfs
14 are you using? The problem could lie with either. See if you can get
15 the initramfs to give you a shell (usually this can be done with a
16 kernel command line option) and see what block devices it can see (run
17 blkid or such).
18
19 If you're not using an initramfs then that is your problem. You can't
20 use UUID to reference your root if you aren't using an initramfs.
21
22 --
23 Rich

Replies

Subject Author
Re: [gentoo-user] Gentoo as kvm guest with virtio Bill Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] Gentoo as kvm guest with virtio hw <hw@×××××.de>