Skip to content

Instantly share code, notes, and snippets.

View quentin's full-sized avatar

Quentin Sabah quentin

View GitHub Profile
@uglide
uglide / chroot.sh
Last active October 28, 2024 11:26
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