LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-17-2007, 05:18 PM   #1
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Rep: Reputation: 16
Booting into Linux while windows is in Hibernate


If I boot into Linux while Windows is in Hibernate, will it hurt anything?

If anyone is wondering, I can boot into Linux without a bootloader by hitting F12 during bootup.
 
Old 12-17-2007, 05:51 PM   #2
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
Interesting question. It surely all depends on where Windows is keeping it hibernation information. If you are not overwriting this info you should be fine.

The only way that I can see that this could cause any problems is if you are sharing a swap partition between windows and linux.

Give it a try, tell us how it turns out.

Steve
 
Old 12-17-2007, 06:08 PM   #3
migm
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by smbell100 View Post
Interesting question. It surely all depends on where Windows is keeping it hibernation information. If you are not overwriting this info you should be fine.

The only way that I can see that this could cause any problems is if you are sharing a swap partition between windows and linux.

Give it a try, tell us how it turns out.

Steve
I do this all the time, it's no worries.. this is why you install on different partitions
 
Old 12-17-2007, 08:48 PM   #4
gamewolf
Member
 
Registered: Jun 2007
Distribution: Debian Sid, Slackware 13.37
Posts: 204

Original Poster
Rep: Reputation: 16
Ok, They are all on totally different partitions (on different hds for that matter). I tried it and it works fine! Thanks.
 
Old 12-19-2007, 07:53 PM   #5
linux_wannabe
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Don't!!!

Hi all, I happened to read this post... Do not do that if -as you probably do- you share a document partition between the 2 OSs... win doesn't unmount the partitions, and writing one of those partitions with linux will mess up the filesystem... believe me... I learnt it on my own experience!

Now the question is: does anyone know a way to check with linux if the filesystem is still open under windows?
If this is possible, would be possible to make a small script to choose automatically whether to mount a filesystem with ro option or rw.

Bye,
Fabrizio
 
Old 12-20-2007, 04:37 AM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
It is a joke!

If Windows is booted the it is not hibernating at all.

I believe the OP Windows and Linux are on separate disks and the F12 is just a switch to boot different booting devices.

Proof of the puddling is in the eating, right? Since Linux can mount every Windows partition (and write it too if ntfs-3g is loaded) so Windows cannot be hibernating if its filing system is being read or written. Remember the Linux can be a Slax which is shipped with ntfs-3g preloaded, automount every Windows partition and write on it no different to any Linux own partition in the desktop. This is because if you can write a Windows partition you can delete it. Can a Windows permit its own destruction while hibernating?, come on guys.

Using F12 is to avoid using the boot loader to do the switching. It is like taking a taxi and tell the driver where you want to go without knowing the way. Using a boot loader to boot different systems is like driving a 4x4 vehicle yourself. It can take you to terrains that a taxi driver will not dare to enter.

Last edited by saikee; 12-20-2007 at 04:42 AM.
 
Old 12-20-2007, 05:11 PM   #7
smbell100
Member
 
Registered: Sep 2007
Location: Shetland, UK
Distribution: Slackware, Mandrake, LFS
Posts: 59

Rep: Reputation: 16
I' not sure I understand this post.

On my computer I can read windows partitions without booting windows. I can't boot windows as it doesn't exist on my machine.

I think the problem referred to by linux_wannabe above is the case where a machine is hibernated with an open file (say a word document that is being worked on). I can see how this could cause problems, as modifying this file under Linux and then waking windows again would lead to anomalies, depending upon exactly what information is written out by windows when hibernating.
 
Old 01-01-2008, 12:08 AM   #8
linux_wannabe
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Right smbell100, this is exactly what I meant... if you have any unsaved file it will cause problems, or any temporary file (like cache of some sw, etc)... linux+hibernated-windows created few problems to me in past, with "lost and found" directories and lost files!

As I mentioned above, If anyone knows how to perform a check "is the filesystem c: still open under windows (even if win is actually hibernated)?" that would be a great help, and a small script could mount c: under -for example- /win with read only or read write option.

Hope this clarified the problem related with this post!
 
Old 04-13-2008, 08:06 PM   #9
linux_wannabe
LQ Newbie
 
Registered: Dec 2007
Posts: 3

Rep: Reputation: 0
Solved?

I migrated to ubuntu, which does the check in some automated way by default, and it doesn't mount the FS unless it finds it's clean.

Basically this means if Windows is hiberanted, it will not grant you access to that partition.
Unfortunately it does not even grant readonly access, but checking the config files should be a piace of cake doing the needed modification.

As far as I am concerned, it's more than ok the way it is
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cli hibernate works but gnome panel hibernate fails BCarey Linux - Desktop 1 06-08-2007 10:21 AM
linux booting windows kilgor Linux - General 8 08-27-2005 05:15 PM
Windows XP Hibernate and Failing Samba Network carl0ski Linux - Networking 1 03-27-2005 06:34 PM
Booting Linux from within windows ccates Linux - Software 5 01-22-2005 04:59 PM
RTL-8139 card left in bad state after Windows Hibernate andrewb758 Linux - Networking 3 06-25-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:54 AM.

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