Pastebin

Paste #2410: chroot

< previous paste - next paste>

Pasted by tdn

Download View as text

mount -t proc proc /mnt/proc
mount -t sysfs sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -t devpts pts /mnt/dev/pts


mount /dev/sda1 /mnt/boot

# cp -L /etc/resolv.conf /mnt/etc/resolv.conf

chroot /mnt /bin/zsh


######### exit:
exit

umount /mnt/boot
umount /mnt/dev/pts
umount /mnt/dev
umount /mnt/sys
umount /mnt/proc
umount /mnt


New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.