Mounting a hibertnated Windows partition.

Asked by The Blob on 2008-09-26

Hey. I have Windows 2000 installed on my computer, and when I last used it, I put it in HIbernate mode. Now, for some reason, Windows wont start, so I got a copy of Ubuntu so I could get all my files off the hard disk. But since Windows was last Hibernated, I keep getting this message: "Windows is hibernated, refused to mount. Failed to mount 'dev/sda1': operation not permitted. NTFS partition is hibernated. Resume and shut down Windows properly, or mount volume read-only with 'ro' mount option, or mount volume read-write with the 'remove_hiberfile' mount option. For example, type on the command line: mount-tntfs-3g/dev/sda1/media/localdisk/-oremove_hiberfile." What does all this mean to do? What do I type, where do I type it, etc.BE SPECIFIC, PLEASE! I just need to access the hard drive so I can copy my files from Windows to a flash drive. Can I do this from the Live CD? Thanks guys for any help or advice you can give me.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-mount Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
2008-09-26
Last query:
2008-09-26
Last reply:
2008-09-26
Best Wyatt Smith (wyatt-smith) said : #1

Boot from the LiveCD and when you get to the desktop. Open a Terminal from Applications-> Accessories-> Terminal and type the following commands

sudo mkdir /media/windows
sudo mount -t ntfs-3g /dev/sda1 /media/windows -o ro

This will mount your windows drive with read only privileges. You will be able to copy file from it but not write anything to it.

Hope this helps

Wyatt Smith (wyatt-smith) said : #2

If you are still denied access to the drive you should use the following command

sudo mount -t ntfs-3g /dev/sda1 /media/windows -o remove_hyberfile

Good Luck

OMG thank you SOOOOO MUCH!!! For months I've been trying to figure out how to do this! Now I can save my files! YAY! Thanks for taking the time to read my question. Really.

                                                   The Blob

Cosmopoet (jvoldeck) said : #4

Hello Blob,

I was looking for an answer to this very question and this is the closest that i have come. HOwever I am attempting to do this with an Laptop hardrive that went into Hibernation and could not boot again because of power issues.So I shoved it into a USB case and plugged it in. I do not know how to access this drive as all it shows up as is a 80.0 GB MEDIA drive in the Root home folder to the left.

Can you please direct me as to how to access this HD?

Thanks
Joseph

Did you try what was mentioned? What worked for me was I booted into Ubuntu (From the live CD) and clicked Applications-Accessories-Terminal. Once Terminal is opened, type:         sudo mkdir /media/windows

Press Enter. It will seem like it didn't do anything, but now just type in:

                                sudo mount -t ntfs-3g /dev/sda1 /media/windows -o ro

Then open the My Computer folder and you should be able to access it. This is what worked for me, but I'm not sure if it will work for you. And once I typed in these commands in Terminal, my hard drive  automatically mounts so I can access it. Let me know how it works out. Sorry if it doesn't work.                               ~Alex (AKA The Blob)~

--- On Thu, 10/2/08, Cosmopoet <email address hidden> wrote:
From: Cosmopoet <email address hidden>
Subject: Re: [Question #46362]: Mounting a hibertnated Windows partition.
To: <email address hidden>
Date: Thursday, October 2, 2008, 7:57 PM

Your question #46362 on gnome-mount in ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/gnome-mount/+question/46362

Cosmopoet posted a new comment:
Hello Blob,

I was looking for an answer to this very question and this is the
closest that i have come. HOwever I am attempting to do this with an
Laptop hardrive that went into Hibernation and could not boot again
because of power issues.So I shoved it into a USB case and plugged it
in. I do not know how to access this drive as all it shows up as is a
80.0 GB MEDIA drive in the Root home folder to the left.

Can you please direct me as to how to access this HD?

Thanks
Joseph

--
You received this question notification because you are a direct
subscriber of the question.

Cosmopoet (jvoldeck) said : #6

Hello Alex,

Thanks for the help! I will give this a try tomorrow. I will report back too.

<smile>

Joseph

Cosmopoet (jvoldeck) said : #7

Hello Again,

I wanted to know how do I know which hardrive is the one to mount e.g. sd1 sdc1 ??

this is attached via USB not IDE or SATA

thanks
Joseph

Cosmopoet (jvoldeck) said : #8

Thank you The Blob,

I was able to access the drive and remove my lost data.

Cosmopoet

i hope this works... :)
here is what happened to me, i put my computer in hibernation booted up in ubuntu live CD wiped a partition which held ubuntu and now the Dual boot doesn't work "Error 15", i was tying to get ride of it... i guess we all make mistakes :)
so i really hope i can copy all my stuff to my eternal hard drive and start new