Bug ID 914043
Summary grub 2 doesn't boot from btrfs raid volume
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware x86-64
OS openSUSE 13.2
Status NEW
Severity Major
Priority P5 - None
Component Bootloader
Assignee jsrain@suse.com
Reporter diego.ercolani@gmail.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

Created attachment 620307 [details]
as generated by grub2-mkconfig

(
grub2-branding-openSUSE-13.2-3.6.1.noarch
grub2-i386-pc-2.02~beta2-20.5.1.x86_64
grub2-2.02~beta2-20.5.1.x86_64
grub2-x86_64-efi-2.02~beta2-20.5.1.x86_64
grub2-snapper-plugin-2.02~beta2-20.5.1.noarch
)
I recently upgrade a 13.1 installation that is made of two disk partitioned
with msdos partition table each with 3 partition:

- the root partition (btrfs raid1)
- the data partition (btrfs raid0)
- the swap 

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sda1           2048   2105343  2103296    1G 82 Linux swap / Solaris
/dev/sda2  *     2105344  85995519 83890176   40G 83 Linux
/dev/sda3       85995520 156301311 70305792 33.5G 83 Linux

Device     Boot    Start       End  Sectors  Size Id Type
/dev/sdb1           2048   2105343  2103296    1G 82 Linux swap / Solaris
/dev/sdb2        2105344  85995519 83890176   40G 83 Linux
/dev/sdb3       85995520 156301311 70305792 33.5G 83 Linux

proxy:~ # btrfs fi show                                                         
Label: none  uuid: 51fc561b-12f7-484b-89e5-d146bc9ea737                         
        Total devices 2 FS bytes used 32.89GiB
        devid    2 size 40.00GiB used 34.03GiB path /dev/sda2
        devid    3 size 40.00GiB used 34.03GiB path /dev/sdb2

Label: 'nonraid'  uuid: 98d8788c-2cff-45fc-83a7-6c0015c72446
        Total devices 2 FS bytes used 2.37GiB
        devid    1 size 33.52GiB used 5.04GiB path /dev/sda3
        devid    2 size 33.52GiB used 5.03GiB path /dev/sdb3

Btrfs v3.16.2+20141003

/dev/sda2 on / type btrfs (rw,relatime,compress=zlib,space_cache)
/dev/sda3 on /dati/nonraid type btrfs (rw,relatime,compress=zlib,space_cache)

The problem is that simply grub2 seem not to load from the disk.

The boot procedure hang on
"Welcome to GRUB!"

I installed grub2 with:
proxy:~ # grub2-install --recheck /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
proxy:~ # grub2-install --recheck /dev/sdb
Installing for i386-pc platform.
Installation finished. No error reported.

I attached the grub.cfg generated by grub2-mkconfig.

Note:
I saw there is a seem correlated bug #912170
Note 2:
I currently boot from a usb stick where I installed grub2 and vmlinuz and
initrd


You are receiving this mail because: