-
Notifications
You must be signed in to change notification settings - Fork 18
Fixes for issue #1441 #1
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
Fixes for issue #1441 #1
Conversation
+ gcc from 4.7 to 4.4. + libfuse-dev from 2.8.4-1.4 to 2.8.4-1.1.
results (as if device is a mirror), only take the first line/entry.
@FransUrbo, I pulled this into the snapshot branch and sent a trial build to ppa:zfs-native/staging. According to the commit logs, the dependencies on particular compilers were added for multilib support. |
@dajhorn ok fair enough. I'll just keep that part private then. |
* grub-pc-bin provides zfs-grub-pc-bin
Hi! I'm playing around to run Ubuntu (raring) on ZFS root. But I stuck in many problems with Grub2. My way to install a basic system are this tutorials: Only difference: I use Grub version 2.00-13ubuntu3+zfs3raring and a mirrored pool named datpool. couldn't find a valid label After that I'm in a busy box shell. Error message: Command: zpool import -f -N rpool Yes, my pool is "datpool" After entering the import by hand: zpool import -d /dev/disk/by-id -f -N datpool and exit: I get the next error: cannot open 'rpool': no such pool Manually mount... It is possible to import the pool and mount the pool by hand (3*exit and I can login). If I look into the environment with "set" I can't find the bootfs variable. I can find two a root and a ROOT variable, but nowhere rpool as value or bootfs as variable name. It is not possible to set own varaibles. Any try to set a variable like this: set bootfs=datpool/ROOT/ubuntu-1 results in _=rpool=datpool/ROOT/ubuntu-1 IMHO a bug in the Grub2 shell? Manipulating the Ubuntu-Menu entry with "e" and replacing the $bootfs with my filesystem doesn't work (same errors) My grub.cfg shows this line: linux /ROOT/ubuntu-1@/boot/vmlinuz-3.8.0-19-generic root=ZFS=datpool/ROOT/ubuntu-1 ro boot=zfs $bootfs quiet splash $vt_handoff IMHO this is a correct syntax (but I miss a / before the @ - could be ok). |
This parameter syntax is from the GRUB trunk, or at least a build release that happened after Ubuntu 13.04, so the ancillary packages for Raring don't recognize it. My interest in releases after Ubuntu 12.04 LTS is low, but a contributed update for the current series would certainly be welcome. The logic should be moved from the |
This is, what I get if I using ppa:zfs-native/stable and ppa:zfs-native/grub
Is there any workaround? |
Okay, then this is a new bug assuming that the packages are not mismatched.
Force the pool name and root dataset on the Linux command line in the In the past week, a few other people have reported a new |
Absolute fresh installation. Three times with different drives, pool names, VM ;-) Ok, I'll test it. Thank you. |
@dajhorn Thank you, now the system boots from zfs root. Only the "couldn't find a valid label" is visible (and waits few seconds) but after that I can immediately login. |
The issue where hijacked somewhere in the middle, but the original issue have been resolved so closing this. |
Commit fddc52e is dajhorns, and 2026859 is my addition.
To make it build on Debian GNU/Linux Squeeze, I added 690c44a - gcc v4.7 is just not necessary.
To make it work on my system, I added 8ccc6b2 which only takes ONE entry if 'grub-probe -t device /' returns multiple entries (as it does on my system which have a mirror root). This might not be the best/correct solution, but without it, I'll get a double entry in grub.cfg:
Yes, there's a newline after 'sda1'.