Пламен Петров
2014-04-23T17:37:09Z

Can anyone boot a system using btrfs root with linux 3.14 or newer?

Because I can't.

I'm trying to move some 3.13.x based systems to 3.14.x and the kernel panics
during boot. It says to append a correct root=sdaX partition, but the one
provided is correct, because if use 3.13.x with the same kernel command line
- the system boots fine.

The thing is - there is an ext2 /boot partition and root / is btrfs, like
so:

# cat /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <type> <options> <dump>
<pass>

#/dev/#REISERFS_ROOT# / reiserfs defaults 0 0
#/dev/#EXT3FS_ROOT# / ext3 defaults 0 1
/dev/sda2 / btrfs relatime,compress=zlib 0 0
/dev/sda1 /boot ext4 defaults 0 1
#/dev/#JFS_ROOT# / jfs defaults 1 1

Here is my relevant GRUB config file part:

#menuentry 0
title Linux
root (hd0,0)
kernel /vmlinuz rw root=/dev/sda2 vga=6 raid=noautodetect

And for the record - I used the same kernel config as the one from 3.13.x -
I just copied my old .config file over to linux 3.14.x sources and did a
"make olddefconfig" and compiled my kernel, just as I did with all previous
ones...

Ideas?

P.S. Please, CC me - I'm not subscribed.
---------------------------------
Plamen Petrov