Skip to content

Instantly share code, notes, and snippets.

View ceramicheights's full-sized avatar

ceramicheights

View GitHub Profile
@uglide
uglide / chroot.sh
Last active August 26, 2024 16:56
Chroot to Installed system on LVM
#!/bin/bash
fdisk -lu
pvscan
vgscan
vgchange -a y
lvscan
mount /dev/ubuntu-vg/root /mnt
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc