Skip to content

Instantly share code, notes, and snippets.

@Disassembler0
Created July 29, 2017 17:10
Show Gist options
  • Save Disassembler0/abefe817b7a7920b9296a31628a52404 to your computer and use it in GitHub Desktop.
Save Disassembler0/abefe817b7a7920b9296a31628a52404 to your computer and use it in GitHub Desktop.
mount /dev/mapper/vg0-root /mnt
mount /dev/sda1 /mnt/boot
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
chroot /mnt
blkid
vi /etc/fstab
update-initramfs -u
update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment