.// CasjayHak

CasjaysDev Hack Site

Everything is Hackable!


Social Links:

ArchLinux-on-ChromeBook

ArchLinux on ChromeBook

Setup vmc

vmc destroy termina
vmc start termina; vmc start termina

Download the container

vmc container termina penguin https://us.images.linuxcontainers.org archlinux/current

Start the container

lxc start penguin

Enter into container

lxc exec penguin -- bash

Enable networking

dhcpcd eth0
systemctl disable systemd-networkd
systemctl disable systemd-resolved
unlink /etc/resolv.conf
touch /etc/resolv.conf
systemctl enable dhclient@eth0
systemctl start dhclient@eth0

Udpate packages

pacman -Syyu --noconfirm

Install packages

pacman -S --needed base-devel git sudo

Uncomment the following line: %wheel ALL=(ALL) ALL

nano /etc/sudoers

Setup user

NEW_USER="GMAIL_USER"
OLD_USER="$(grep 1000:1000 /etc/passwd|cut -d':' -f1)"
pkill -9 -u "$OLD_USER
groupmod -n $NEW_USER $OLD_USER
usermod -d /home/$NEW_USER -l $NEW_USER -m -c $NEW_USER $OLD_USER
passwd $NEW_USER
usermod -aG wheel $NEW_USER

Exit

exit

Re-enter container

lxc console pengiun

Install additional packages

pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git ~/.cache/yay; cd .cache/yay/; makepkg -si
yay -S cros-container-guest-tools-git

Enable services

systemctl --user enable sommelier@0.service sommelier-x@0.service sommelier@1.service sommelier-x@1.service

Reboot your chromebook



Written by casjaysdev on July 11, 2021 @ 22:10


Site Links:

External Links: