LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-07-2011, 10:05 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
NTFS hibernated partition: what is it?


Hi: Can somebody tell me what an NTFS hibernated partition is? Google is full of references but nobody explains what it is. I found it in this context:
Code:
   14         The NTFS partition is  hibernated.  Use  the  'remove_hiberfile'
              ntfs-3g  mount  option  to be able to read-write mount such vol-
              umes.
 
Old 10-07-2011, 10:19 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
It seems pretty clear. It's a windows NTFS partition which has been hibernated - thus you won't be able to mount it as read/write. If you have windows on another partition, rebooting into that and shutting down properly should clear it, or you can force mount it with the remove_hiberfile option.
 
Old 10-07-2011, 10:33 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
I see. I remember windows offers several options when one wants to shutdown. One of them is "Hibernate", or something like that. But what exactly is hibernation? And in what way is it useful to the user? I mean, what is the idea.
 
Old 10-07-2011, 10:43 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Hibernation in basic terms means dumping memory to disk and shutting down. When you boot up again the image is reloaded into memory and in theory you get a faster boot plus everything is exactly as you left it, same windows open, same files open, etc, etc.

Different operating systems do it differently. Windows uses a "hiberfile.sys" (presumably in the same vein as "pagefile.sys"), *nix systems just use swap as far as I know. For me it's not that useful - hence I never use it, to others (e.g. laptop users on the move) it might be.

Last edited by cynwulf; 10-07-2011 at 10:48 AM. Reason: laptop users
 
Old 10-07-2011, 11:23 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank you very much for the explanation.
 
Old 10-08-2011, 05:25 AM   #6
DJ Shaji
Member
 
Registered: Dec 2004
Location: Yo Momma's house
Distribution: Fedora Rawhide, ArchLinux
Posts: 518
Blog Entries: 15

Rep: Reputation: 106Reputation: 106
I don't know about how Windows hibernates, but I wouldn't touch a hibernated partition, let alone mount it read-write, if I were you. And especially, messing around with an NTFS partition is not a good idea on any day; Windows' file systems aren't exactly known for their resilient data protection and recovery.
 
Old 10-08-2011, 06:19 AM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
This is very bad news. For I have just install FUSE and NTFS-3G and was very happy with it.
 
Old 10-08-2011, 11:37 AM   #8
SigTerm
Member
 
Registered: Dec 2009
Distribution: Slackware 12.2
Posts: 379

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by caravel View Post
and in theory you get a faster boot plus everything is exactly as you left it, same windows open, same files open, etc, etc.
Correction: you get faster boot in practice. 5..10 seconds is normal.

Quote:
Originally Posted by DJ Shaji View Post
And especially, messing around with an NTFS partition is not a good idea on any day; Windows' file systems aren't exactly known for their resilient data protection and recovery.
Incorrect, NTFS is virtually indestructible, unlike ext3fs that triggers massive disk check after a power failure.

Quote:
Originally Posted by stf92 View Post
This is very bad news. For I have just install FUSE and NTFS-3G and was very happy with it.
As far as I know, ntfs-3g had a habit of making a mess on ntfs sometimes - i.e. using ntfs-3g for prolonged period accumulates small errors on ntfs volume (nothing critical - lost space free, small "security" errors, plus you could make file with special characters in filename that will be inaccessible on windows machine), so you have to boot windows sometimes and run chkdsk on shared partition, if you use ntfs-3g. For hibernated partition, boot into windows and shutdown it properly. Or try sharing non-system partition.

Last edited by SigTerm; 10-08-2011 at 11:43 AM.
 
Old 10-08-2011, 04:30 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Thank you very much for your advice. As to the shared partition, it is one that does not contain any OS. I use as kind of a storage place.

It is a pity that windows OSs do not understand ext2 or ext3. It would be a courtesy on the part of MS to devise such a thing, given that Linux understands FAT and NTFS FSs. Specially considering that so many people runs both OSs in there machines.
 
Old 10-08-2011, 05:02 PM   #10
SigTerm
Member
 
Registered: Dec 2009
Distribution: Slackware 12.2
Posts: 379

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by stf92 View Post
It is a pity that windows OSs do not understand ext2 or ext3.
There's ext2ifs. Install it in read-only mode and live happily ever after.

Quote:
Originally Posted by stf92 View Post
It would be a courtesy on the part of MS to devise such a thing,
They aren't obliged to do that which means they won't do it unless there's huge demand.
Also cross-platform volume sharing normally violates security on both system. ntfs-3g allows you to view every file on windows from linux. ext2ifs allows you to view every file on linux system from windows.
 
Old 10-08-2011, 08:08 PM   #11
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by SigTerm View Post
Correction: you get faster boot in practice. 5..10 seconds is normal.
I said "in theory" because I've never used it personally.
 
Old 10-09-2011, 02:35 PM   #12
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by SigTerm View Post

As far as I know, ntfs-3g had a habit of making a mess on ntfs sometimes - i.e. using ntfs-3g for prolonged period accumulates small errors on ntfs volume (nothing critical - lost space free, small "security" errors, plus you could make file with special characters in filename that will be inaccessible on windows machine), so you have to boot windows sometimes and run chkdsk on shared partition, if you use ntfs-3g. For hibernated partition, boot into windows and shutdown it properly. Or try sharing non-system partition.
I have just began to use ntfs-3g. Following your advice, I booted Windows and ran CHKDSK. It produced the following output, besides the log file:
Code:
Running CHKDSK in read-only mode.

CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Index verification completed.
CHKDSK is verifying security descriptors (stage 3 of 3)...
Security descriptor verification completed.
Correcting errors in the Volume Bitmap.
Windows found problems with the file system.
Run CHKDSK with the /F (fix) option to correct these.

  19535039 KB total disk space.
   3557588 KB in 19986 files.
      5000 KB in 1775 indexes.
         0 KB in bad sectors.
     90211 KB in use by the system.
     65536 KB occupied by the log file.
  15882240 KB available on disk.

      4096 bytes in each allocation unit.
   4883759 total allocation units on disk.
   3970560 allocation units available on disk.
What is the danger if I run CHKDSK /F, could you tell me?
 
Old 10-11-2011, 01:31 AM   #13
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
Just do it.
 
Old 10-11-2011, 02:59 AM   #14
SigTerm
Member
 
Registered: Dec 2009
Distribution: Slackware 12.2
Posts: 379

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by stf92 View Post
What is the danger if I run CHKDSK /F, could you tell me?
/F fixes all disk errors automatically. As far as I know, I haven't lost data on my machine because of chkdsk /F (I usually use "chkdsk /F /V", though), but I cannot guarantee anything. I'd advise to "just do it".

Last edited by SigTerm; 10-11-2011 at 03:00 AM.
 
Old 10-11-2011, 04:55 AM   #15
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
If it was my system I would "just do it".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ran mkfs.vfat over top ntfs partition... any way to restore ntfs partition info? oryan_dunn Linux - Hardware 8 10-14-2010 06:08 PM
Could another distro mess an hibernated linux? Fenchurch Linux - Newbie 6 11-01-2009 12:02 PM
Fat32 partition changes not reflecting when Windows is hibernated. dtheorem Linux - General 1 02-15-2009 03:07 PM
"Hibernated" NTFS partition RN87 Linux - General 4 09-23-2007 08:00 AM
NTFS-3g isn't mounting my NTFS partition... Necronomicom Slackware 4 03-02-2007 03:04 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration