I'm running Ubuntu 16.04 and Windows 10 on 2 separate hard drives (no partitions, 2 physical hard drives).  Two things have happened:   I no longer get the GRUB boot loader screen which allows me to choose which operating system I boot into (I recall that this used to work under a similar setting running Linux Mint 15 and Windows 7) Suddenly Windows 10 won't boot anymore. Even though I set it as the first drive to boot from in the BIOS.    What am I doing wrong here? I've seen some stuff about installing ubuntu in uefi mode. Is that something I need to consider? I am fairly new to Ubuntu and a complete noob when it comes to setting up partitions, etc.  Thank you,  BR  Johan
19813
Accidental BIOS mode install  I have Intel 64-bit hardware with UEFI setup utility. Ubuntu 14.04.1 LTS was  installed as the only operating system on the only drive attached. Accidentally Ubuntu was installed in BIOS/CSM/legacy mode.  Convert to UEFI  While later on learning about UEFI, the goal is to change this existing Ubuntu installation to (quicker) boot via EFI/UEFI. I do still want to have some kind of - 2 seconds displayed - boot menu that allows me to enter the UEFI setup utility. Therefore I think I do need use Grub (can't use an EFI boot stub) and . I have already re-partitioned the drive using a Live CD and inserted a 200 MiB EFI partition in the beginning of the drive and marked that fat16 formatted partition as type id 0xEF.  Before:  # fdisk -l /dev/sda ...    Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   108478463    54238208   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris   After:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *      411648   108478463    54033408   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda3            2048      411647      204800   ef  EFI (FAT-12/16/32) /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris  Partition table entries are not in disk order   No boot-repair please  The Ubuntu community wiki suggests to use boot-repair to . I don't want to use a GUI, or install any extra packages, and I don't want any data being accidentally sent to pastebin.com and because I do want to know what will be changed exactly, I don't want to use .  Under the hood  Trying to figure out what boot-repair actually does, I found this snippet:     Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi, if gpt partitioned.   source:   UEFI mode install comparison  A clean Ubuntu 14.04.1 installation in UEFI mode creates a 512 MiB Fat32 formatted EFI partition. That partition contains one directory /EFI/ubuntu, containing 4 files: grub.cfg, grubx64.efi, MokManager.efi and shimx64.efi. The grub.cfg contains:  search.fs_uuid 7d843e47-3917-4114-8725-55dfa1fbe002 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg   Search.fs_uuid points to the UUID of the Linux installation partition, in this comparison UEFI installation Linux is installed partition /dev/sda2 (versus sda1 in BIOS mode installation).   No potential Asrock firmware issues found  Having CSM still disabled in firmware and using the clean UEFI mode Ubuntu installation. Resizing the 512 MiB EFI partition to 200 MiB using a Live CD and gparted results in that its formatting changes from FAT32 to FAT16. The Asrock firmware P1.50 (incorrectly called BIOS by AMI in boot message "BIOS date") is still able to boot into UEFI mode Ubuntu: UEFI+FAT16 = ok. (msdos) using the same Live CD terminal command gdisk and its commands r g p w also results in a UEFI bootable Ubuntu on an MBR partitioned drive: UEFI+MBR = ok.   Question  Does this mean that the only commands I do need to execute - from the legacy Ubuntu install and in this order - are:  # apt-get install grub-efi # apt-get remove grub-pc   ? Or is more needed to be done?
45762
I have finally installed Ubuntu on my second drive. When I start my computer GRUB only offers me to boot Ubuntu, not Windows 7. What needs to be done so that I can choose between Ubuntu and Windows in GRUB?  When I press F12 for boot menu at startup and I choose Windows Boot Manager it boots into Windows 7.    I ran command sudo fdisk -l and here is log ():  WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.   Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0xc3ffc3ff     Device Boot      Start         End      Blocks   Id  System /dev/sda1               1  1953525167   976762583+  ee  GPT Partition 1 does not start on physical sector boundary.
37132
I have dual boot configured with Windows 7 (32bit) and Ubuntu 12.04(64bit). I installed Ubuntu after windows, now my windows is corrupt due to some virus and I need to reinstall it. Currently when I start my PC, grub loader comes up and I need to select Ubuntu or Windows.   I was wondering how can I install windows again and still have my Ubuntu install? Is there a way to do this?  I do not want to install Ubuntu again and lose my settings and data there.   Thanks, Ketan
66281
I want to install Ubuntu and learn Linux.  I've been using Raspbian a bit and really would like to get away from Windows as much as possible.  The only problem is some of the games I use requires Windows for now.  Also, I'm taking classes through Coursera and using online tutorials to learn Linux from and would like an operating system installed besides the Raspbian I have on my Pi.  I have a desktop computer with Windows 10 installed on a SSD (M.2 if it matters) and another HDD used to store files. I have a new 1 TB HDD I'd like to install Ubuntu on. My plan is to install it and place the GRUB bootloader on the new drive.  I can then point the UEFI to that drive as the primary boot drive and GRUB should allow me to choose Linux or Windows. My thought is if I do this, I can change the boot order in UEFI back to C:\ drive and have the machine boot directly to Windows as it does now. Then I have the option of having a dual boot system or a Windows only system. Is this viable?  Should I use the whole drive for Linux?    Also, I'm reading a couple different opinions on disabling Secure Boot and Fast Boot from the UEFI.  Any reason not to disable these in my plan above?  Any other advice is welcome. I appreciate the help!
48076
I have a windows 7 Computer.  I want to install ubuntu.  I know if I install to the unallocated it will set up the multiboot like it should.  However, I want to set the partitions up manually, I want different stuff in different partitions, e.g. logs.  If I do this, will the installer still set up the multiboot like it should?
10554
I've just upgraded to Windows 10 from Windows 8.1 on my partitioned laptop that has Ubuntu 14.04 installed. Grub no longer appeared on boot so I ran boot-repair from an Ubuntu liveUSB. This didn't seem to have any effect. I've checked and secure boot is still disabled. Log from boot-repair:  So what's next?  Update: I've attempted to use chroot to update grub from my Ubuntu partition. update-grub runs successfully finding both linux and windows boot manager but the process still doesn't have any effect. grub-install complains that it cannot find EFI directory (but I have mounted everything correctly).  Update2: Just discovered that running efibootmgr after chroot into ubuntu shows ubuntu as not being in the boot order at all. I manually changed the order and rebooted to discover that the bootorder was reset. I run in windows: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi But this has no effect either even after reporting 'Operation Successful'.
54683
I've created a bootable USB of Ubuntu 16.04 64-bit with Rufus, setting the drive to be a GPT for UEFI. Then I booted my tablet PC and I ran the UEFI BIOS, from which I turned secure boot off. I then restarted and went again on the BIOS to boot from my key, but all I got was a black screen that lasted few seconds and then it brought me back to the BIOS. I read about a bootia32.efi file and other procedures that can be followed, but I didn't find a good explanation of what I need to get done. My tablet PC runs an Intel Core Atom Z3735F and has 2 GB of RAM. If you have the answer please let me know.
98113
I recently installed Ubuntu in dual boot along with Windows 10 on an HP laptop. Initially I was unable to boot up Windows using grub as selecting the Windows options would just loop back to grub.  Then I performed a boot repair, and all these extra options showed up in the grub menu.  I'm able to open up Windows using "Windows UEFI bootmgfw.efi" option, but not using the standard option of "Windows Boot Manager (on /dev/sda1).  How do I reduce these entries and why can't I boot Windows using the latter option?  Here's an image of grub. The first option is Ubuntu:
12166
I have a dumb problem that I'm hoping that someone can point me in the right direction on. I'm trying to install ubuntu 16.04.1 on a windows10 machine. I've followed all the steps correctly (I think) all the way up to the point where I am supposed to go through the install program on the thumb drive. The first problem is that it does not show the option screen that has the partition the hard drive options (see here: ). The next page (here:) only shows that my "device for boot loader installation" is the thumb drive itself.  I'm confused. I've made sure that there is in windows a free partition with no drive assigned and every other step up till the point where I reach this dead end I've followed correctly seemingly. Can anyone tell me what's going wrong?
55365
I have an X-series Asus laptop which I just bough about a month ago. I want to dualboot Ubuntu - Windows.  I can easily access LiveUSB with both UEFI enabled and disabled. I heard that there were problems with UEFI, so I disabled it. After I've installed the system I couldn't access it. It just boots to Windows straight.  Another unusual thing, that never happened to me before was that the partition editor wanted me to create a BIOS reserved area, which I did, but not at the beginning of the table.  Any ideas how to access the Ubuntu partition?  As far as I can guess both Windows and Ubuntu have to be both of the same type of boot, either Legacy or EFI. This is not the case of what I have now. So, if I reinstall Ubuntu in UEFI mode that correlates with my Windows type, will I then be able to boot into it?  I have a constraint, my laptop doesn't have a CD ROM, so I cannot reinstall WIndows, nor can I move around the Windows recovery partition.  This is the boot-repair report :    SOLUTION  I've enabled UEFI in BIOS, and reinstalled Ubuntu with UEFI enabled. It works fine now, although if I select Windows from the GRUB menu, it doesn't work. But I can live with that, since I can just select Windows boot from the BIOS instead.
107573
I have a Windows 8 system and was about to install Ubuntu 14.04 in dual boot mode, when I heard about Windows 10 releasing. Now that the Windows 10 has rolled out, I would like to know whether doing the same steps as for Windows 8 would install it. I would wait until somebody else has tried it out and posted it on the internet, but I'm somewhat out of time to wait. Will it be risky trying it out so soon, or does anyone know about what would work?
44072
Im not familiar with Ubuntu or Linux in general but have succesfully installed dual-boot windows7/Ubuntu on a single harddisk on my private PC. I used the "Install Ubuntu alongside them"-option.   On my work PC I have an existing windows 7 64-bit installation that boots from BIOS firmware on a SSD drive (C:), and have my working data (documents etc) on a partition on a separate disk (D:). I now want to install Ubuntu (v 14.04.3) on the remaining unformatted space on D:\ using with the option of choosing system using GRUB. There are of cause fine descriptions around (e.g.  and ). My question is how to setup the partitions in the "something else"- option during the Ubuntu installation.   In  tutorial they assume that all partitions on the D-drive can be deleted; however I only obviously want to keep the working data on the existing D-partition, and place Ubuntu on the residual space (or part of it) on the D:-drive.  A) How is this ensured ? B) how many partitions should I make (boot, root, home, swap ?)  C) and should boot be made primary, and the others logical ? D) Should I set Device for boot loader installation as/dev/sdb - will this not erase the existing D-partion ?
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
17792
I recently got a computer from school. It came with Windows 8.1 installed. I then installed another copy of Windows 8.1 (so it would use the built-in Windows Pro license) and upgraded it to Windows 10. I then installed Ubuntu alongside both Windows 8 and 10. Note that I made a separate 255MB ext2 partition for /boot. Now, when I boot the computer, I first see a GRUB prompt (I already un-hid the grub prompt 'cuz I like it that way) with Windows 8 and Ubuntu options. However, there is no Windows 10 option. If I select Ubuntu, the computer boots into Ubuntu. However, if I select the Windows 8 option, I then get sent to the Windows bootloader, where it then gives me options to boot either Windows 8 or Windows 10. (However, by this point, the computer has already loaded the kernel and all. Apparently Microsoft misunderstood the concept of a bootloader and decided that that meant &quot;boot practically the entire system before actually showing the bootloader&quot;. Typical Microsoft.) How can I disable the Windows bootloader and add a Windows 10 option to GRUB? EDIT: Someone has answered telling me to disable the Windows bootloader. However, I still do not know how to add Windows to the GRUB OS list. Can anyone help with this? EDIT 2: After removing Windows 10 from the Windows bootloader with EasyBCD, it seemed that, after a few reboots, it would continually unhide itself and Windows 10 would reappear. However, I then later deleted Windows 10 from the list of OSes in msconfig, and it seems to have stayed deleted. However, I STILL have not managed to get Windows 10 to appear in GRUB. It's as if GRUB simply doesn't detect it. Also, I'll put this in the question so that people see it - I have tried using boot-repair, however, it has NOT helped any.
66960
I have a Lenovo Ideapad with pre-installed Windows 8.1 In order to install Ubuntu I disabled secure boot and changed boot mode from UEFI to Legacy. This allowed me to install Ubuntu and the grub loader is also showing an option to either boot into Windows or Ubuntu, but whenever I try booting to Windows it says Cannot load.  This happens because the boot order is set to Legacy mode and Windows 8 will boot only with UEFI. I am unable to access my BIOS from where I can change the boot order. I press F1/F2 on booting but it doesn't load the BIOS, and directly goes to the grub loader screen.  How can I make my Windows 8 run along with Ubuntu?
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.)
1658
I'm having a lot of issues dual booting Windows 10 and Ubuntu 14.04. I'd like to not do anything too crazy if possible.  I need to install Windows 10, when I already have Ubuntu 14.04 installed. My Laptop is a Dell.  OK, here's what I need help with:   Downloading everything I need Making my live USB's Split partitions Installing Windows 10 Repairing Grub Fixing the UEFI to boot Grub