Bug#560272: initramfs-tools: fails to mount BTRFS root file system under KVM
On Thu, 10 Dec 2009, Jason White wrote:
> Package: initramfs-tools
> Version: 0.93.4
> Severity: wishlist
> To experiment with BTRFS as the root file system under KVM, I added btrfs and
> associated modules to /etc/initramfs-tools/modules and built an initrd image,
> which I then installed to an EXT3 partition in the QCOW2 image to be loaded by
> KVM. Grub 2 is used as the boot loader, Debian kernel 2.6.32-trunk-amd64.
> Btrfs is the root file system. (/boot on /dev/hda1, / on /dev/hda2).
> The initrd fails with a "no such device" error mounting the root file system
> and exits to the initrd shell environment. If I then mount the root file
> system manually:
> mount /dev/hda2 /root
> it succeeds, which shows that the btrfs modules are working.
> Since Btrfs remains experimental, this is probably a low-priority issue, so
> I've set it to wishlist for now (you're welcome to change this if appropriate,
> of course.)
you could simply use rootfstype bootarg,
as described in man initramfs-tools.