Results 1 to 4 of 4

Thread: Disk troubles in dual boot

  1. #1
    Join Date
    Jul 2011
    Location
    France
    Beans
    21
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Question Disk troubles in dual boot

    Hello everyone

    I have an EeePC 1215B which works fine on my two OS: Ubuntu Studio 11.04 and Windows 7. Each OS has a disk partition and an extra one is designed for data sharing for both system. This data partition has a NTFS file format.

    My problem is the following: sometimes, data disappear from this partition, become strangely corrupted or have missing parts. That is really annoying! I have lost important data, such as source codes, reports and lessons because of that...

    Two things I have to say:

    • In Linux, I automount the extra drive with /etc/fstab configuration file.
    • For both OS, I enjoy the hibernate function. I often turn a system on, put it in hibernation, open the second one, put it in hibernation, then wake the first one up and so on. Because each OS is better for a specific task ; thought I know this behave is not really good °~° ...


    I suppose the over-use of the hibernate feature is the cause of my troubles. I have some potential explanations and one solution might be to force execution of remaining instructions in disk cache before hibernating. A radical way could be to auto unmount this partition before hibernation and then to auto mount at wake up. How can I do this on Ubuntu?

    Moreover, what is your opinion on my problem? Do you have any idea to share data between two OS without troubles?

    Thank you for your answers and for your help.

  2. #2
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,198
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Disk troubles in dual boot

    Hibernation is the core of your problem. If you're going to SHARE a windows-format data partition between Windows and Ubuntu, then you can not reliably do hibernation, especially of the Windows side.

    Why?

    Because Windows saves filesystem info when it hibernates. That includes the data partition. So, any changes made to that partition when Windows is hibernated are going to be UNDONE when it awakens.

    In general, dual-booting, shared data partition, and hibernation do not work well together.
    Ubuntu 16.04 Mate, Mint 18 Mate; MS Win 8.1, MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  3. #3
    Join Date
    Jul 2011
    Location
    France
    Beans
    21
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Re: Disk troubles in dual boot

    Thank you for your answer, Mark Phelps. I agree: my current situation doesn't work at all >_< .

    I did not know Windows saves filesystem info before hibernating. I understand now... And I guess there is nothing to do against that... But, you said:
    If you're going to SHARE a windows-format data partition between Windows and Ubuntu, then you can not reliably do hibernation, especially of the Windows side.
    Maybe, if I use another filesystem, such as an old one like FAT32 or a non-Windows one like Ext with a kind of driver, can I avoid this behave of Windows?

    Of course, the best to do is to avoid hibernating systems. But if there is any trick...

  4. #4
    Join Date
    Jul 2011
    Location
    France
    Beans
    21
    Distro
    Ubuntu Studio 11.04 Natty Narwhal

    Re: Disk troubles in dual boot

    I have made some tests on Windows to unmount a partition before hibernating (thanks to diskpart feature) and to prevent filesystem info saving. But unfortunately, it doesn't work and Windows doesn't stop saving filesystem infos.

    Well, the true answer to my problem is... To not use hibernating at all between the two OS, as you said, Mark Phelps.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •