Notes by Peter Galonza(Пётр Галонза)
GitHub Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Install from LiveOS

Load with LiveOS

Mount root partiotion

mkdir /mnt/root
mount /dev/*/root /mnt/root

Download ISO image of linux distribution in /mnt/root

Mount the ISO image

mkdir /mnt/iso
mount /mnt/root/<image name>.iso /mnt/iso

Mount IMG image

mkdir /mnt/img
mount /mnt/iso/*/<image name>.img /mnt/img

Copy files of root file system for temporary environment

cp -rf /mnt/img/* /mnt/root

Mount virtual file systems

mount --rbind /sys /mnt/root/sys
mount --rbind /proc /mnt/root/proc
mount --rbind /dev /mnt/root/dev

Enter in chroot

chroot /mnt/root /bin/bash

Install packages, grub

Configure fstab