zfsonlinux / pkg-zfs

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

installing ZFS using the LiveCD on Xenial? #188

Closed devekko closed 8 years ago

devekko commented 8 years ago

excuse my ignorance, I am trying for the ZFS root Ubuntu install from a USB drive with the Xenial Desktop LiveCD ISO

but when I drop into command line while in the LiveCD for Xenial after adding the Universe sources on bare-metal I am able to open a terminal and run

$ sudo apt-get install zfsutils-linux zfs-initramfs zfs-dkms
$ sudo modprobe zfs

but the install stalls as this is a LiveCD and it wont let me install the zfs module etc

no doubt I am missing something obvious

how do I drop into shell from the "disk" screen in Ubiquity?

thanks

kernelOfTruth commented 8 years ago

Please ask on the zfsonlinux IRC channel on freenode or a forum with knowledgeable users that also went to install ZFS root for Ubuntu, or at least open an entry at https://github.com/zfsonlinux/zfs/issues

this issue tracker is for: "Native ZFS packaging for Debian and Ubuntu"

so not really related/suited for your issue

devekko commented 8 years ago

no problem

I posted here because of this wiki page https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-16.04-to-a-Native-ZFS-Root-Filesystem

THANKS

kernelOfTruth commented 8 years ago

@devekko

Alright, leave it here, then

I'm sure the maintainers, owners will complain if it doesn't fit in here ;)

please note that it clearly says:

"in progress"

so some parts might be missing yet,

you could, however, ask the authors of the wiki, who can be found,

when pushing the "Edit" button and then on "Page History"

under "Revisions"

To answer your question.

usually the install should involve a step where you update the initramfs,

which seems to be missing in the guide (or it's done automagically ?) by quickly glancing over it

anyway:

compare the wiki entry against:

http://linoxide.com/ubuntu-how-to/configure-ubuntu-14-04-to-a-native-zfs-root-filesystem/

https://www.reddit.com/r/zfs/comments/3qinlh/native_zfs_root_on_ubuntu_1510/

and a little asking on IRC might get you to your goal of having a working installation

grub might however be a hurdle, so keep lilo in mind as an alternative

dajhorn commented 8 years ago

Please try the Xenial dailies:

This ticket, which was closed today, suggests that Ubuntu 16.04 LTS could ship with ZoL binaries:

devekko commented 8 years ago

hi, again

thanks for all this

I am testing on a lab box with the desktop edition of the xenial dailies and looking in ubiquity for zfs option, its not there

however, thats fine, pretty sure I can install the OS the standard way and then drop into shell etc and install zfs for the formerly raid drives only. ... its not a root install, but, less complicated for me I think

trying to remember where I saw the ZFS option screenshot in ubiquity... somewhere on a blog

thorerik commented 8 years ago

What I've found from testing: You have to enable universe repo in /etc/apt/sources.list and install the tools.

Ubiquity does not recognize ZFS an installable partition type, so best approach for now is probably to install and migrate over.

devekko commented 8 years ago

thanks for the update

kmatt commented 8 years ago

Ubiquity does not recognize ZFS an installable partition type

Should this be a GH issue here, or elsewhere? An issue search on this project did not show anything open or closed.

devekko commented 8 years ago

do you want me to make an issue on Launchpad?

kmatt commented 8 years ago

@devekko If that gets it on the development radar, please! Bootable ZFS on root would be a great feature, as with FreeBSD 10.

dajhorn commented 8 years ago

This feature was deferred downstream in the Ubuntu 16.06 LTS release, I will close this ticket.

It follows that anybody wanting improved root-in-ZFS support should report issues against the Yakkety dailies and put the metoo flag on tickets at Launchpad.

kmatt commented 8 years ago

@dajhorn Is that deferred downstream in the Ubuntu 16.04 LTS release ? In other words support for ZFS in the installer is not currently targeted in a specific release?

dajhorn commented 8 years ago

@kmatt, this feature doesn't appear in any public roadmap document for Ubuntu.

Note that manually installing to a ZFS root is still possible. (@rlaager is updating tutorial documentation in various places.)

rlaager commented 8 years ago

@kmatt https://github.com/rlaager/zfs/wiki/Ubuntu-16.04-Root-on-ZFS