The title is quite self explanatory. I have been struggling with this problem for a few days now. To start off, I have a laptop with Win10 and a SSD+HDD system. The SSD is 250GB so I have space to play around with it. Currently Win10 is installed in the SSD and the HDD is mainly used as extra memory.   Firstly, I did a fresh windows 10 install. This was due to the fact that my BIOS was set to Legacy, and when I wanted to install Ubuntu I got "the force UEFI installation message". So I decided to disable Legacy mode and reinstall Win 10 in UEFI. After that, I have followed multiple guides to install Ubuntu.   At first, I tried the first option in installation to install automatically along Win10. After the install finished, the laptop booted automatically into Win10. No boot manager, no grub, no nothing.   I assumed that the install messed up something so    I tried again using the something else method. I mostly used . Still didn't work. When I turn on the laptop it just boots automatically into Win10.   When I went in the BIOS to check the boot order I have first: USB, HDD, OS Boot manager, Network. These are my only options, no Ubuntu. I have also tried to move some of these up and down and see the results, no change.
797
I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.  Should I do it with Wubi, or through the Live USB/DVD?  What steps do I need to take to correctly install Ubuntu?
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.
63517
Now Windows 8 supports the UEFI bootloader and I have read that its different from the BIOS, but it's unclear to me after many searches on the Google.  Some points in mind are below:-   As we all know, BIOS is an important part of accessing boot options. So UEFI will do that now? How?   How would I know that I'm booting with UEFI not with BIOS?  So what is the real difference in the "boot with BIOS" and "boot with UEFI"?
98251
So I have encountered the problem above mentioned. It might not be specific to Ubuntu, but it is Linux in general. The specifics are that I have created a separate 20gb partition for its installation and installed in legacy mode.  After the installation, I'm able to use Fedora well but only in Legacy mode (obviously).  When I change the BIOS, which I am able to access somehow, to UEFI, it is mentioning that no disk was found, and hence I cannot boot windows.  In Fedora when I check the partition, every bit of data is intact in C, D, and E drives regarding windows files, i.e. same before and after installation. I even checked the partitions and found that Microsoft and Windows files are there. So I'm assuming I have not replaced or tampered with Windows 10 OS.  There is a separate partition with Linux (20gb one). It consists only of Linux installed files.  Can anyone please help with restoring the Windows 10 OS back??   PS: I don't necessarily need Fedora to still be there, if uninstalling is required I'll do it, just need Windows back
73288
I've posted a question  that I have a 32bits windows 7 on a dual boot machine with ubuntu 10.04 upgraded to 11.04. From the responses I had from the questions, I decided to reinstall the windows 7 but this time a 64bits version.  I've install the grub on the first section of the HDD on which ubuntu is install, meaning the 2nd Drive.  I still want guidance before I proceed.  What would you suggest me as best way to achieve that without disturbing the boot loading.  thank you for reading this.
18153
I have a Lenovo IdeaPad Y400 that came pre-installed with Windows 8. I would like to run Ubuntu alongside it in a dual-boot configuration. I've spent the past week fiddling around, re-installing both Windows and Linux in various configurations, and I've come awfully close to success, but seem to have hit a snag with Grub.  For my most recent attempt, I took the following steps:   Disabled Secure Boot Re-imaged Windows 8 from a hidden recovery partition, effectively restoring the machine to factory state Activated an option called Legacy Support in the BIOS (or is it UEFI now?) Booted Ubuntu 13.04 x64 from a USB stick, chose "install alongside Windows" and accepted all default options After a restart, found that I could boot Ubuntu, but could not boot Windows Once into Ubuntu, I ran Boot Repair with recommended settings and accepted all defaults. When Boot Repair finished, I was presented with the following message:      The boot files of [The OS now in use - Ubuntu 13.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]. ()    I followed the instructions at the url in the message, creating a 1GB EXT 4 partition near the start of the drive  when I tried to run Boot Repair again, the "Separate /boot partition" option on the "Grub Location" tab was disabled.  The new partition is /dev/sda11 and has the label GRUB. On restart, I get the following error message:      error: file '/boot/grub/i386-pc/normal.mod' not found.    grub rescue>    However, if I manually choose the boot partition by hitting F12, I can boot into Windows no problems. Selecting Ubuntu from the boot device menu gives me a Grub menu with the following options:      Ubuntu      Advanced options for Ubuntu       Windows UEFI recovery bootmgfw.efi      Windows Boot UEFI recovery       Windows UEFI recovery LrsBootmgr.efi      Windows Boot UEFI recovery bkpbootx64.efi       Windows Recovery Environment (loader) (on /dev/sda3)       Windows 8 (loader) (on /dev/sda5) System setup    Selecting Ubuntu from this menu allows me to get to my Ubuntu desktop. I haven't tried the other options yet for fear of losing the progress that I've made.   So it looks like I have successfully dual-booted the machine, but that Grub is broken for some reason or another.   My current partition scheme can be seen at:   Thanks in advance - Jonathan
19096
After successfully updating my bios,  and I ended up with a blinking cursor on the top left corner of a black screen. No errors, no nothing. The bios now only listed a SATA: &lt;disc name&gt; boot option in place of the usual UEFI ubuntu one. I'm using a GPT partitioning scheme.  I eventually found that the working solution was to properly reinstall grub-efi-amd64. So, how do I do this ?  PS: Actually, i succeeded to reinstall GRUB2 EFI on my own and will post my answer here as I was unable to find any complete how-to on this.
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.
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
116529
I have changed my system to boot from UEFI instead of BIOS and have installed Windows 7 on my internal SSD which has GPT partition type.   I am trying to install Ubuntu 13.04 on my external HDD. My machine is a Lenovo . My HDD is a 1TB USB3 .  Here is some of what I have been trying:   My laptop is set to boot in UEFI mode. I have 64 bit version of Ubuntu, on my bootable flash disk    I took out my SSD before installing Ubuntu    Before installation my external HDD was also partitioned as GPT and it only had one 950GB partition   I tried two different methods:     First: When I let the Ubuntu to install itself automatically, without changing anything, the installation completed but Ubuntu did not boot. SSD was out and I am sure the systems boots in UEFI mode. Second: I tried to do the partitioning myself in the following order, but I still have the same problem, I am sure my HDD is partitioned as GPT:     /EFI Boot /(root)  /swap   /home     I chose to install the bootloader in /EFI boot.    Please let me know what I am doing wrong. Thanks  Update:  I was sure that Windows, on SSD, boots in UEFI mode. However, I disconnected my HDD and the windows did boot from SSD.I used the live USB to boot Ubuntu and let it do the partitioning and install Ubuntu on the external HDD. I still had the same problem and Ubuntu did not boot. Then I used the live USB and installed Boot-Repair. After running Boot-repair and a restart everything was good, and Ubuntu did boot from HDD. However, there is a line before booting into Ubuntu: ata_id[279]: HDIO_GET_IDENTITY failed for '/dev/sdb': Invalid argument But the system boots.  Boot Info Script: Here is a  I got after using Boot Repair.   I tried to change the partitioning and partition sizes. After reading , I changed the partitioning using Gparted. I also installed the bootloader in /dev/sda1 which is flagged as the /boot partition. As expected after installation and a reboot, Ubuntu did not boot. So by following  and  posts, I tried to register the bootloader to the EFI. But I was not successful. I even noticed that my machine might have  problem, and I changed the /EFI/Ubuntu/bootx64.efi name and location but no effect, Ubuntu did not want to boot.  Again, I used boot repair to solve the boot problem and it worked like the previous time and I am in Ubuntu. But I really like to know what is causing this problem. The interesting thing is that Boot Repair has created all possible folders and files. Is there a way that I know which folders are being used for boot? These are the different folders and files:   -/boot/efi/EFI/Boot/bootx64.efi   -/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi and bootx64.efi   -/boot/efi/EFI/ubuntu/bootx64.efi and grubx64.efi
9043
I've installed Windows 10 in BIOS mode and use MBR. How can I convert it to use UEFI and GPT without reinstalling Windows 10? Is this possible?
64819
I have Dell Inspiron 5567 laptop (i-7, 8GB) with Windows-10 OS installed on it. I am trying to install ubuntu 16.04 as a dual boot OS on Windows10. I have disabled fast boot and secure boot options also. I am facing this error while installing Ubuntu 16.04:  grub-efi-amd64-signed failed to install into /target/. Without GRUB boot loader, the installed system will not boot  The target partition is /dev/sda1.  I have created three partitions:  20GB-ext4- Root mounted 18.9GB-ext4- /home 4GB Swap area   Launchpad link for the log files:   Pastebin link for boot-repair:   Output of sudo fdisk -l:   Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 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 Disklabel type: gpt Disk identifier: F87D48DF-F3FF-429E-8F0B-558F81712A60  Device          Start        End    Sectors   Size Type /dev/sda1        2048    1026047    1024000   500M EFI System /dev/sda2     1026048    1288191     262144   128M Microsoft reserved /dev/sda3     1288192 1843265535 1841977344 878.3G Microsoft basic data /dev/sda4  1927151616 1928073215     921600   450M Windows recovery environment /dev/sda5  1928073216 1951281151   23207936  11.1G Windows recovery environment /dev/sda6  1951281152 1953523711    2242560   1.1G Windows recovery environment /dev/sda7  1843265536 1851078655    7813120   3.7G Linux swap /dev/sda8  1851078656 1890140159   39061504  18.6G Linux filesystem /dev/sda9  1890140160 1927151615   37011456  17.7G Linux filesystem  Partition table entries are not in disk order.   Output of sudo parted -l:  Model: ATA TOSHIBA MQ01ABD1 (scsi) Disk /dev/sda: 1000GB Sector size (logical/physical): 512B/4096B Partition Table: gpt Disk Flags:   Number  Start   End     Size    File system     Name                          Flags  1      1049kB  525MB   524MB   fat32           EFI system partition          boot, esp  2      525MB   660MB   134MB                   Microsoft reserved partition  msftres  3      660MB   944GB   943GB   ntfs            Basic data partition          msftdata  7      944GB   948GB   4000MB  linux-swap(v1)  8      948GB   968GB   20.0GB  ext4  9      968GB   987GB   18.9GB  ext4  4      987GB   987GB   472MB   ntfs                                          hidden, diag  5      987GB   999GB   11.9GB  ntfs                                          hidden, diag  6      999GB   1000GB  1148MB  ntfs                                          hidden, diag   Model: SRT USB (scsi) Disk /dev/sdb: 32.5GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags:   Number  Start   End     Size    Type     File system  Flags 1      1049kB  32.5GB  32.5GB  primary  fat32        boot, lba   Please guide me how to resolve this problem.
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:
67378
I need a method of creating a Full install USB that boots both BIOS and UEFI. Full install USB's have advantages over Persistent USB's as shown here:  I want to be able to carry my customized Ubuntu 20.04 OS around with me and boot it off any x86-64 computer that meets Ubuntu minimum spec's. I have seen a few methods of creating a Full install USB, but they are either not simple or do not boot  BIOS and UEFI. The use of an image file seems like the best method.
105870
I recently bought a shiny new Lenovo Yoga 2 Pro and I want to dual boot it with Ubuntu for studying purposes. Its built-in OS is Windows 8.1 and it has a 256GB SSD.  I've made a separate 90GB partition just for Ubuntu and a live USB to install it.  The first time everything seemed to work great, I solved the wifi issued by blacklisting ideapad_laptop, the installation went flawlessly and Ubuntu worked fine.  When I got up the next morning and turned on my laptop it booted into Windows right away without ever showing the GRUB menu. So I tried to reset, and checked my partitions with the Disk Manager and everything looked fine. Since I couldn't find a solution online I went ahead and formatted the partition to try and install again. This time and every time since, the installation was aborted and I got a fatal error saying:  Unable to install GRUB in /dev/sda Executing `grub-install /dev/sda` failed. This is a fatal error.   Can anyone please suggest a solution to this problem? If any further information is needed I would be happy to provide it. Thanks.  When installing I get the following in details:  ubuntu kernel: [ 1946.372741] FAT-fs (sda2): error, fat_get_cluster: invalid cluster chain (i_pos 0). ubuntu grub-installer: error: Running 'grub-install --force failed.
63072
I'm trying to replace Win8 with Ubuntu on a new Lenovo IdeaPad S10  with 4gb mem,500gb h/d.  Drilling down, I disable "Secure Boot" on the bios boot tab, but the  only 2 options under UEFI Boot priority order are Windows Boot Mgr  and EFI Network.  No "Boot from USB" option.  Someone here kindly suggested a link which reported they got added options by changing  "Secure Boot Mode" under the "Security" tab to "Legacy" but on my PC,  that option isn't selectable, ie, the selection cursor just bypasses  that selection. The only 2 selectable options are "Reset to Setup Mode"  and "Restore Factory Keys".  Anyone know who/where the usual suspects are hiding? How to flush them out?
97647
I want to install Ubuntu 14.04 alongside Windows 8.1. My computer works only with Legacy mode (can't boot Windows when switched to UEFI).   When I boot from usb with Ubuntu it says "This computer currently has no detected operating systems".  How should I proceed to install Ubuntu with Windows?