refacellular.blogg.se

Void linux wipefs
Void linux wipefs







Set the specific locale options in the /etc/nf Set the desired locales in the /etc/default/libc-locales and reconfigure the glibc package.# for i in /sys /dev /proc do echo "mounting $i." mount -rbind $i /mnt$i & mount -make-rslave /mnt$i echo "done!" done Mounting the pseudo-filesystems with rbind and rslave might be what is causing the zpool to be busy(?) Might check mounting with no recursion later Mount the pseudo-filesystems for chroot.# cryptsetup luksAddKey /dev/vda2 /mnt/boot/rootkey.bin # dd if=/dev/urandom of=/mnt/boot/rootkey.bin bs=512 count=4 Fetch Void Linux tarball and extract to target dir.# zpool set bootfs=zroot/ROOT/system zroot # zfs create -o mountpoint=/var zroot/VAR/var # zfs create -o mountpoint=/home zroot/home # zfs create -o mountpoint=/boot zroot/boot # zfs create -o mountpoint=/ zroot/ROOT/system # zpool create -f -R /mnt -O mountpoint=none -O relatime=on -O xattr=sa -O compression=on -O normalization=formD -o ashift=12 zroot /dev/mapper/cryptroot2 # head /dev/urandom | tr -dc a-f0-9 | head -c 13 > /etc/hostid Set hostid to avoid zfs thinking the pool is being imported by the wrong system.# parted -s -a opt /dev/mapper/cryptroot mkpart rootfs 1024MiB 100% # parted -s -a opt /dev/mapper/cryptroot mkpart swap 0% 1024MiB # parted -s -a opt /dev/mapper/cryptroot mklabel gpt

void linux wipefs

# cryptsetup luksOpen /dev/vda2 cryptroot # cryptsetup luksFormat -hash=sha512 -key-size=512 -cipher=aes-xts-plain64 -use-urandom /dev/vda2 # parted -s -a opt /dev/vda mkpart rootfs 513MiB 99% # parted -s -a opt /dev/vda set 1 boot on

void linux wipefs

# parted -s -a opt /dev/vda mkpart ESP fat32 1MiB 513MiB It may even end up working with some tweaks.

Void linux wipefs free#

Lastly, feel free to follow it at your own risk. I'm thinking into switching from rEFInd to grub, and change some things as to see if I'm making some mistake but I'll leave it for when I get some free time. Stopped some services and killed some processes but the zpool is still busy.

void linux wipefs

I tried checking it out with lsof and fuser, but everything seems okay. I still haven't been able to set this up as I didn't have time to look into what is exactly causing the zpool to be busy when I try to export it. It's not an easy setup, especially because I'm not as seasoned as I would like, but I've been having some fun with it - as well as pulling my hair out. Then some weeks ago I had the idea to test some new setups with Void and this one came to mind. Still, ever since I stumbled upon Void, I wasn't use any another Linux distro. Although I use VoidLinux as my workstation, I've been focusing only on *BSDs lately, namely OpenBSD and FreeBSD. It had been some time since I tried some Linux setups so here's my first one since I've set up my this git. Attention!!! This setup is still not working 100%.







Void linux wipefs