Closed aarcane closed 8 years ago
Not sure why grub.cfg comments became headings.. I apologize for any confusion this may cause.
@aarcane, I added triple back-ticks (```) so that the pasted information is properly formatted.
Perhaps the GRUB run-parts could be made smart enough to omit save_env
when /boot
is in a ZFS dataset.
The Debian GNU/Linux Wheezy snapshot/daily packages have had their initrd scripts almost completely rewritten so I can't see this as a problem in Debian GNU/Linux. Tagging appropriately.
ZoL initramfs features were deprecated and discontinued in the PPA, and partially continued downstream, so I will close this ticket.
This is a fresh install on the zfs mailing list, with only minor modifications. Everything works up until zfs-initramfs is supposed to take over and mount /root for me. Then I recieve the following error message:
command: mount -t zfs -o zfsutil - /root Message: filesystem - cannot be mounted, unable to open the dataset mount: mounting - on /root failed: no such file or directory Error: 1
Things I've tried: Verifying that zfs-initramfs is installed. it is. Running update-initramfs -c -k all verifying bootfs and mountpoint are set properly. They are. just typing in the PROPER mount command, which is: mount -t zfs -o zfsutil density/ROOT/ubuntu-1 /root; exit this works perfectly. Here's all the info I've been able to gather:
and finally, an e-mail I wrote to the zfsonlinux mailinglist describing my system prior to discovering this issue.
So last night I followed the guide at https://github.com/zfsonlinux/pkg-zfs/wiki/HOWTO-install-Ubuntu-to-a-Native-ZFS-Root-Filesystem almost verbatim, and made the following changes, and it worked flawlessly!
Mirror: My root pool is a mirror, so that works. USB: My root pool is configured as a mirror ashift=12: Ashift 12 works now for boot! GPT Partition Tables: I created two partitions on each drive, one for bios_grub and one for the rpool. had to mess with the alignment a bit to get it right. No /boot partition: I edited /etc/grub.d/00_header and placed a single # at the beginning of each line where the string "save_env" occurs. Everything works, and I can use userspace tools to configure boot behavior. Had to debug grub install: the *.mod files were never installed, I had to install them manually using the instructions in the Troubleshooting section. Manually mount the rpool after first boot: The rpool wasn't properly mounted or configured after reboot. I had to manually import it, and will manually update the initramfs before I shut it down. Not sure why, but once I imported and mounted the pool, everything was peachy [--EDIT FOR GITHUB: Obviously everyong was not quite peachy :( --]