This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dell_xps_15_9530 [2020/03/21 13:52] ben |
dell_xps_15_9530 [2020/03/21 14:00] ben |
||
---|---|---|---|
Line 99: | Line 99: | ||
* Reboot into freedos, select the '' | * Reboot into freedos, select the '' | ||
* It might also be necessary to disable Intel VTx, not confirmed; don't forget to re-enable after | * It might also be necessary to disable Intel VTx, not confirmed; don't forget to re-enable after | ||
+ | |||
+ | ===== ZFS root ===== | ||
+ | |||
+ | * Prepare the partition table manually | ||
+ | - BIOS boot for grub/mbr, 1M | ||
+ | - ext2 for /boot, 1G | ||
+ | - vfat for /efi, 1G | ||
+ | - zfs partition | ||
+ | - ext4 temporary filesystem for / during install | ||
+ | * Install sabayon to the ext4 partition at the end, but don't auto reboot at the end | ||
+ | * Create the '' | ||
+ | * Create the '' | ||
+ | * Set '' | ||
+ | * Set the mountpoints for each filesystem: <code bash> | ||
+ | zfs set mountpoint=/ | ||
+ | zfs set mountpoint=/ | ||
+ | zfs set mountpoint=/ | ||
+ | </ | ||
+ | * Mount the filesystems to arbitrary locations with: <code bash> | ||
+ | mkdir / | ||
+ | mount -o zfsutil -t zfs rpool/root / | ||
+ | mount -o zfsutil -t zfs rpool/ | ||
+ | mount -o zfsutil -t zfs rpool/ | ||
+ | </ | ||
+ | * Rsync the contents into the ZFS root: <code bash> | ||
+ | mkdir / | ||
+ | mount /dev/sda5 / | ||
+ | rsync -a / | ||
+ | </ | ||
+ | * Prepare dracut for zfs root booting: <code text / | ||
+ | add_dracutmodules+=" | ||
+ | </ | ||
+ | * Chroot into the zfs root filesystem and rebuild the initramfs: <code bash> | ||
+ | dracut -f / | ||
+ | </ | ||
+ | * Remove the temporary partition | ||
+ | * Add a swap partition at the very end of the disk | ||
+ | * Extend the zfs partition to fill the remaining space | ||
+ | * Reboot and pray | ||