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

Hugo Mills
2014-04-23T19:02:52Z

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

On Wed, Apr 23, 2014 at 11:54:13AM -0700, Marc MERLIN wrote:
> On Wed, Apr 23, 2014 at 08:30:08PM +0300, Пламен Петров wrote:
> > Can anyone boot a system using btrfs root with linux 3.14 or newer?
> >
> > Because I can't.
>
> It works fine for me.
>
> > 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.
>
> My guess is that you have btrfs compiled as a module, it then needs to be in
> an initrd, and you either haven't built it and put it in the right place, or
> grub isn't setup to load that initrd.
>
> > #menuentry 0
> > title Linux
> > root (hd0,0)
> > kernel /vmlinuz rw root=/dev/sda2 vga=6 raid=noautodetect
>
> That's missing an initrd. Are you absolutely certain then that btrfs is
> compiled in the kernel and not as a module?

And the other thing to check here is that if this is a multi-device
filesystem, you need to have your initrd run "btrfs dev scan" before
trying to mount.

Hugo.

--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- The glass is neither half-full nor half-empty; it is twice as ---
large as it needs to be.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]