Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by pan64
yes, thanks.
You only need to create a directory like:
Code:
sudo mkdir -p /mnt/windows
sudo mount -t ntfs /dev/sda2 /mnt/windows
Getting closer
user@user-Extensa-5630:~$ sudo mount -t ntfs /dev/sda2 /mnt/windows
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
user@user-Extensa-5630:~$
I have switched it off twice now what do I need to do never knew about hibernation.
user@user-Extensa-5630:~$ sudo mount -t ntfs /dev/sda2 /mnt/windows
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
user@user-Extensa-5630:~$
I have switched it off twice now what do I need to do never knew about hibernation.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by bscho
Getting closer
user@user-Extensa-5630:~$ sudo mount -t ntfs /dev/sda2 /mnt/windows
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
user@user-Extensa-5630:~$
I have switched it off twice now what do I need to do never knew about hibernation.
Have solved it needed to go to windows command prompt and typed shutdown /s
ls works now in the windows but is not on the top of the tree it is in User
I want to go to C:\Windows\System32\config to edit the SAM file
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,496
Rep:
Quote:
Originally Posted by bscho
Thanks for your post.
with
cd /mnt/Windows/System32/config
No such file or directory
With Sudo I get
Sudo: cd: command not found
You don't need sudo with cd or pwd, you type them as your normal user.
Perhaps your permissions will let you change directory to your Windows config without the use of sudo(?), it's been a long time since I had any version of MS.
(Failing that, try changing into each Windows directory one at a time.)
I have instead taken a SAM without passwords and will switch it for those who have forgotten their passwords.
I have a disk that does erase the passwords but it has a problem if the Windows is hibernated.
I need to get over this problem.
Switch the Windows fast startup feature off altogether on the relevant Windows machines. Bootups will be slower but you won't be bothered by the issue of machines being in hybrid shutdown/hibernation state.
Setting HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power\HiberbootEnabled to 0 should do the trick.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.