Vista crashes Linux filesystem when hibernating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub |
Invalid
|
Undecided
|
Unassigned | ||
grub (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
To reproduce, do the following:
What you need:
Notebook with one internal hard disk.
An external USB Harddrive.
Install:
Install Windows Vista to the Laptop's one internal hard drive.
Get Ubuntu Feisty Fawn 7.04 Desktop.
Install Ubuntu in the way i did, as described in:
http://
Then apply the latest updates.
Restart.
Now boot from the USB drive,
GRUB should show up.
Select Windows Vista.
Vista starts.
Log in to vista, do some work/nothing.
Now tell Vista to hibernate.
Vista won't hibernate, just show you the login screen after appx. 5 seconds.
The only thing you can do now is log in to Vista again. Shut it down.
So far so good. Stand-by works, hibernate doesn't.
Well, one could just stand-by instead of hibernating, so far nothing to worry about.
But: once windows has hibernated, it screwed up the file system on the USB drive.
It will very likely be impossible to boot Ubuntu, you can very likely not even boot 'till the command line.
If you're lucky and can boot to the command line, you can't repair the filesystem with fsck, if throws some error.
The only thing I still could do is to start a live CD or boot vista, and rescue the remaining data.
Though, some of the data on the drive will be partially missing...
-------
Looks like Windows writes hibernating info to the primary boot drive (USB), and that overwrites data at more or less arbitrary locations. In this case boot data and part of the kernel, as well as part of the file system...
If that's the case I think GRUB should somehow tell Windows that the primary boot drive it should use is the respective HD, and NOT the Linux filesystem on the USB drive (which is set primary boot drive in the BIOS...)
------
Well, once you know that, just don't hibernate, but Windows can hibernate automatically, once inactive for a user specified time... And I don't think deactivating hibernate is a solution.
------
It would also be nice if someone could tell me whether the issue i described at:
http://
is because GRUB or the kernel mixes HD numbers up, or whether that is a fault caused by me due to wrong settings.
Changed in grub: | |
status: | New → Confirmed |
Isn't this a bug in Vista? I don't think GRUB can communicate with Vista.
By the way, does this bug still happens at Gutsy Gibbon or Hardy Heron?
Thanks.