/ / Windows Ubuntu

Windows Ubuntu



, chntpw
echo "deb http://archive.ubuntu.com/ubuntu trusty main universe" >> /etc/apt/sources.list
apt-get update

sudo apt-get install chntpw

Windows win7

sudo mkdir /mnt/win7

mount /dev/sda2 /mnt/win7


«The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount».
The NTFS partition is in an unsafe state. Please resume and shutdown. Windows fully (no hibernation or fast restarting), or mount the volume

sudo ntfsfix /dev/sda2

Windows/system32/config, :

cd /mnt/win7/Windows/system32/config

sudo chntpw –u _ SAM