-
Notifications
You must be signed in to change notification settings - Fork 18
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
update-grub gets confused when other pools are created before rpool #20
Comments
The first time I did not enable the boot bit on /dev/sdc2 (the rpool) but enabled it the 2nd try. |
this is cirdan on irc, btw 👍 |
From earlier conversation on IRC:
|
Oh, it was recommended to rename mir-300gb/ROOT/home-1 to mir-300gb/home, so that was done just before the export |
Note to self: The issue is most likely with the fact that the root pool needs to be first for |
this was the output of the first update-grub, when it was not finding the rpool. /home/rootfs had a backup of the boot drive and that was getting discovered: Generating grub.cfg ... |
debian 7.8 stable
zfs & tools from debian repo
grub 2.01-22debian1+zfs3-0.6.3-2
wheezywheezyzfs 0.6.3-1
I created a zfs mirror pool, mounted on /home
I then partitioned a drive with 6gb swap and remaining space as zfs root pool, with a mount point at /
temp mounted under /mnt
copied root partition to zfs root, chrooted into it, and ran grub install & update-grub
update-grub ran but only found linux images on the /home zpool and current boot drive
exported both pools, then imported rpool, then home pool.
chroot into rpool and update-grub found the correct images.
lz4 was enabled at pool creation, grub booted into it without issue
bios mode used, not EFI
The text was updated successfully, but these errors were encountered: