Sunday, April 6, 2014

Chrooting -- Changing Password of linux.

mount /dev/sda1 /mnt

then

chroot /mnt

then

passwd root

sometimes chroot /mnt may bot work due to your partition schema or just could not find zch or bash and in such case you could run

chroot /mnt /bin/bash

No comments:

Post a Comment