Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Talk:ZFS as Root Filesystem"

From Funtoo
Jump to navigation Jump to search
m
m (Drobbins moved page Talk:ZFS Install Guide to Talk:ZFS as Root Filesystem: renaming to make it seem less like official documentation)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The .iso files will not install on to a USB Stick. When extracting there appears to be a name not compatible with FAT32 sticks, resulting in error -1009 'can not extract'.
== LUKS? ==
See http://forums.funtoo.org/topic/41-pure-uefi-luks-zfs/?p=5200 --[[User:Nikosalexandris|Nikosalexandris]] ([[User talk:Nikosalexandris|talk]]) 15:07, November 26, 2016 (UTC)


I'll check .iso USB creation
== initramfs move ==
Oleg.
the initramfs move (rename) does not seem a necessary step? to update the grub.cfg, so that is GRUB will see newly named initramfs, running grub-mkconfig would be better. And name should not be relevant, then. Oleg.


This is under re-write progress and will use only genkernel based installs as it officially shipped by Funtoo. All alternative ways are very much supported and appreciated but should be in their corresponding pages to make guides modular. Keeping 3-4 alternatives in one guide often leads to uncertain results.
== Comments on the Installation Guide ==
Oleg.
A few points regarding the new instructions of the "ZFS Install Guide" (by [[User:Nikosalexandris|Nikos Alexandris]]):


Cross-referenced ZFS Fun with this guide and vice versa. -- 404
- using the suggested ubuntu version, and after adding enabling the universe repository sources, poses a (minor) problem when trying to update. The proble and the solution described at http://askubuntu.com/q/761592/48282.
* Added to Troubleshooting. [[User:Tassietux|Tassietux]] ([[User talk:Tassietux|talk]]) 11:23, November 2, 2016 (UTC)


2015-05-12 gkn: So, I have spent some days of nightmares ;-) trying to install funtoo on zfs. I was so keen that I documented the basic steps. It may be still improved, as I am not for 100% sure of the order and some minor configuration issues ...
- `grub-install /dev/disk/by-id/ata-...` failed for me initially. The newly created partition, after `sgdisk -a1 -n2:48:2047 -t2:EF02 -c2:"BIOS boot partition" /dev/disk/by-id/ata-...`, was not present under `/dev/` as `sda2`. The "fix" was
1. re-read the partition table without rebooting, i.e. `partx -u /dev/sda`.
2. re-emerge grub to support for i386_pc -- if I remember well... `USE="i386_pc" emerge -av grub`.
* partx -u /dev/sda added to guide. [[User:Tassietux|Tassietux]] ([[User talk:Tassietux|talk]]) 11:23, November 2, 2016 (UTC)
 
- Although all of the rest seem(ed) to be ok (ie  GRUB 2 support for ZFS, verification of existence of `/boot/grub/i386-pc/zfs.mod`), trying to (re-)boot, fails at the step of importing the zpool.  The zpool failed, initially to be exported. I re-booted the live USB stick, chrooted all the way from the scratch, exited, exported the zpool successfully. Still no success to boot.
* Have you seen http://www.funtoo.org/index.php?title=ZFS_Install_Guide#Will_not_mount_on_first_reboot.3F ? This may help you find what went wrong. [[User:Tassietux|Tassietux]] ([[User talk:Tassietux|talk]]) 11:23, November 2, 2016 (UTC)
 
* Problem resolved, I guess something to do with re-compiling the ZFS modules. --[[User:Nikosalexandris|Nikosalexandris]] ([[User talk:Nikosalexandris|talk]]) 15:07, November 26, 2016 (UTC)

Latest revision as of 13:27, September 20, 2019

LUKS?

See http://forums.funtoo.org/topic/41-pure-uefi-luks-zfs/?p=5200 --Nikosalexandris (talk) 15:07, November 26, 2016 (UTC)

initramfs move

the initramfs move (rename) does not seem a necessary step? to update the grub.cfg, so that is GRUB will see newly named initramfs, running grub-mkconfig would be better. And name should not be relevant, then. Oleg.

Comments on the Installation Guide

A few points regarding the new instructions of the "ZFS Install Guide" (by Nikos Alexandris):

- using the suggested ubuntu version, and after adding enabling the universe repository sources, poses a (minor) problem when trying to update. The proble and the solution described at http://askubuntu.com/q/761592/48282.

  • Added to Troubleshooting. Tassietux (talk) 11:23, November 2, 2016 (UTC)

- `grub-install /dev/disk/by-id/ata-...` failed for me initially. The newly created partition, after `sgdisk -a1 -n2:48:2047 -t2:EF02 -c2:"BIOS boot partition" /dev/disk/by-id/ata-...`, was not present under `/dev/` as `sda2`. The "fix" was 1. re-read the partition table without rebooting, i.e. `partx -u /dev/sda`. 2. re-emerge grub to support for i386_pc -- if I remember well... `USE="i386_pc" emerge -av grub`.

  • partx -u /dev/sda added to guide. Tassietux (talk) 11:23, November 2, 2016 (UTC)

- Although all of the rest seem(ed) to be ok (ie GRUB 2 support for ZFS, verification of existence of `/boot/grub/i386-pc/zfs.mod`), trying to (re-)boot, fails at the step of importing the zpool. The zpool failed, initially to be exported. I re-booted the live USB stick, chrooted all the way from the scratch, exited, exported the zpool successfully. Still no success to boot.

  • Problem resolved, I guess something to do with re-compiling the ZFS modules. --Nikosalexandris (talk) 15:07, November 26, 2016 (UTC)