bugGNU GRUB - Bugs: bug #50118, ZFS-Linux "Bad Magic...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #50118: ZFS-Linux "Bad Magic Number" for stripe pool

Submitted by:  Zaphod <beeblebrox42>
Submitted on:  Sun 22 Jan 2017 11:57:24 AM UTC  
 
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  2.02~beta1 Reproducibility:  None
Planned Release:  None

Sun 22 Jan 2017 01:35:57 PM UTC, comment #1:

As a test, I created a new zpool on an empty partition, Grub command line gives same "magic number eror", so it's not an isue of striped/single disk. Probably latest ZOL version causes this.

Also, grub-mkconfig creates incorrect path entry in grub.cfg (needs /@/):
++ linux /ROOT/arch/@/boot/vmlinuz-linux root=ZFS=/ROOT/arch/@/ rw quiet resume=UUID=xxxxx
-- linux /ROOT/arch/boot/vmlinuz-linux root=ZFS=/ROOT/arch rw quiet resume=UUID=xxxxx

Zaphod <beeblebrox42>
Sun 22 Jan 2017 11:57:24 AM UTC, original submission:

OS: ArchLinux 4.8.13-1-ARCH
Grub Ver: 2.02.beta3-6 x86_64
ZFS/ZOL Ver: zfs-dkms-git 0.7.0_rc1_r26_gd2a6f65-1 (https://aur.archlinux.org/zfs-dkms-git.git)

I have a striped zpool (/dev/sdb2 & /dev/sdc2), with Arch located on rpool/ROOT/arch. I could not boot from the root dataset, so I tried passing "linux" from the Grub command line, but got "bad magic number" error. I booted into Arch on ext4 and chrooted to the root dataset to try probing. ZFS is recognised, but with errors.

Output of below commands attached as files.
grub-probe-dev.txt (from host): grub-probe -vvvv --device /dev/sdc2
grub-probe-chroot.txt (from chroot of mounted rpool/ROOT/arch): grub-probe -vvvv /

Regards.

Zaphod <beeblebrox42>

 

Attached Files
file #39526:  grub-probe-dev.txt added by beeblebrox42 (249KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by beeblebrox42 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-22 beeblebrox42 Attached File- => Added grub-probe-dev.txt, #39526
        Attached File- => Added grub-probe-chroot.txt, #39527

    Back to the top


    Powered by Savane 3.3