Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Help, Dual boot fail...

Hybrid View

  1. #1
    Join Date
    Apr 2016
    Beans
    6

    Unhappy Help, Dual boot fail...

    Hi,

    So I have known about Ubuntu for a while and thought I would try it out. So I download Ubuntu and installed (version: 14.04 LTS). Before installing it I made a 20GB partition on my HDD through windows. (Windows is installed on a separate drive, I have 2 HDD, 1 SSD. (windows is on the SSD ofcourse))
    Now that it was installed and I loaded it up everything worked just fine, I quite liked it too . Then **** hit the fan, I restarted my PC and wanted to get into my Windows 10 I couldn't find a way to get into it so I tried doing things I knew that I could such as forcing it to boot from the main drive (which is separate from the Ubuntu installation) and it booted to Ubuntu.... ****. So when in Ubuntu I clicked on the separate drive (with windows on it) and this error came up:
    Code:
    Error mounting /dev/sda2 at /media/max/1C3C0C853C0C5C60: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/max/1C3C0C853C0C5C60"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
    Failed to mount '/dev/sda2': 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.
    I googled... extensively and found that I probably installed the root? and or prefix? to my main drive and something about Windows 10 being greedy to only letting one OS to a drive (Meaning my installation is still there? I hope).
    After getting relatively pissed, I unplugged my drives (Not the windows 10 one) and booted up... Some recovery GRUB thing popped up... I had no clue, of to google.. I found that you could get to a grub menu to change to my windows 10 install... yay! progress. So I hard shut down my PC (As I don't know any commands to get out of this GRUB thingy) held the shift-key to get into the grub menu. It loaded. There and behold... No windows 10 boot ._.
    After some **** talking to my PC I decided to come to the Ubuntu forum (where better? I'm sure someone else has had this problem) to resolve my issue.

    Hope someone can help soon.

    PS: I am writing from Ubuntu, it actually quite nice. 8^) (At least there’s a positive some where in all this mayhem)

    Thanks,
    Max

  2. #2
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,114
    Distro
    Ubuntu

    Re: Help, Dual boot fail...

    Welcome to the Forum.

    While you have Ubuntu running go here. https://help.ubuntu.com/community/Boot-Repair

    Use the 2nd option to install Boot Repair. When it is running do not attempt any repairs, just click on 'Create a Boot Info summary' and post the generated link here so we can peruse the situation and make informed suggestions to help you fix this.

  3. #3
    Join Date
    Apr 2016
    Beans
    6

    Re: Help, Dual boot fail...


  4. #4
    Join Date
    Apr 2016
    Beans
    6

    Re: Help, Dual boot fail...

    Errrrrr.... I just clicked on my SSD again and I can see the contents (The only thing I did during this gap was plug in another USB to see what was on it). Should I restart and try to use the GRUB menu?

  5. #5
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Help, Dual boot fail...

    From Windows 8 onwards Microsoft has used hibernation instead of a full shut down to achieve fast start up times. This means that when we try to access a Windows partition from Ubuntu we get that message. In fact if we are installing Ubuntu on a system with Windows 10 we should;

    if the other systems (Windows Vista/7/8, GNU/Linux...) of your computer are installed in UEFI mode, then you must install Ubuntu in UEFI mode too.
    To install Ubuntu in UEFI mode:


    It is the Windows Fast Startup that is actually hibernation, as far as I know.

    https://help.ubuntu.com/community/UEFI

    EDIT: There is something that you failed to mention. You have installed Ubuntu by installing wubi.exe in windows. But wubi.exe is not compatible with Windows 8 onwards and there is no further development on it and because there are too few of us on the forum who have any experience of wubi we do not support wubi installs.

    http://ubuntuforums.org/showthread.php?t=2229766

    Regards.
    Last edited by grahammechanical; April 19th, 2016 at 12:08 AM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  6. #6
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Help, Dual boot fail...

    Moved to the Installation & Upgrades sub-forum

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Help, Dual boot fail...

    Several issues.
    It looks like you tried to install wubi in sda2. That is not supported since 12.04. Best to uninstall that to avoid confusion.
    https://wiki.ubuntu.com/WubiGuide
    https://help.ubuntu.com/community/Wubi

    Generally use Windows tools for Windows & Linux tools for Linux. Or do not create partitions for Linux with Windows. It can lead to major issues, but your partitions look ok, other than a missing one.

    Not sure what install option you used. But you have Windows on sda with MBR partitions for BIOS boot. But sdb & sdc are the newer gpt partitioned. Grub always defaults to sda, but with multiple drives you want to install the grub2 boot loader into the same drive as Ubuntu and only the Something Else install option gives you that choice.

    For grub to install correctly to gpt partitioned drives you must have either an ESP - efi system partition for UEFI boot or a tiny 1 or 2MB unformatted partition with the bios_grub boot flag. Since Windows is BIOS boot you should just add a 1MB unformatted partition anywhere on sdc and add the bios_grub partition. You can use gparted for that from live installer.
    GParted partitioning software - Full tutorial
    http://www.dedoimedo.com/computers/gparted.html

    You want to keep a Windows boot loader in sda, so when Windows breaks you can try to directly boot it and see if f8 gets you into repair console. But better to always have a Windows repair flash drive.
    And you want grub installed to sdc so you directly boot from BIOS to sdc and grub will let you boot either Ubuntu or Windows. But grub only boots working Windows.
    DO NOT use auto fix in Boot-Repair. That will try to install grub into the MBR of all drives. And it will not install correctly to the gpt drives without the bios_grub partition.
    DO use Boot-Repair's advanced mode, choose Ubuntu install and sdc as grub bootloader install location. You can also install a Windows like boot loader the same way to sda. Choose Windows & sda. Or use your Windows repair flash drive and the fixMBR command on sda.

    And Windows cannot be hibernated nor need chkdsk. Windows 8 or later is always hibernated as that is all its fast start up is. So if dual booting you need to turn fast start up off. Or you can possibly directly always boot from BIOS or one time boot key like f10 or f12, check manual.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Apr 2016
    Beans
    6

    Re: Help, Dual boot fail...

    Is there a way to just uninstall Ubuntu without affecting the windows install? Then I can try a proper install with a disk. I just did a quick google would this work? https://help.ubuntu.com/community/OS-Uninstaller
    Last edited by maxfield; April 19th, 2016 at 12:25 AM.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Help, Dual boot fail...

    You need to first fix the Windows drive's MBR with a Window boot loader.
    The part of a boot loader in the MBR is tiny and just jumps to the install partition to find more boot code. If you uninstall Ubuntu before fixing Windows then you get a non-working grub.

    If just reinstalling Ubuntu, you do not have to uninstall it. You can use Something Else and choose same partition or change partitions around if desired. I generally prefer to use gparted & partition in advance. It seems a bit easier, but may not be.

    Lots of detail, screenshots and essential info.14.04 Something Else example
    http://www.dedoimedo.com/computers/u...all-guide.html
    http://askubuntu.com/questions/34326...g-installation
    http://askubuntu.com/questions/16396...-windows-using

    Any install with Something Else which is required with external drives or any second drive or any install with separate /home
    Also shows combo box with location of grub2 boot loader
    https://help.ubuntu.com/community/Grub2/Installing
    Does not hightlight changing boot loader to sdb, if external drive, but shows other install screenshots:
    http://askubuntu.com/questions/31278...in-a-dual-boot
    http://askubuntu.com/questions/27437...p-boot-optiond
    Install 14.04 Something Else explanation and screenshots (note boot load to VM, most may install to MBR of drive sda, or sdb)
    http://www.tecmint.com/ubuntu-14-04-installation-guide/
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Apr 2016
    Beans
    6

    Re: Help, Dual boot fail...

    So I tried doing everything that everyone suggest no luck (Probably Human Error *cough* me). So I decided an easy way out. I firstly backed-up everything from the main drive to a different internal drive. Then fortunately I had a Window 7 ISO on it as well, I used winUSB to make a pen drive bootable. I tried using the system recovery once loaded with the pen drive, no luck. So I formatted my main drive and installed Windows 7. Simple.
    Now happily (kinda) typing away from a Windows 7 install.
    However, I am not one to give up so easily. I have a spare hard drive. If I disconnect all others and installed Ubuntu to that one (through usb) would things all be good once I reconnect the other HDD's? Would I be able to boot separately via BIOS?

Page 1 of 2 12 LastLast

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
  •