Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem EL7 (CentOS RHEL) to a Native ZFS Root Filesystem #228

Open
fernando-garcia-torre opened this issue Mar 7, 2019 · 4 comments
Open

Comments

@fernando-garcia-torre
Copy link

I have a problem after trying to install the system.
System:
3.10.0-957.5.1.el7.x86_64
CentOS Linux release 7.6.1810 (Core)

software:
kmod-spl.x86_64 0.7.13-1.el7_6 @zfs-kmod
kmod-zfs.x86_64 0.7.13-1.el7_6 @zfs-kmod
libnvpair1.x86_64 0.7.13-1.el7_6 @zfs-kmod
libuutil1.x86_64 0.7.13-1.el7_6 @zfs-kmod
libzfs2.x86_64 0.7.13-1.el7_6 @zfs-kmod
libzpool2.x86_64 0.7.13-1.el7_6 @zfs-kmod
spl.x86_64 0.7.13-1.el7_6 @zfs-kmod
zfs.x86_64 0.7.13-1.el7_6 @zfs-kmod
zfs-dracut.x86_64 0.7.13-1.el7_6 @zfs-kmod
zfs-release.noarch 1-6.el7 installed

When i restart i have this message: "unaligned pointer 0xf000ff53"
before reaching the menú of grub

@fernando-garcia-torre
Copy link
Author

this is my menuentry:

menuentry 'CentOS Linux (3.10.0-957.5.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class o$
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod zfs
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gp$
else
search --no-floppy --fs-uuid --set=root (null)
fi
linux16 /ROOT@/boot/vmlinuz-3.10.0-957.5.1.el7.x86_64 root=ZFS=(null)/ROOT ro crashkernel=auto rd.lvm.lv=cen$
initrd16 /ROOT@/boot/initramfs-3.10.0-957.5.1.el7.x86_64.img

@gordan-bobic
Copy link

This part looks broken:

root=ZFS=(null)/ROOT

@cf-sewe
Copy link

cf-sewe commented Aug 20, 2019

I did following workaround: /etc/grub.d/10_linux change the rpool= line 63 and hardcode the poolname of your root pool

Was not able to find a proper solution anywhere...

@Ryushin
Copy link

Ryushin commented Aug 20, 2019

grub_10_linux.patch.txt

I attached my 10_linux patch that I used for Debian/Devuan. It relies on the bootfs parameter in your root pool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants