Debian Wheezy, UEFI / EFI, GPT, RAID1, encryption, LVM, ZFS (zfs-on-linux)

Аватар автора
Комплектующие Революции
A detailed tutorial on installing Debian Wheezy (RC1, amd64) on two drives with RAID1 (mirror), with encryption, LVM and ZFS, using UEFI booting and GPT partition table. VMware player can be downloaded for free from VMware website. Edit *.vmx configuration file, add in: firmware = "efi" bios.forceSetupOnce = "TRUE" Using windows only because I need to experiment a bit with partitioning and stuff, before actually installing Debian on my 2 SSD drives. Also on my motherboard / graphic card, UEFI booting is working fully, and I am still trying to figure things out. I used VMware, because my normal choice for simple virtualization, VirtualBox / Debian, was unstable when using EFI booting. I am going to run Xen on that setup too, by the way. UPDATE: After updating video bios on my graphics card (Gigabyte Radeon 7970), everything started working perfectly. Virtualbox on the other hand still have some issues, GRUB menu in EFI mode, is very slow (need to few minutes). I finally installed it just as on the video. Still have 24GB left on LVM, for expansions of /var, /, etc. I however found 500-600MB for /boot may be sometimes to small if you are kernel developer and you are using debug kernels (otherwise I only can fit there 2 debug kernels). 2GB would be probably better. When doing zpool, add -O ashift=12, so it will use 4096 sectors, even if device or encrypted device lays about sectors. All other layers (luks, dm, lvm), should properly align embeded data. If you are using...

0/0


0/0

0/0

0/0