I have windows 10 installed on partition 4 which is hibernated (but I'm able to mount it in read-only mode from Linux), but I cannot boot into it because I had removed the Windows bootloader. I also have Linux Mint 17.1 installed on partition 5 (into which I regularly boot). I need to boot into Windows 10 but I can't figure out how. I have tried lots of things including using boot-repair, adding menu-entries to grub's menu manually (as mentioned ), and some other things mentioned in Linux forums.  I have been searching for a solution for a long time. Lots of solutions include the usage of "Windows recovery disks" and/or usage of Windows software, however I can't do any of that. All I have with me is Linux Mint and a non-bootable but mountable Windows 10.  This is the output of parted -l  Model: ATA ST1000LM024 HN-M (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt  Number  Start   End     Size    File system     Name                          Flags  1      1049kB  683MB   682MB   ntfs            Basic data partition          hidden, diag  2      683MB   955MB   273MB   fat32           EFI system partition          boot  3      955MB   1089MB  134MB                   Microsoft reserved partition  msftres  4      1089MB  861GB   860GB   ntfs            Basic data partition          msftdata  8      861GB   863GB   1074MB  linux-swap(v1)  5      863GB   970GB   107GB   ext4            Basic data partition          msftdata  6      970GB   971GB   867MB   ntfs                                          hidden, diag  7      971GB   1000GB  29.5GB  ntfs            Basic data partition          hidden, msftdata   Edit:  is the new boot-info summary by boot-repair.  I have Grub bootloader currently which shows only the Linux Mint 17 entry. Any help will be greatly appreciated!
1236
I installed Windows on my computer, followed by an installation of Ubuntu. However, now I'm unable to boot into my Windows install.  What can I do to fix this?
50383
I currently have Windows 7 and Linux Mint installed.  When my PC starts up, it shows me the Grub menu, it shows an entry for Mint Linux and the Windows boot menu.  I am wondering, if I was to install Elementary OS, would it be automatically added to grub or do I have to put some command in the terminal?  I also want to ask, when I boot from my Elementary OS cd, and install it, just before it finishes, it shows some kind of error saying some error about cannot install to grub or something, I've tried installing to a separate partition and alongside "Them", but had no luck.  I'm really new to Linux, and want to keep my Mint Linux and Windows 7 because I have files on them.
71107
I installed Ubuntu on my laptop and something happened and my Windows 7 bootloader is missing. I can boot only Ubuntu. So, I tried to do something like suggested here  or , but when I see system recovery option there is no Windows 7 option.
69466
I sent this to boot.repair@gmail.com, still no response thought I could get a faster solution here.  I am running Windows 7 64-bit and Ubuntu 12.04 LTS on separate partitions.  The message is sent is:  Boot-Repair URL:    Originally I was unable to access Ubuntu after a windows update (Ubuntu was installed using wubi). Rather than logging into Ubuntu from the Windows 7 Bootloader, it lead to the grub> command prompt.  No matter what I did here, it would not log me into linux.  As a result I uninstalled Ubuntu from the Add/Remove Programs application in Windows 7.  I then re-installed Ubuntu 12.04 LTS using a liveCD-USB.  This time however, I created a partition.  I then restarted and got the GRUB bootloader which loads Ubuntu 12.04 LTS with no problems, however when I select windows (listed as "Windows 7 (loader)"), it just refreshes the grub bootloader instead of loading Windows 7.  I then used the Windows 7 repair disk to run bootrec/fixmbr and bootrec/fixboot.  This led to no bootloader coming up when I started my computer.  Instead I got a blank black screen with a flashing white cursor.  I went on to do a bootrec/buildbcd and bootrec/scanos.  These did nothing to change the situation.  When I ran bootrec/scanos it said that no Windows 7 installations were present.  After this I decided to reinstall WIndows 7 only for this to do nothing to change the situation.  Afterwards I did a boot-repair in which I began to get the GRUB bootloader, which would load ubuntu 12.04 LTS, but still would not load Windows 7.  I also did a sudo update-grub which recognized Windows 7 as being installed, but still didn't fix the issue of loading Windows 7.  While running Ubuntu I have no problem accessing my WIndows 7 partition which is formatted as NTFS.  It shows all the files and folders reflecting that the re-install did take place, and it also shows all of my old applications and folders in the Windows.old folder.  I am completely stuck at this point and have no clue what I should do next.  Any help you can offer me will be greatly appreciate.  Thank You  --gap
26609
I'm a new Linux user and a Windows convert. I tried Ubuntu (Dapper Drake) a few years ago and liked it quite a bit, and I'm in the process of installing Xubuntu 13.10 along side Windows7 on my brand new SSD! At this point, Windows is still being installed because I need it to be, but Linux is getting installed because I want to use it! I've done quite a bit of research and I've toyed around with Linux before, but I'm still a newbie and I have a few questions concerning partitions and program installations..  My new SSD isn't huge (120GB Samsung 840 EVO), and I'll be using my old 800GB HDD as a secondary drive. The thing is, I plan on using Linux as much as possible; only switching over to Windows7 when I absolutely need to. Because of this, I'll be doing a 50:50 split of my SSD for each OS (60GB for Linux, 60GB for Windows). I'm also planning on splitting my old, 800GB HDD into 3 partitions: some space for extra linux programs, some space for extra windows programs, and then a shared NTFS partition for all of my data (music, videos, documents, etc.).  So to sum up my space situation:   ~60gb SSD + 200gb HDD for Linux..  ~60gb SSD + 200gb HDD for Windows.. ~400gb shared NTFS..   This leads me to my questions.. While I have a fairly good idea of how my Windows setup will work (60gb C: drive, 200gb D: drive, etc.), the Unix/Linux directory structure is still very new to me and is making this process a little bit confusing. I know that it's possible (and common) to partition your "/" directory and "home" directory separately, and - as I understand it - the "/" partition is meant to contain system specific programs and data, while the "home" partition contains the programs and data of the various users.  However, I've also heard that most (if not all) of the programs that you install from repositories using APT are installed into the "/" directory. As someone who works with music/art programs and plays games (which can take up a LOT of space), this leads me to believe that I'll need a large "/" partition!  I've also read (from here: ) that the "home" directory is "the place where all the user-specific files, your data in other words, are stored. It is roughly equivalent to the “My Documents” folder on a MS Windows desktop". But, as I mentioned above, I intend to keep all of my non-OS-specific data (music, documents, videos, etc.) on my ~400gb shared partition, anyway. This really leads me to believe that I don't need a big home partition at all and that I should focus on partitioning as much space as possible for "/". And still, I've heard other people claim that you only need around 10gb of space for your root partition!?   Edit: Also, I just found out that programs like Steam and Wine take up space inside the "home" directory.  So, what should I do? I basically have 60gb SSD and 200gb HDD space for holding nothing but Linux programs. All of my data will be going onto my 400gb shared NTFS partition, so is it even worth making separate partitions for "/" and "home"? If I install both root and home on my 60gb SSD, how can I also use the extra 200gb of HDD space for more Linux programs? Can I expand root across multiple drives somehow, or maybe have a symlink or something that connects the two drives together?  As I said before, I'm still a major Linux newbie, so there may be something that I've completely misunderstood or overlooked. As someone who does a lot of art/music creation and gaming on my PC, I tend to use up a lot of program space quite quickly, especially since games and music libraries just keep getting bigger and bigger every year! Thanks for the help, I'm looking forward to learning more about Linux! :]
583
So, I've successfully dual-booted my Windows 8 machine with Ubuntu 12.04 . However, I still don't have a convenient method of choosing what OS to load at boot time.  After installing Ubuntu, my computer still loads Windows 8 directly. I then added grubx64.efi to the white list of my boot loader. But after that, my machine loads Ubuntu directly without even a shadow of GRUB showing up!  I used boot-repair and I got this paste.ubuntu URL: . After running boot-repair (and re-white listing the grubx64.efi file), GRUB now shows up but without any Windows 8 option!  Lastly, I ran sudo fdisk -l and it gave me this:  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 identifier: 0x6396389f     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1  1465149167   732574583+  ee  GPT Partition 1 does not start on physical sector boundary.   I'm guessing my problem has something to do with the warning from fdisk above but I don't know what to do with it. How do I proceed now?  Edit  My etc/default/grub is as follows:  # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: #   info -f grub -n 'Simple configuration'  GRUB_DEFAULT=0 #GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""  # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"  # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console  # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480  # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true  # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true"  # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"   Also, just for the record,  in installing my dual-boot. The tutorial (which uses, 11.10, I must note), doesn't mention anything about this problem. Is there anything there I shouldn't have done?
120209
I just shut down Windows and rebooted into Linux. When I try to enter the Windows partition it says . This means that Windows 10 only hibernates instead of shutting down. How do I actually shut down?
98101
I have Windows and Linux installed on SSD, and then, I have second HDD with data. There is no Windows installation on it, just NTFS partition with data (and second partition Lenovo Recovery, but that's all and I don't need it). When I try to open it in Linux, I get folowing error:  Error mounting /dev/sda2 at /media/adam/Data: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/adam/Data"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, 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.   But there couldn't be any hiberfile, as there is no Windows installation on this drive. I need to have read and also write permission on this drive. How could I do it? Another thing I noticed is that the partition has msftdata flag, but when I open gparted and choose "Manage flags" and remove it, it doesn't remove. How to mount the partition in write mode? Thanks.  EDIT: This is not duplicate of  as there are no Windows or hiberfile.
107472
I had windows &amp; Kali linux (dual boot) then I took off Kali linux Parition so I delete it but I Made a mistake ... and PC won't boot "Rescue grub error" or something ...   but I installed Ubuntu &amp; removed Windows and all .  All is running fine but I just can't open one of my disks , this is the error :   Error mounting /dev/sdb5 at /media/imad/Disque local: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb5" "/media/imad/Disque local"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sdb5': 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 asked this question before but no one had an idea , help please .
14304
After upgrading to Windows 10, I remember that I had an old bootable recovery usb drive from the manufacturer that I no longer needed. I want to format it but it's showing up as a CD-ROM and format options are not available.  I also tried formatting it in a live linux mint environment, but linux cannot even mount the cd-rom.  How can I format this recovery usb that is showing up as a cd-rom?
124188
A while back I installed Linux on my SSD, sdb1. I also have a 1 terabyte drive for my home directory, sdc1. I have Windows on another hard drive, sda1, which I haven’t booted into in over 2 years. It is a terabyte in size. I would like to get rid of Windows and utilize that extra space without reinstalling Linux, but Grub is on the Windows hard drive, sda1. What I would like to do is put Grub onto my SSD, sdb1, if possible in order to format the Windows drive, sda1, and have extra space. It is Legacy BIOS on the computer.
121609
My operating system was Windows 7, and recently, I installed Zorin OS (linux based on Ubuntu). At first, when I turned on my laptop Windows started automatically. I used a program to make the Windows boot loader come on and ask me what to start.   If I chose Linux, then the Linux GRUB comes on and asks me what to do. I want to remove the GRUB. I want to keep my Windows boot loader.
102345
I've tried several approaches and it still boots directly to Windows 10. It is a Toshiba  with Windows 10 the original OS.  I read and tried to follow all prerequisite steps in , and first tried Ubuntu 14.14 LTS, which installed but showed no dual boot menu.  Various answers and sources  have suggested I could then tell the UEFI to start with Grub 2, but I see no such option. This Toshiba's UEFI config menu has never shown anything but the hard drive and USB as boot sequence options. The only other relevant setting seems to be Safe Boot on/off, which has never seemed to have any effect on behavior at any point in the hours and hours (and more hours) of trying things I have done. There is no "boot mode" option  - I suppose it is UEFI-only (no legacy option)?  The info-packed answerer said 15.04 has always just worked for him, so although I would prefer LTS, I tried Ubuntu 15.04, telling it to replace the 14.14 installation, and it is installed, but is equally unbootable.  I saw the suggestion that Toshiba may be violating the UEFI standard and annoyingly testing for "windows" in the file name and that I could rename the Linux bootloader to windows... but I don't know how to access the EFI partition - I assume I'd need to know how to find and mount it in Linux? I didn't see complete enough directions for my familiarity level, so I didn't try that.  Following advice on , I tried using a EasyBCD and managed to wipe my BCD making Windows 10 unbootable .  The most recent thing I've tried is , which I ran in all its steps but it had no visible effect. Its docs say the final steps should be to show its output data to my favorite help source, so here I am, and .  Any suggestions?
53284
I went ahead and installed windows 10 on my windows 8 and Ubuntu dual boot PC. All went smooth and Windows 10 works perfectly however the computer automatically boots to Windows and the grub launcher is missing. The partitions are still there I just need some help getting Ubuntu back. Thank you in advance!   Edit: I found a way around it. I don't know of this works for everyone but I went in to the control panel and went to update and recovery. Then I went to recovery and booted into uefi.  Then I selected boot from device and my Ubuntu partition was there and I could boot into it.  Feel free to post other solutions though!
96244
Just wait a minute before flagging this as off-topic. I can't believe this is not Ubuntu-related since everything happened just after my Ubuntu installation.  With this said I'll go on explaining what is happening:  I downloaded and installed the latest version of Ubuntu. I wanted a BIOS mode since I prefer this way and completed the installation process. Then I installed GNOME and rebooted. I lost access to my bios after all of this.  This is not the first time that has happened. It happened in the past and I solved switching boot partition in boot-repair using my secondary HDD but now I can't do that any more because I do not have a Windows partition on that drive.  This is my drive:  Disk /dev/sdb: 119,2 GiB, 128035676160 bytes, 250069680 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: 0xcaa3841c  Device     Boot Start       End   Sectors   Size Id Type /dev/sdb1  *     2048 250068991 250066944 119,2G 83 Linux   When I tried boot-repair, at the end of the process it said I had to make a 500mb partition at the beginning of the partition list so that grub could work properly but hey, here's another problem:  GParted stopped working. This is the error if I try to launch it:  Created symlink /run/systemd/system/-.mount → /dev/null. Created symlink /run/systemd/system/mnt-Archive.mount → /dev/null. Created symlink /run/systemd/system/mnt-Linux\x20Games.mount → /dev/null. Created symlink /run/systemd/system/run-user-1000.mount → /dev/null. Created symlink /run/systemd/system/tmp.mount → /dev/null. /usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory Removed /run/systemd/system/-.mount. Removed /run/systemd/system/mnt-Archive.mount. Removed /run/systemd/system/mnt-Linux\x20Games.mount. Removed /run/systemd/system/run-user-1000.mount. Removed /run/systemd/system/tmp.mount.   I want to mention that:   yes I'm sure I'm using the right button to enter the bios no there is no bios splash screen no, nothing happens if I spam the DEL key to enter the bios yes the key works fine yes I tried to unplug every drive yes I tried to reset CMOS yes I installed the OS in BIOS mode, I checked via terminal.   This is the output from boot-repair     This is the message alert saying that I need to make a partition to properly boot:      The boot files of [The OS now in use - Ubuntu 17.04] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. ()
96069
I have extremely important stuff on my windows partition which during the ubuntu 10.10 installation,when it said that I should create something called swap space, I selected it to be a swap space (without even knowing what it actually meant)  The Grub2 doesn't show up so I don't get a choice to boot Ubuntu or Windows. I don't get my windows partition as a removable device in Ubuntu either. When I go to disk utility and select the sda2 (i.e.. my windows partition) and click edit partition and select HPFS/NTFS for the type and tick bootable and click OK the small processing sign keep on rotating on the bottom right of the sda2 in the chart and after about 10 to 15 minutes it gives an unknown error and thus, I am still unable to use my windows.  I am even worse than a beginner who doesn't know a thing about Ubuntu so please be patient and help me out.
64048
I currently have an Ubuntu-Windows Dual boot. However, I would like to try out a new OS so I burned Linux Mint to a USB stick.   I would like to install Linux Mint and remove Ubuntu while still keeping my windows dual boot. I've already backed up my Ubuntu setup so I can wipe it out.   In the Linux Mint installer, should I choosing the "install alongside windows" option do this?