2

I am attempting to install ubuntu on my ssd which currently holds my Win7 OS partition. I shrunk the Win7 partition and made a new 25GB partition for Ubuntu. I burned an .iso image of Ubuntu onto a freshly formatted usb drive and booted from this drive. When I launch a live session of ubuntu or attempt to install I get the typical purple loading screen. When I press esc at this screen I can read the following error messages:

Windows is hibernated, refused to mount.

Failed to mount '/dev/sdb3': Operation not permitted

The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount operation.

mount: mounting /dev/sdb23 on /cdrom failed: No such device [ ] Buffer I/O error on dev sdd, logical block ######

This is repeated a bunch of times for different serial ports until it ends and I have to restart the machine. One thing I notice now after writing this up is that it seems to be attempting to mount to /cdrom which doesn't seem right. Maybe this is part of the problem?

I cannot find any options for fast boot in BIOS or in Windows power settings. I am running all this on an MSI motherboard if that makes any difference

Anyone more experienced think they can provide help?

Edit - one thing I am noticing on each reboot is that the Windows boot manager is prompting me if I want to load win7 or a diagnostic tool before I even get my bios option. I have to cancel out of the Windows boot manager to be prompted for bios. Is there a way to disable this somehow?

Edit2 - So just to follow up. I have since tried all of the solutions in the linked thread by karel (though that seems to be for mounting a windows system in Ubuntu rather than launching live or installing from bios) which included

 powercfg.exe /h off 

and

shutdown /s /t 0. 

I am still facing the same error problems. I am considering switching the usb drive I am using though I have a feeling that won't do much good.

One thing I am beginning to suspect is that I have additional drives in my system which had previously hosted Windows operating systems in old setups I owned which I now use as separate data drives. I never went through a process of wiping these drives so I'm thinking maybe they have their own hiberfil.sys files which are obstructing the ubuntu image. I will begin investigating how to address these drives. I'm hoping I don't have to wipe them all because they are storing important files. Should I pose this question to Ask Ubuntu through a new thread and close this one out?

4 Answers4

1

Okay, so I am happy to say that I am writing this answer from my newly installed Ubuntu partition alongside my original Windows 7 partition on my ssd.

I tried burning a newer version of the Ubuntu iso on my flash drive which failed, but I noticed an option in Rufus (software used to burn to drive) that allowed you to burn the iso as a DD image. I reformatted the disk and selected the DD option and went through the process for dual boot installation and to my surprise and relief it worked! Hopefully this can help anyone who has a similar issue in the future as all the relevant threads I parsed were slightly off-topic or did not solve the issue.

Thank you to everyone who responded!

  • Congratulations! Don't forget to accept your answer later. If you get to know more about the issue later, please add to your Q&A :) – Yaksha Jan 01 '18 at 06:39
0

Start your Windows and shutdown it properly, you can shutdown it by holding shift and pressing the shutdown icon, or just shutdown it normally.

AsenM
  • 1,048
  • Thank you for the reply. I have done this a number of times with no success – MapPeddler Dec 31 '17 at 08:58
  • Shift and shutdown will do the trick – AsenM Dec 31 '17 at 08:59
  • Hi again. I did shift shutdown which did turn off the machine. Upon reboot I received the same error :( I will note that before I could access bios I was shown a different screen asking me which os or tool I wanted to use (only windows options) which I exited out of to access bios – MapPeddler Dec 31 '17 at 09:06
0

Hit Restart on Windows and when the computer powers off and then just turns on(because we have asked for a restart), press the power button. This would have shut down Windows safely and completely. Now power on with the power button again and go on with what you wanted to do. This should do the job.

Long fix

In power manager of control panel, go to "change what the powers buttons". Click "change settings that are currently unavailable". After the admin prompt, you will see the option to turn off fast startup (or something similar).

Yaksha
  • 1,740
  • 1
    Hi. Thank you for the reply. I followed your instructions and did manage to shut down my computer after restart but I still am receiving the same error when attempting live session – MapPeddler Dec 31 '17 at 09:36
  • Oh sorry to know that! Do you have any devices other than flash drive attached externally? Did you remove the CD ROM that you have mentioned? – Yaksha Dec 31 '17 at 09:39
  • 1
    I do not currently have any CD or DVD drive installed. The slot is empty. The only the devices attached are a printer, monitor, keyboard and mouse – MapPeddler Dec 31 '17 at 09:41
  • Oh sorry! I'm out of ideas as of now :( – Yaksha Dec 31 '17 at 09:42
0

I think the problem is not fast reboot. Is the hibernation. Try this: in windows - cmd as admin - type "powercfg.exe /hibernate off"

hope it helps you.

Tim
  • 11