Installed Ubuntu 16.04 and Win 10 won't boot

Asked by Dan

Installed Ubuntu 16.04 as a dual boot with Win 10. I resized the partition for Ubuntu to 50GB. I did not accept installing using UEFI. once Ubuntu was installed I rebooted but no Windows 10 option. I tried uninstalling and reinstalling twice. No luck. I then booted from the USB into "Try Ubuntu" and downladed and ran the OS Unistaller. Uninstalled Ubuntu but I get an error screen. No luck booting into Windows.

Not sure if this is relevant but when I try and access the windows drive in Ubuntu(labelled Win8) I get this error.

Error mounting /dev/sda1 at /media/ubuntu/Win8: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=999,gid=999" "/dev/sda1" "/media/ubuntu/Win8"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda1': 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 option.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you boot to your Windows CD and drop to recovery console. You can run a chkdsk from there and fix the file system.

Revision history for this message
Dan (dankonig) said :
#2

Booted to Win 10 install and went to the repair panel in Advanced Options I tried running chkdsk from the command prompt. It found errors. Tried chkdsk /F and I got

The type of the file system is NTFS
Cannot lock current drive
Windows cannot run disk checking on this volume because it is write protected.

I went back t the advanced menu and tried Startup Repair but that did not work. I don't have a system image so System Image Recovery doesn't work. System Restore just give me a message that I need to specify which Windows installation to restore but I am not given an option to pick. Supposedly I need to restart and pick an installation. Reset this PC stops me because it says that the drive where Windows is installed is locked.

Any ideas where to go from here?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Sounds like your NTFS partition is having issues. A Windows forum may be able to advise on how you can remove the write protection

Revision history for this message
Dan (dankonig) said :
#4

Got chkdsk to run using chkdsk C: /f /r /x

I'm going to need to do some digging on this issue and take a look at my hard drive config. I don't think I striped to SSD's together but maybe. I wonder if that is part of the issue. I'd be happy to get back to Win 10 at this point and run Ubuntu in a VM.

By the way on boot without any bootable USB or DVD's I get this message.

error: no such device: series of letters and numbers
Entering rescue mode
grub rescue>

Revision history for this message
Dan (dankonig) said :
#5

Just to add to that I already uninstalled Ubuntu using the OS-Uninstaller tool per these instructions

https://help.ubuntu.com/community/OS-Uninstaller

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

Grub is the boot loader for Ubuntu, and if you have uninstalled Ubuntu, the grub boot loader of course will stop working.
You have to reinstall the Windows boot loader by booting from a Windows recovery disk.
If you need details how to do that, please ask in a Windows forum.

Revision history for this message
Roger Carder (r-carder) said :
#7

reinstall Ubuntu and grub should spot Windows and fix the problem

Revision history for this message
Dan (dankonig) said :
#8

Started the reinstall last night but the partitions look wonky now. What appeared to be the only available partition wasn't large enough. I opted not to play around with the partition in fear of really screwing things up.

Revision history for this message
Dan (dankonig) said :
#9

Reinstalled Ubuntu but still no Windows 10 in the grub menu. In Ubuntu I get this error message when i try to access the windows drive. Not sure if it is relevant or not.

Error mounting /dev/sda1 at /media/dan/Win8: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sda1" "/media/dan/Win8"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda1': 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 option.

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Please provide the output of the commands

sudo fdisk -l
sudo os-prober

when executed in an Ubuntu terminal window

Revision history for this message
Dan (dankonig) said :
#11

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/sda: 167.7 GiB, 180045766656 bytes, 351651888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8f4ffeaa

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 332302333 332300286 158.5G 7 HPFS/NTFS/exFAT
/dev/sda2 350728192 351649791 921600 450M 27 Hidden NTFS WinRE
/dev/sda3 332302334 350728117 18425784 8.8G 5 Extended
/dev/sda5 332302336 350728117 18425782 8.8G 83 Linux

On Tue, Jul 19, 2016 at 2:28 AM, Manfred Hampl <
<email address hidden>> wrote:

> Your question #296149 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/296149
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please provide the output of the commands
>
> sudo fdisk -l
> sudo os-prober
>
> when executed in an Ubuntu terminal window
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/296149
>
> You received this question notification because you asked the question.
>

Revision history for this message
Dan (dankonig) said :
#12

/dev/sda1:Windows 10 (loader):Windows:chain

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

Try
sudo update-grub
This should create an entry for windows in your grub menu.

Revision history for this message
Dan (dankonig) said :
#14

Perfect! That worked.

Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&amp;utm_medium=email&amp;utm_campaign=sent-from-mailbird]
On 7/19/2016 10:32:57 AM, Manfred Hampl <email address hidden> wrote:
Your question #296149 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/296149

Status: Open => Answered

Manfred Hampl proposed the following answer:
Try
sudo update-grub
This should create an entry for windows in your grub menu.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/296149/+confirm?answer_id=12

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/296149

You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#15

This question was expired because it remained in the 'Open' state without activity for the last 15 days.