You are not logged in.

#1 2015-04-22 05:00:04

Reason
Member
From: TN, USA
Registered: 2012-06-25
Posts: 7

BTRFS RAID0 root filesystem Kernel Panic (EFISTUB)

I'm attempting to boot a btrfs raid0 via UEFI, but I'm getting a Kernel panic:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
...
Kernel Offset 0x0 from 0xffffffff01000000

The raid is configured such that two partitions of identical size (/dev/sda2 and /dev/sdb2) are striped via mkfs.btrfs -d raid0. The partitions mount fine in a Live environment, but trying to load this via the kernel command line fails absolutely fantastically. The EFI system partition resides at /dev/sdb1, and it contains the kernel images and initrd.

My Kernel command line is:

/vmlinuz-linux root=PARTUUID=<PARTUUID of /dev/sdb2> rootfstype=btrfs rootflags=device=/dev/sda2,device=/dev/sda2,subvol=__active/__root initrd=/initramfs-linux.img ro

This is set up via an efibootmgr entry. I have successfully run several systems with single btrfs disks as root devices, but this raid0 refuses to work. I have added 'btrfs' to the HOOKS array (immediately before fsck) and have also tried with 'btrfs' in the MODULES array. Neither have made any change in the message produced.

Any and all help appreciated.

EDIT: This might just be a motherboard incompatibility, as I can boot the kernel from the EFI shell just fine.

Last edited by Reason (2015-04-22 05:24:23)

Offline

#2 2015-04-22 14:03:57

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,489

Re: BTRFS RAID0 root filesystem Kernel Panic (EFISTUB)

In case you have not seen it: https://bugs.archlinux.org/task/42884

Offline

Board footer

Powered by FluxBB