1: 1 GB named boot REMEMBER TO FLAG THIS AS BOOT (choose x - xpert mode and then a - set attributes and set attriibute 2 ... Legacy Bios bootable)
2: 20 GB name xf86-64 root
3: remaingin disk as LVM
format both 1 & 2 as ext4
mount -t ext4 /dev/nvmen0n1p2 /mntmkdir /mnt/bootmount -t ext4 /dev/nvmen0n1p1 /mnt/bootsetup-disk -v -m sys /mntjust to make sure:
extlinux -i /mnt -udd bs=440 conv=notrunc count=1 if=/usr/share/syslinux/gptmbr.bin of=/dev/nvme0n1again - to make sure
cat /usr/share/syslinux/gptmbr.bin > /dev/nvme0n1reboot and check if system comes up with error about not being able to mount root... then use the procedure for updating initramfs
reboot and login.
NOW FOR SWAP.
create lvm from /dev/sda1 and /dev/sda2
dharra:~# pvcreate /dev/sda1 /dev/sdb1dharra:~# vgcreate dom0_swap /dev/sda1 /dev/sdb1dharra:~# lvcreate -l 100%FREE -n dharraSWAP dom0_swapmkswap /dev/dom0_swap/dharraSWAPswapon /dev/dom0_swap/dharraSWAPdharra:~# cat /proc/swaps ---->making this permanent in fstab
vi /etc/fstab
append the entry:
/dev/mapper/dom0_swap-dharraSWAP swap swap defaults 0 0
rc-update add lvm