PDA

View Full Version : [ubuntu] strange things with files on a shared ntfs data disk on a dual boot system



wbloos
June 20th, 2011, 11:14 AM
When i work in Ubuntu on a dual boot system with a shared NTFS data-partition where Windows is hibernated, and then reboot and continue working in Windows from the hibernated sesion, strange things happen.

Files disappear, files that i worked on suddenly have the content of another file.

It is not very surprising to me that this might go wrong. Just be warned.
Maybe there is even a way to reproduce this properly and fix it.

Mark Phelps
June 21st, 2011, 02:18 PM
I believe that what happens, when you Hibernate MS Windows, is it makes a copy of stuff and saves it -- so it can restore the state of the machine when it "wakes up".

If that is true, changes you make to the files while Windows is hibernated are likely to be undone when it returns.

buckeyered80
June 21st, 2011, 02:26 PM
That is odd. How does it stay in hibernation when you boot into Ubuntu? Usually I have to restart Windows to get to my grub screen and boot into Ubuntu, so Windows is not able to be in hibernation while I am in Ubuntu. How does that work for you?

FormatSeize
June 21st, 2011, 05:11 PM
How does that work for you?
This is the same thing I was wondering. I always thought when you reboot, the whole disk goes down and comes back up.

wbloos
June 27th, 2011, 08:50 AM
I use windows xp professional.
Maybe you [that's asking how does it reboot into ubuntu] are using a different version of windows?
There's nothing particular to it. I just reboot, and grub shows.

cheers

wbloos
June 27th, 2011, 08:56 AM
I believe that what happens, when you Hibernate MS Windows, is it makes a copy of stuff and saves it -- so it can restore the state of the machine when it "wakes up".

If that is true, changes you make to the files while Windows is hibernated are likely to be undone when it returns.

Well, that would be half as bad.
I think i corrupted my NTFS File Table with this.
I did a scandisk and lost a couple of files and a directory. I think i was lucky.