Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 412  / 1 Year ago, sun, february 19, 2023, 12:52:08

I am using Windows 10 and I'd like to install Ubuntu as a secondary OS (I want the first option in the "boot-up" screen to be Windows). I am a noob so please bare with me. A couple of years ago I somehow managed to do this, but I was only using one HDD at that time and didn't run into these issues.


Windows 10 is installed on an SSD on my laptop. I also have a HDD inside and I shrunk this partition and freed up 50 GB to create a partition specially for Ubuntu on my HDD.


I flashed a USB stick with Ubuntu on it and I am unsure how to proceed.


My problem is that inside the Ubuntu installer I don't know whether I should choose Primary or Logical and which Mount point is correct. I tried Logical (which is the default option) and "/" as a mount point and the partition got created as 'Ext4', however, I don't know what option I should choose for "Device for boot loader installation". I tried /dev/sda as suggested in another thread here but the installer said "No EFI system partition was found" and it warned me that the installation might fail.


In msinfo32 it says the BIOS mode is Legacy, if that is of any help. Also, here is a picture showing all the partitions available (the last one is the free space that I left after shrinking the HDD which isn't visible in this picture, but it's the 50 GB free space):


Image of available partitions as shown in the Ubuntu installer


Other steps I've done after reading How to Install Ubuntu on separate hard drive in a dual boot With Windows 7?


I shrunk my HDD using Disk Management inside Windows. Also, Ubuntu Live USB gives me two options only: "Erase disk and install Ubuntu" or "Something else" (I chose "Something else"). After I created a partition from the 50 GB free space and chose /dev/stb as "Device for boot loader installation", it still tells me: "No EFI System Partition was found. This system will likely not be able to boot successfully, and the installation process may fail. Please go back and add a EFI System Partition or continue at your own risk." So I created a 256 MB EFI partition from the 50 GB free space as suggested in one of the related threads and the installer accepted that as a device for boot loader installation and Ubuntu was installing, but at the end it said: "Executing 'grub-install/dev/sdb5' failed. This is a fatal error" (sdb5 is the EFI partition I made). It prompted me to report the error to the developers but I didn't do that. I restarted my PC and it straight-up booted into Windows. No option to switch to Ubuntu. This is one of the most frustrating things I've ever done and I don't understand what I'm doing wrong.


Thank you in advance!


More From » dual-boot

 Answers
6

After user68186 gave me plenty of suggestions, I managed to find something in BIOS called "Boot Override" and that allowed me to choose to boot from USB without it being UEFI USB, therefore Legacy (aka BIOS), which is just what I needed. My Ubuntu Live USB kept booting into UEFI, which messed up everything. Many thanks to them!


[#1843] Monday, February 20, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
onomicsiberated

Total Points: 217
Total Questions: 98
Total Answers: 107

Location: Luxembourg
Member since Sun, May 28, 2023
1 Year ago
onomicsiberated questions
Wed, Mar 22, 23, 20:38, 1 Year ago
Thu, Oct 6, 22, 05:00, 2 Years ago
Tue, May 3, 22, 16:34, 2 Years ago
;