I just added a new SSD to my laptop. I installed Windows on it, and booted into Windows, and all is good.  Then I installed Ubuntu 14.04 on my second SSD, rebooted, and no GRUB menu appeared! I installed some updates, rebooted again, then did sudo update-grub, which gave me this:  Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-3.16.0-39-generic Found initrd image: /boot/initrd.img-3.16.0-39-generic Found linux image: /boot/vmlinuz-3.16.0-30-generic Found initrd image: /boot/initrd.img-3.16.0-30-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin done   Still no Windows found! I can see the drive with Windows installed, because it is auto-mounted when I log in. WTH is going on and how do I fix it?  Here is the output of lsblk. My Windows install is on sdc, and the drive mounted to /windows is a big NTFS drive for media.  NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 111.8G  0 disk  └─sda1   8:1    0 111.8G  0 part / sdb      8:16   0 698.7G  0 disk  ├─sdb1   8:17   0 668.9G  0 part /windows └─sdb2   8:18   0  29.8G  0 part  sdc      8:32   0 223.6G  0 disk  └─sdc1   8:33   0 223.6G  0 part /media/chris/920E78CD0E78ABBB sr0     11:0    1  1024M  0 rom
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?
76117
I did a fresh install of ubuntu 11.04, then I installed Windows 7. So I decided to fix the grub after win7 install using the ubuntu 11.04 Live CD.  Disaster:  instead of  $sudo grub-install --boot-directory=/media/uuid/ /dev/sda  I entered  $sudo grub-install --root-directory=/media/uuid/ /dev/sda  Now when my system boots, it stops at the grub console  grub>  My problem is exactly as this one  but I have not been able to fix my problem. Thanx for your help.
78004
First of all: this is not a duplicate of the all the " questions.  Problem:  When booting, the system will not boot unless the installer USB flash drive is present. If I boot without the USB drive, the screen goes black AFTER GRUB lists the different configurations available - so GRUB is on the correct disk, its what it does next that seems to be the problem.  With the USB drive inserted, its access light starts flashing while the system boots in a normal manner.  And yes: I have tried booting from the USB drive directly and then I get the "live" version, so I have not installed the OS on the flash drive by mistake :)   I have tried sudo grub-install /dev/sda and sudo update-grub just for fun, but nothing changed.  System in short:  Ubuntu 12.04 64-bit. i3 processor. UEFI bios. 128Gb SSD drive. The SSD has a 47 Mb EFI partition and the rest mounted as '/' (XFS).
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
14088
Hardware:  I've got an SSD (c),an internal HDD (d), an external HDD (e) and a USB flash drive (f).   How this all went down:   I downloaded Ubuntu and used a program to install it on my (F) drive. I reset my computer, ran the (F) drive for boot, and installed Ubuntu. I reset my computer, and it forcibly automatically booted into Windows 10 instead of Ubuntu. I went into Windows 10, and used a program called Easy BCD, by NeoSmart. I followed their guide, but after step 6, it wasn't the same for me. Their guide said that upon rebooting, I should see a grub screen that lets me choose between Windows/Linux and a few other options, however my computer would only boot into Windows 10.  I decided to follow the rest of the guide regardless, however by the end it would let me boot 'windows' or 'linux', but the linux option would always break. It went to a screen with lots of commands, that I thought -may- be a barebones Linux or something, but it definitely wasn't Ubuntu.  I decided to reinstall Ubuntu using the USB flash drive. Upon resetting, no matter what hard drive or format I select for booting (besides the F drive), it says An operating system wasn't found. Try disconnecting any drives that don't contain an operating system. I can boot the F drive and run Ubuntu, but it's a one time version that doesn't save any of my data. When I went into the installation, it still says that I already have Ubuntu installed on the 4TB HDD and that I have Windows 10 installed on the SSD, however I cannot seem to boot into either of them.   TLDR: Windows 10/Ubuntu are both installed, Windows on the internal SSD and Ubuntu on the external HDD. Ubuntu's installation program on the (F) drive recognizes them, however, when I try to boot anything it says An operating system wasn't found.   When I press F11 and force it to boot from the SSD it says:  error: no such device: 83b6c64d-9a2c0467b-a02c-6374ee6ac3dc.  error: unknown filesystem. Entering rescue mode. . .  grub rescue&gt; _   and it will allow me to type some commands.
74728
The TL;DR, added in the edit:  The question is: How can I make the BIOS prefer GRUB over Windows Boot Manager on the same UEFI boot partition? The problem is not with Grub; Grub does the right thing when the BIOS starts it. The problem is not with &quot;the disk isn't bootable,&quot; because both the Windows UEFI bootstrap and the Grub UEFI bootstrap are bootable. The problem is which UEFI bootstrap the BIOS chooses to boot from.  I'm setting up a new computer, and want it to by default boot into Ubuntu, but have the option to select Windows on boot. This is especially important if power goes out and comes back; I won't even be in the house. I started out by installing Ubuntu 17.04 on my internal NVMe disk, partitioned with GPT to use half the disk, and a separate UEFI boot partition. GRUB boots that just fine, and I see the GRUB boot menu on start-up where I can select whatever items GRUB knows about. Then I installed Windows 10 Pro from a recently downloaded ISO. It installed Windows Boot Manager onto the same UEFI partition, and left the Ubuntu intact (great!) and that boots fine into Windows 10. However, it did &quot;something&quot; that makes the UEFI firmware immediately select the Windows Boot Manager rather than GRUB on power-up. The only way to boot Linux now is to use the BIOS boot manager (F11 on my BIOS) and select the GRUB boot loader manually. The UEFI BIOS knows that there are multiple bootable installs on the UEFI partition, because I can choose between them in the boot manager. However, when I'm in the setup menu in the UEFI BIOS, it just lets me choose &quot;UEFI boot my internal drive&quot; in the boot priority selection -- it doesn't let me choose which particular boot loader on that partition to use. And, by default, it chooses Windows, not GRUB. The internets (and this site) suggests that the old way to fix this is to run update-grub (so GRUB recognizes Windows) and then grub-install (to put GRUB back on the device.) I have done this, but unfortunately, it still has the behavior as described above, where the BIOS by default chooses Windows Boot Manager. (update-grub does find the Windows Boot Manager install, and adds that to the menu, and that menu item works when I manually choose the GRUB partition in the UEFI boot manager.) What can I do to make GRUB the &quot;default&quot; boot on my UEFI boot partition? Using a MSI X399 Carbon motherboard. Second edit: Because the correct answer ends up being mentioned in a comment to a response, I'll repeat it here: &quot;BCDEDIT&quot; in an admin shell on Windows is the working solution. The others don't work.
107756
I got a brand new Samsung 840 SSD. It came with "Data Migration" software from Samsung. I am running Windows 8.1.  Here are my steps exactly:     Installed new SSD into secondary bay (Disk 0: HDD, Disk 1: SSD).   Used the supplied software to migrate partitions C:\ and D:\ (the tool did not list any hidden OEM recovery or UEFI partitions) to the new SSD.   Shut down the computer.   Swapped the positions of the drives (Disk 0: now SSD, Disk 1: old HDD).   Booted up.     After this, Windows booted up, however according to Disk Manager, it booted from Disk 1 (the old HDD). I don't understand why, since I swapped the drives and did not change BIOS settings.  So now, I tried to fix:     Rebooted to BIOS/UEFI Changed boot priority to Disk 0 (the SSD)... again I don't understand how BIOS decided to automatically change it to Disk 1 (now the HDD) considering there was no Disk 1 before.   Booted to Windows.   It now boots up correctly, but still from Disk 1 (the HDD). Next:     Removed HDD from the bay (Disk 0: SSD, Disk 1: nothing).   Verified in BIOS that boot priority was Disk 0 only (disabled all other boot options).     Windows kind of booted up to login screen (without wallpaper, and with a black screen after login. I can move the mouse, and even bring up the Ctrl+Alt+Del screen that lets me log out, but that's pretty much it. Even the power button in the UI does not work.  So what am I doing wrong? I want to move the OS to the new SSD, and continue to have the old HDD as a data drive (I will remove the old OS partition from the HDD once I get the SSD working)
280
I have installed Ubuntu 15.10 alongside Windows 10 with UEFI. To install Ubuntu, I chose the option install alongside Windows 10 or something similar to this. Then I created a new partition for Ubuntu and installed it. After installation, the boot menu did not show up. Initially I thought Ubuntu has not been installed, but when I plugged in the USB drive and wanted to install Ubuntu I saw an option of reinstalling Ubuntu on my machine. So, I found out that Ubuntu is installed. Pressing F8 and F12 also does not help. Can anyone help me bring up the GRUB boot menu? In Windows, I also entered the command bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi in cmd, but still the boot menu does not show up.  Reply (Himanshu) : Just boot in bios and, if you can, add boot option with name say ubuntu and path EFI/ubuntu/shimx64.efi. No need for live PCB or anything. Move the boot option to top. This is for dell GUI bios but I assume it works for all. Or you may want to see  or , where you can enable Windows Boot Loader for one boot or forever as you wish, and boot Ubuntu from it. If you want now, you can use the installed Ubuntu terminal to use the commands update-grub to use GRUB instead. (Not enough reputation to answer properly btw.)
13109
I have an Ubuntu 12.04 / Windows 7 dual boot. After installing Ubuntu my computer reboots straight to Windows. There is no option to boot Ubuntu.  Specs:   OS: Windows 7 Home Premium     CPU: Intel i5 2500k     mobo: ASUS P8Z68-V Pro     GPU: GeForce GTX 570      SSD: Corsair 120GB (Windows 7)     HDD: WD 1TB      I select the USB drive in the BIOS and boot to it and choose install. I select to manually configure partitions, partition the 200 GB of unallocated space on my 1 TB HDD into 16 GB swap file, 30 GB / ext4, and 154 GB /home ext4.   I made sure that the bootloader is installed on the Corsair 120GB SSD (where the Windows boot is) and the installation goes smoothly.  When I reboot after the install it runs through the BIOS straight into Windows. I have tried upwards of a dozen times and I have also tried with Linux Mint. I have also redownloaded the ISO and used two different programs to create the live USB.   The installation seems to have gone well, as after the installation I can see the partitions I have created in Windows Device Manager.       I currently run Lubuntu on my laptop, but it is not a dual boot. I'm assuming this is a bootloader issue and I am assuming that inside those partitioned files in my screenshot there is a working Ubuntu 12.04. I just have no way of getting to it.    Update: (copied from comment)  I booted using my Ubuntu live USB and used the Boot-Repair tool suggested in .   Upon opening the tool I saw that it was recognizing my SSD as a removable drive and defaulting to install on the HDD. Once I realized that I was able to force install onto the SSD. My computer can now boot Ubuntu.
53847
I installed Ubuntu (twice actually) onto the same drive. I wanted to 'try again' since one of them didn't install correctly and the other installed differently, but it worked.   I was getting frustrated with the GRUB menu because it was really sloppy (There were two Windows options - one with the Windows bootloader to go into Ubuntu, and two different versions of Ubuntu from the first install for some reason and memtest, etc.).  In my attempts at getting rid Ubuntu to do a fresh installation, I went ahead and deleted the partitions that weren't swap or main via Windows 7. As I said, I am a noob.  Now, even though I though I completely got rid of Ubuntu, including the GRUB menu, when I boot my PC I am brought directly to GRUB Rescue. And from what I've found from other forums, GRUB rescue isn't even completely functional for me (it doesn't recognize any commands that it should support besides ls. It also returns unknown filesystem for any partition I try to view or boot.)  Is there any way that I can boot straight into Windows? I fear I may have gone about deleting those partitions in the wrong way. If so, what are my options?
2326
Long story short, I installed ubuntu while I was watching netflix and feeling very lazy, and may have lost all my windows 7 files.  Quick summary:    -Windows 7 was installed on Legacy bios and I installed ubuntu on UEFI bios -ubuntu installer didn't detect any other OS on my computer and wanted to write over the disk, so I had to manually edit the partition    -Despite repeated warnings about partitioning windows in the ubuntu installer, I did this anyway, assigning 140 gigs to ubuntu and 500 to windows Now, my computer won't boot into anything but Ubuntu  -in Gparted, it still shows that I have two partitions, and windows 7 boot loader -However, I can't boot into the non-linux partition, and boot loader says I need a recovery disk.  My question is does anyone know if what I've done is fixable? I'm hoping that I can fix it using the way outlined in this thread:   Thanks for the help everyone!  Note: gparted shows:    Foudn linux image: /boot/vmlinuz - 3.13.0.30 - generic   Found linitrd image: /boot/initrd.img - 3.13.0 - 30 - generic   Found linux image: /boot/vmlinuz - 3.13.0 - 24 generic   Found  initrd image: /boot/initrd.img - 3.13.0 - 24- generic   memtest   memtest   Found windows 7 (loader) on /dev/sda1
15328
I have  dual boot with Linux and Windows on my machine, So apparently after I made a new disk partition, I think I messed up the  Linux partition. Now after I boot my machine I get the grub rescue console. I tried to fix this with these commands  :  Set boot =(hd0, 6)  Set prefix=(hd0,6)/boot /grub   This Commands run fine but when I type :  Insmod normal   I get unknown file system  error   Any ideas?
124209
I'm new to linux world. Just  downloaded ubuntu and installed it alongside with windows 7  . In grub when I choose ubuntu, it opens with no problem, but when I try to open windows 7, this message appears:   A Disk Read Error Occured. Press CTRL+ALT+DEL to restart.   I googled for that  problem which  directed me to download a boot repair tool,  when I choose : advanced options / retore MBR --&gt; apply, then restart computer , It boot to win 7 without loading the grub menu.  then I opened the live ubuntu from a  USB,  launched the "boot repair" again, choose : recommended repair , then restart, It  returns to the first  problem , grub menu appear, from which I can choose only ubuntu , but win 7 show this msg again :   A Disk Read Error Occured. Press CTRL+ALT+DEL to restart.   I repeated more and more with the same results ...   What should I do?  I created a boot info summary using the "boot repair tool" if this can help , it's in .
4233
NVIDIA drivers upgrade crashed my Windows 7 installation, so I'm working to undo the damage.  What I can do: I can boot Windows install from the USB drive, and I can boot the . Although automated Windows repair fails, I can get to command prompt when I boot Windows install from USB drive, and I can see my drive and all my data.  What I cannot do: I cannot boot into Windows - I get this message:  Windows failed to start. A recent hardware or software change might be the cause. To fix the problem: 1. Insert Windows CD and run a repair your computer option. File: /Boot/BCD Status: 0xc000000f Info: an error occurred while attempting to read the boot configuration data.   It seems that something is wrong with my /Boot/BCD, so I'm trying to recreate it from scratch. I've tried all the methods detailed  (including Windows repair which fails), and I'm left with the last one (near the bottom of that page). When I type the following command as in the tutorial:  bcdedit.exe /import c:\boot\bcd.temp   ...it fails with the following error:  The store import operation has failed. The requested system device cannot be found.   Many Google results say that I must use diskpart to set my partition active, however it's already set as active.  Also, when I try this:  bcdedit /enum   It fails with similar message:  The boot configuration data store could not be opened. The requested system device cannot be found.   Does anyone know what does that error message mean, and what is the requested system device?  I'd like to avoid having to reinstall Windows since all the files on disk seem to be fine.
118418
I did apt-get upgrade it never finishes at this point:  Searching for GRUB installation directory ... found: /boot/grub Searching for default file ... found: /boot/grub/default Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst Searching for splash image ... none found, skipping ... Found kernel: /boot/vmlinuz-3.2.0-24-virtual Updating /boot/grub/menu.lst ... done  You already have a NoLOADER configuration in /etc/grub.conf Running boot loader as requested Running /usr/sbin/grub  ...    The system does not freeze (Ctrl-Z works, I get my console back) just that that /usr/sbin/grub seems to never complete.  What should I do?
29067
I have a dual boot setup:   Ubuntu 16.04 LTS Windows   Currently when I want to reboot from Ubuntu into Windows I use grub-reboot with the appropriate number as argument. This works well.  However sometimes Windows needs a reboot so a certain program can install or update and I manually have to select the right grub boot menu entry. Is there a similar way (from Windows UI) to tell grub which entry to boot?  I suppose the grub-reboot command passes the argument to a file which is in turn read by grub upon reboot.  edit (concerning my selected answer): I'm currently looking into mounting the ext4 drive that contains /boot and scripting the edit. this will possibly take quite a while since i'm doing this in my free time beside my 40h/week non-tech job. ^^
46857
I'm trying without success to install Ubuntu 14.04 on my Toshiba Portege.   I want to remove Windows 7 and I tried with the automatic partitioning from the USB installer (I found that compared to previous Ubuntu's version it is getting more complicated).   When it finally started installing (first time without any bar of progress, very annoying, then I shut down and tried again and the progress was shown), it is stack on   Creating ext4 file system for / in partition #2 of SCI1 (0,0,0) (sda)   and in the details there are many errors like  /usr/lib/ubiquity/frontend/gtk_components/nmwidgets.py:18: Source ID 86689 was not found when attempting to remove it Glib.source_remove(self.timeout).   I let it run all the night but it is still there.  I also got the error:  The attempt to mount a file system with type vfat in SCSI2 (0,0,0), partition #1 (sda) at /boot/efi failed You may resume partitioning from the partitioning menu.