zfsonlinux / pkg-zfs

Native ZFS packaging for Debian and Ubuntu
https://launchpad.net/~zfs-native/+archive/daily
308 stars 55 forks source link

zfs-initramfs is missing from ~zfs-native #186

Closed watercrossing closed 8 years ago

watercrossing commented 8 years ago

I can't boot from my zfs root as initrd does not contain the zfs and spl modules. These are not added to the initrd as the zfs-initramfs package has been removed from the ~zfs-native ppa. For now a workaround seems to add this ppa: https://launchpad.net/~zfsroot/+archive/ubuntu/initramfs, which contains the initramfs.

dajhorn commented 8 years ago

@watercrossing, this feature is discontinued.

watercrossing commented 8 years ago

Ok, but then how should I get the initramfs to include zfs and spl modules? Your guide at https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-14.04-or-Later-to-a-Native-ZFS-Root-Filesystem probably needs updating, as it just says do # update-initramfs -u.

dajhorn commented 8 years ago

Ok, but then how should I get the initramfs to include zfs and spl modules?

These drivers should not be loaded early because doing so often breaks automatic mounting. Past that, putting the modules into /etc/initramfs-tools/modules should get the desired result here.

Your guide at https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-14.04-or-Later-to-a-Native-ZFS-Root-Filesystem probably needs updating,

This document was created by ZoL end-users. Unfortunately, the features necessary for this solution are currently unsupported by both the PPA and by Ubuntu distribution.

dajhorn commented 8 years ago

This feature is now in scope for Ubuntu downstream, so I will close this ticket.