Laptop: HP probook 450 G   Main Hard drive: SSD 120 GB  (Windows 10)  Secondary hard drive: 1TB (Ubuntu installed recently)  My laptop had Windows 10 on C drive and I tried to install Ubuntu on the other hard drive where I had created an extended partition for it (/, swap, home and root). After installation I could not boot into any operating system and it just goes into an infinite loop of restarting.   After some trial and error, I figured out I can select custom file from boot options and I managed to boot into Ubuntu by selecting the /EFI/Ubuntu/shimx64.efi file and it is working and booting me into Ubuntu directly, but there's no GRUB menu so I cannot get into my Windows.   GRUB menu entry  I have already tried updating my /etc/grub/40_custom and no luck. Also tried boot repair with MBR and without it (not relevant but tried).    Boot Repair  I have run boot repair multiple times with different configs, including to update the Windows files. You can access the boot repair report .  Re-installing Windows  Finally I was trying to repair Windows again and it says drive is locked.    Windows is installed and configured to boot via UEFI. Ubuntu is installed and configured to boot via UEFI.   So currently following is situation of HD   HD0   Partition1 - 800 MB reserved and contains /EFI/Microsoft/Boot file  Partition2 - 110 GB windows installation with other programs  HD1   Partition 5,6,7,8 - ubuntu Partition 2 - ntfs windows file drive with my personal data    I have used a USB to boot into Windows troubleshoot command prompt and tried -/fixmbr, rebuildOS but it is not working; even scanOS can find the Windows installation folder.   Currently I have only UEFI is enabled in my BIOS settings  Can someone help me to boot into my windows installation?    Just to add if I don't select the Ubuntu shim file manually, my computer doesn't boot at all and it throws the following error only when I have my HD1 enabled as boot drive as well  System boot order not found. Initializing defaults Creating boot entry "Boot0010" with label ubuntu for file "EFI\Ubuntu\shimx64.efi"  Reset System
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?
115047
So i'm trying to install Ubuntu on my laptop, it seems to work fine until it tries to install grub. I haven't seen progress the past hour and this is the second attempt.  I'm trying to install 13.10, using a Linux Live USB. I don't care about the contents of the laptop.   I've been trying to find instructions about installing grub before starting the installation, hoping that would solve my issues, but I came up empty.  Laptop is 2 years old, it used to run dual-boot windows 7 and Ubuntu. I'm now doing a fresh install of just Ubuntu.  I hope anyone knows how I can find out why it is happening.
79211
I installed windows 8.1 on my new laptop (which came with freedos), I later tried to dual boot the pc with ubuntu 14.04 (with legacy mode). I didn't get an option to install alongside windows 8 so I went with "something else" option. I created the root and swap partitions and then installed ubuntu. Everything went fine while installation. But after rebooting it directly boots into ubuntu, it does not show the GRUB menu for choosing between ubuntu and windows.   After using 'fixmbr' in the windows installation disc, I can now boot into windows but cannot boot to ubuntu. I deleted the linux partition and tried to the above again but I ended with the same problem.  So I was thinking if there was a solution like a command or something which could make GRUB identify the windows partition and give an option to boot to it.  (if it may help, my windows is installed in legacy mode(as in BIOS mode).. if I disable legacy mode the laptop does not boot into any os and it asks for an EFI file to boot from. Also my liveusb boots only through UEFI mode. When I boot it in normal/BIOS mode it shows a blinking '_' )  Please help guys.. I need both the OSes for my projects. And I need them fast.  Thanx in advance..
54916
It's my first time installing ubuntu. I have Windows 7 and 8 before in my laptop (Acer Aspire 4752z). After Ubuntu (12.04) installed in my laptop, the Windows boot loader didn't recognize my Ubuntu so I updated grub from a live USB.   And after grub updated, Ubuntu was booting perfectly but my Windows wasn't listed in the grub menu. So I follow someone instruction to update grub again. And after reboot, the grub menu didn't show anymore.   After searching about this problem on the net and trying to update grub again and again, I decided to delete the Ubuntu partition from live USB. And shortly after, I booted to Windows with Hiren boot and I used mbrfix. But i think it failed. Now i cant show my BIOS setup or boot from DVD or USB.   After that, the only screen i can see after booting is:  error: unknown filesystem grub rescue&gt;
57717
I bought a new SSD for my Lenovo Thinkpad W530 (I am not sure if hadware is relevant). I installed 15.04 on the new SSD in EFI-only mode with manual partitioning (/efi, / and /home partitions, bootloader installed to /efi).  So far, so good. I then tried to insert my old drive because I wanted to copy some files on an external drive and then a new ssd drive. To my dismay, it refused to boot. I had to install repair-boot which solved the problem. I then inserted my new SSD and it againd refused to boot. Again, repair-boot solved it. What is going on? Is something written to some circuits on the motherboard in the laptop?
14207
I am trying to migrate my current C drive with Windows 10 installed (250GB M.2 SSD) to a 1TB M.2 SSD. Both are physically installed in my PC.  I used Macrium Reflect to clone the drive to the new SSD, which was successful as they were both identical (except the extra unallocated space in the new drive). I made sure that the new drive was GPT.  I then restarted, and in the boot menu changed the boot priority to the 1TB SSD, with the 250GB SSD as second priority. The boot mode is in UEFI.  However, it didn't work and when booting, the windows icon was still next to the 250GB SSD meaning it had booted from that drive.  I then opened my PC and physically disconnected the 250GB SSD. When I started up the computer again it gave me a "Recovery - your PC needs to be repaired" error, so obviously it was not able to boot from the 1TB drive at all and was going into recovery mode instead when it couldn't find the second priority boot.   I then reconnected the 250GB SSD, but instead of booting it in second priority, I disabled it in the boot menu. But this still didn't work and windows is still booting from this drive (evidenced by the windows icon next to it).  I am at a loss as to why even after disabling it in the boot menu it is still booting from this drive and why cloning, setting the new drive as GPT and ensuring it is booting in UEFI doesn't seem to be working. I've spent hours googling this and am at a loss! Any tips would be greatly appreciated!  Thanks
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!
15018
I installed Ubuntu alongside Windows 8, however have decided to unisntall Ubuntu.  First I booted into Parted Magic and, using GParted deleted all the ext4 and swap partitions.  This leaves me with the same partitions I had before I installed Ubuntu:  /dev/sda1 ntfs WINRE_DRV /dev/sda2 fat32 SYSTEM_DRV (my UEFI partition) /dev/sda3 fat32 LRS_ESP /dev/sda4 unknown Microsoft Reserved Partition /dev/sda5 ntfs Windows8_OS /dev/sda6 ntfs LENOVO /dev/sda7 ntfs PBR_DRV   I expected deleting the partitions would be enough to remove Ubuntu and allow me to boot back into Windows 8, however whenever I boot I get the following error:  error: no such partition.   which is followed by GRUB rescue:  grub rescue&gt;   In my UEFI partition, there are two directories BOOT and EFI. In BOOT is a single file - boot.sdi. In the EFI directory are another two directories, BOOT and Microsoft. Inside BOOT are two files, bkpbootx64.efi and bootx64.efi. The Microsoft directory has a directory in it named Boot. Inside it are the normal Microsoft EFI files (as far as I can tell).  Thinking there were still GRUB files left, I ran find . -iname "*grb*" and find . -iname "*grub*" in the UEFI partition, however only found one empty file, bootx64.efi.grb (which I deleted).  How is GRUB still installed, and how can I uninstall it?  I'm pretty new to UEFI and so things may need explained in detail. The computer is a Lenovo IdeaPad Z580.  edit: I forgot to mention, I deleted the ubuntu folder in the UEFI partition.  edit 2: I managed to get back into Windows through a "System Recovery" option in the laptop's BIOS settings. This may or may not have solved the issue.  edit 3: okay, I can boot almost normally now. When I boot, I see No partition active for a couple of seconds then Windows boots. How can I remove that?
118656
After trying to install both OS during 2 days, I'm confused and getting mad... I have SSD 128 GB and HDD 500 GB both empty. My laptop is Asus K55VM. BIOS support UEFI.  What I have done:   Install new SSD (Samsung 830 128GB) Use GParted on liveCD to create new table of partitions (GPT) and create 3 partitions (in the SSD) for different purposes:   Partition 1: 80 GB (w7);  Partition 2: 30 GB (Ubuntu 12.04 -Just / -);  Partition 3: 10 GB unused (for future extesion of the other partitions)  Install Windows 7 (with UEFI) in Partition 1. This create:   /dev/sda1 -> 100 MB for System (UEFI boot I guess) - FAT32 /dev/sda2 -> 100 MB aprox. for MSR /dev/sda3 -> 79.800 MB aprox. for Windows7 data    In this point everything works fine. I have W7. Now I install Ubuntu 12.04 amd64 (with UEFI) as follows:   Install / in Partition 2 -> /dev/sda4 30 GB ext4, and in the hdd I install /home and swap. I select bootloader in /dev/sda1 (where it's supposed to be the UEFI boot). I install updates and reboot.   Problem: Now just appears grub menu with Ubuntu entries and not Windows 7.  Alternative solution found: When I turn on laptop, before loading GRUB I press ESC key and appear BIOS boot, so I can select to boot the Windows partition, Ubuntu partition, DVD, USB, etc... but I think is not the best way to boot different OS.  I've tried: sudo update-grub2 with no success.  What can I do??
4933
I installed Ubuntu 14.04 onto my Acer Aspire E15. The PC has a 500 Gigabyte HDD.   During the installation it divided the HDD into separate partitions. However every time I turn on the PC it goes directly into Windows 8.1. It doesn't allow you the opportunity to select which OS you want to use.   Question 1: How do I set the PC so it will allow me to select the OS?  Question 2: And if #1 isn't possible. How to I remove Ubuntu from the PC and recover the partition for Windows
95026
I installed windows 10 on my laptop in UEFI mode with HDD GPT disk format, then I installed Ubuntu 16.04LTS on another partition. So I have Ubuntu dualboot with Windows 10 now.  I also installed rEFInd (it's like GUI for you to choose between different OSs) because I don't wanna use Grub2 as the default bootloader. Now I want to have Windows 7 too, but when I boot from the USB stick, an error screen showed up saying something like  the windows boot manager is having problems due to a recent hardware change   My system is still working fine so I don't know if the problem came from my system or if the setup I want is impossible.
35965
On trying to install Ubuntu 12.10 Desktop amd64 to a desktop pc using a ga a75 ud4h motherboard (which is using an AMD 3870k APU with a new 1TB HDD) following the advice in the  and  have now got to grub option screen for EFI install. Booting live dvd in EFI mode gives &quot;Secure Boot is not enabled&quot; just before grub kernel option list shows.  If the option to &quot;Install Ubuntu&quot; or &quot;Try Ubuntu without installing&quot; is selected gives &quot;can not read cd/0&quot; and &quot;the kernel must be loaded first&quot; errors. Using DVD or USB installation media gives same results and there has never been at any point an UEFI entry in bios/firmware settings or boot device list/s. It might be helpful to say that have had an alternative non-linux OS installing EFI mode on this hardware giving a GPT installation automagically using USB installation media when the hdd space was completely unallocated space. The USB device was listed under hard drives in bios/firmware one time boot list and did not have an UEFI entry. i.e. it installed EFI although no EFI or UEFI entry was assigned to the device like what is shown in many tutorials regarding UEFI installs. The only constructive information regarding this question is found at  and  but can not work out the answer. Checking md5sum and sha256 checksums on downloaded .iso and used &quot;Check disk for defects&quot; to check burned .iso when booting DVD in BIOS mode. No errors found. &quot;Check disk for defects&quot; will not run (or any other options) when DVD booted in EFI mode. Due to trying different distributions as well as older and newer flavours of Ubuntu all giving similar results in that no options from grub option screen in EFI mode are bootable (if getting that far) as well as spending time searching Ubuntu Forums have come to conclusion the firmware on this system is hardcoded to handle Microsoft EFI files only. After installing Windows EFI mode here is a  and here is a link to a thread i started at  which may be helpful to others building a dual boot system. Installing BIOS mode and using Boot-Repair to install grub-efi is not a complete solution due to the inability of using installation media EFI mode for recovery and maintenance due to the &quot;you need to load kernel first&quot; and &quot;can not read cd/files&quot; errors as described when trying to boot installation media using EFI. Secure Boot is not an issue. Using msinfo32 from windows confirms Secure Boot is not supported on this hardware. How to edit kernel or load kernel for EFI install? = How to EFI install Ubuntu? PLEASE CONSIDER: This is not a dupe!  The linked question that is indicated to having a working answer does not have a working answer to &quot;###How to edit kernel or load kernel for EFI install? = How to EFI install Ubuntu?&quot; therefor the workaround of installing using BIOS then manually install grub-efi without renaming bootloaders which works to get Ubuntu booting using EFI or using boot-repair to do this (and many unnecessary &quot;fixes&quot; if recommended repair is not changed in advanced settings) also works.  This goes some way to confirming hardcoding of firmware is not stopping grub the boot manager seeing the vmlinuz.efi files in /casper on DVD.  I would like an answer to this so would like this question to be reopened.
68992
what I want to do is this. I have an external hard disk drive, a SEAGATE expansion 1TB, you can take it a look here:  As you can see this is not a flash usb hard drive, it is a USB hard disk drive. What I want to do is installing Ubuntu in this external hard disk drive... BUT NOT PLACING THE GRUB ON MY C: DRIVE. In other words, I don't want to see the GRUB splash Window asking me every single time if I want to load Windows or Linux. I want my PC turn on or restart and go directly to Windows... BUT... I want to have Linux in my external USB hard disk drive How do I want to load Ubuntu then? Easy, when I restart my computer or just start it... in ASUS mother boards I have the possibility to select the boot device by pressing F8, and I get the boot menu. I want to turn on my computer, press F8, my mother board ask me what drive I want to use to load the Operating Sytem, I select the USB external hard disk drive where do I have Ubuntu, and bingo, I run Ubuntu. When I finish to use Ubuntu, I close it and turn off my computer. Later, I turn on my computer, and if I don't press F8, automatically load the hard disk drive C: and load Windows. My question about this, is what are the necessary steps to install the latest version from Ubuntu, doing exactly this. Not placing the GRUB in my C: hard disk drive, and installing it entirely in the external USB hard disk drive (normal one, not flash one).
122067
I have dual booted Ubuntu with Windows 7. I wanted to uninstall Ubuntu. So as per an answer for one of the related questions on this site I did the following:   Deleted the Ubuntu Partition through Windows. As per the answer now I was supposed to boot Windows from USB &amp; then do "repair startup".   But Windows could not find any problem hence nothing was done. So when my laptop booted normally (i.e. from HDD) it was showing some error like GRUB:/ unknown file system. I dont remember the exact words but it was something like this. Thus I couldn't boot windows neither Ubuntu. So again I had to install Ubuntu.  But now my question is how do I remove Ubuntu so that my laptop returns to the previous state of installing Ubuntu?  UPDATE: Seems that it wasnt on this site. My mistake :P .Here is the link
8543
I had windows 10 but during a reset, it died ( I know my bad ). So I am attempting to wipe the drive and install ubuntu from a clean install but whenever I select to install ubuntu it only gives me a black screen. It's in UEFI and secure boot.  Can anyone tell me what I'm doing wrong?
5704
I had Ubuntu 12.04 Beta installed on my computer. When 12.04 was finally released, I made a bootable USB Flash Drive using Startup Disk Creator.  Then I decided to check if this drive works properly and to reinstall the system on my desktop. I must add, my desktop behaves a bit strange when it comes to bootable USB's, it recognizes them as HDD.  In BIOS I changed priority of boot so USB Flash Drive (recognized as HDD) was first. Successfully booted, I installed Ubuntu. Everything worked fine, but...  Now I cannot boot from my real HDD. Every time I want to boot, I put the USB Flash Drive into my computer, boot, safely remove it and everything works.  What do I need to do to repair boot?
93912
So I had been literally trying to fix my windows not being able to boot at all for more than 24 hours straight till now. I almost read every single article and troubleshooting step on the web to find a solution but nothing seems to work. I will keep it short as much as I can.  I did all of the following and it was:  "Reset this PC" gave an error "The required drive partition is missing"  "Refresh this PC" gave an error "The drive where windows is installed is locked. Please unlock and try again"  "System restore" gave an error something I don't actually remember but its like "Choose your OS and then try again"  "Automatic Repair" just failed to fix it and reverted me back to advanced options.   After all of that, I did  bootrec /fixboot bootrec /fixmbr bootrec /scanos bootrec /rebuildbcd bcdboot d:\windows (D is where I have the windows installed and C is for system reserved) bcdboot d:\windows /s c: /f ALL   All of these command prompt lines failed giving multiple errors like:  For REBUILDBCD, it said "Identified total windows installations: 1" then clicked "Y" to add it to the list and then it said "The requested system device cannot be found"  For bcdboot d:\windows it said Failure when attempting to copy boot files"   I wiped the disk multiple times using diskpart and installed fresh copies of windows on it 3 times but each time the installation will finish stage 1 (at a very slow pace) then when it restarts to continue installation, it simply won't boot (Windows logo and a spinning dot circle below forever)  I gave up and tried a totally new HDD and installed windows to it, it booted so normal and fast actually so I made sure it was not an issue with the windows.  Now I am booted from the new HDD and reformatted the old HDD and working on data recovery using easeus and it is finding my stuff luckily. It is also noticeable that the old HDD is making some noise while it is reading now as I scan for lost files.  My ultimate question is, will this HDD ever be able to used again? Even as a storage drive not as a drive I boot from? Because it is being seen through the bios boot menu and I see it in the disk management with healthy status. Can this HDD be fixed or I'm better off stop using it?  Here is a screenshot of the health status through SMART using HD Tune Pro: