65

Why is everybody keep mentioning to disable Fast Boot on Windows 8 if you have installed alongside Ubuntu? Is it something that is recommended only for UEFI machines or is it a suggestion for Legacy BIOS machines as well? Is it because it makes the Windows partition inaccessible from Linux or there is another more serious reason to disable it?

Braiam
  • 67,791
  • 32
  • 179
  • 269
und3rd06012
  • 1,449
  • 3
  • 27
  • 41

3 Answers3

67

Fast boot explained with an image:

Windows 8 Fast Startup vs Cold Boot

During fast boot the system loads the hiberfile and does not use the files on the filesystem.

So the biggest problem, and the worst problem you can have on a computer, is data loss: if you create a shared NTFS data partition the hibernation may maintain the file structure so if you try to save a file from Linux into the NTFS partition it will get lost on Windows reboot as it only remembers the old file structure. See this Ubuntu Forums thread for more information.

That alone is reason enough to never touch fast boot in a dual boot setup.


Two relevant discussions from Super User:

In general: if a disc is mounted when using fast boot, Windows puts this disc and its content in a hiberfile. Any changes made to the system are gone when the hiberfile is restored. This includes mounted external discs. Ubuntu will refuse to mount a disc that has a hiberfile.

One of the bad messages you see in these topics is getting a "disc has errors" when booting Windows.

Rinzwind
  • 299,756
14

Fast boot in Windows 8 is a way to boot the system faster because the needed data to boot (Drivers, User session, etc..) are stored in a hibernation file (hiberfile) and are loaded when the boot process begins, saving the user between 40% and more boot time.

Since Hibernation mode is a way to "freeze" whatever you were doing before shutdown and loading it again when you start the computer (this includes opened apps, sessions, drivers, the last office doc you were editing...) it creates a problem when you want to copy stuff from Ubuntu to Windows after a hibernation, or "fast boot" as it is called on Windows 8 because anything that changes between hibernating and booting again is lost.

Basically, if you shutdown Windows 8 (hibernate mode) and then go to Ubuntu and try to copy something over to Windows 8 like an mp3 file (assuming Ubuntu does not throw any warnings about it being in hibernation mode), when you boot Windows 8 again, the mp3 file will not be there because it was not frozen during the shutdown procedure you did on Windows 8 before going to Ubuntu. Since the mp3 file was not there BEFORE shutting down Windows 8, it was not saved in the hiberfile and thus will not be restored after you do a Fast boot to load Windows.

There are however 2 ways to disable this so you can share files between both systems as described in Installing Ubuntu Alongside a Pre-Installed Windows with UEFI

Luis Alvarado
  • 211,503
  • So are you suggesting that since it's fully restored, yes you lose some files, but the there would be no corruptions in the filesystem? – Pacerier Apr 26 '15 at 22:44
  • Are you sure? It makes no sense. Hibernation should not touch the whole HD, just some system files, etc. It you copy a mp3 to a random folder, like C:\i like music\ nothing should happen after reboot. – Lombas Sep 16 '15 at 14:27
  • Hi lombass, correct hibernation should not touch any other files or areas of the hdd but the "new" is not the normal hibernation, it actually freezes the state of the hdd. I tried (when I tested this) to copy files to c:, program files, document settings and even created a folder in c:. No luck, all disappeared after rebooting through windows. – Luis Alvarado Sep 17 '15 at 13:23
  • @LuisAlvarado How about if Windows is installed on C but the file was moved from Ubuntu to D instead? – M J Jul 05 '17 at 18:30
  • @Joraid then you are able to copy them. IT only freezes where the system is in. So basically only the C drive. The D or any letter are safe to use for this. – Luis Alvarado Jul 05 '17 at 21:39
  • @LuisAlvarado thank you for your reply. You seem like you know your stuff. Could we use a shared partition to store and use user's files such as desktop, documents, music etc between win and ubuntu? It seems I can access windows files from Ubuntu, but not the other way around due to ntfs and ext plus permission issues among both OSes. – M J Jul 05 '17 at 23:48
  • 1
    @Joraid Yes you can use a shared partition, typically partitioned in fat32 for compatibility between both systems (Since fat32 does not have the overhead of a permission layout like NTFS) – Luis Alvarado Jul 06 '17 at 00:39
  • @LuisAlvarado perfect, doing the steps now. You are awsome. Thanks. – M J Jul 06 '17 at 00:45
1

With fast boot enabled, windows locks down the drives. I had trouble installing Kubuntu on my new laptop because of this. I got around it by opening partition manager while running off of the Live USB and shredding the windows partitions. Worked for me because I wanted to get rid of windows altogether, but would be a problem if I had wanted a dual boot system.

todji
  • 11