Dual Booting Mistakes & Installation Headaches


Dual Booting & Enternal Installation Headaches

Please forgive me as i am making an honest effort to keeping this as short and sweet as possible

So initially my laptop was dual booting Windows 10 & Linux Mint (this was my first instance in learning anything in regards to linux operating systems) Now after about 9 months of learning as much as i can about linux operating systems, and after much trial and error dilemmas, i had come to the conclusion that i wanted to switch to Ubuntu 19.04

Normally when i would boot my laptop, i would select F9 (select boot device) which is when i would select my internal hard drive (labelled as “Notebook Hard Drive” ..fallowing which i would be brought to the Grub2 menu where i would choose between Linux Mint 19 Cinnamon & Windows 10 Pro

One evening after work, in a fit of impatience i decided to simply delete the Linux Mint partitions from existence! (trial & error LOL) Now, I’m sure you all know what happens next? I was regrettably left with an un-bootable windows. After many hours trouble shooting and pain staking calls to computer techs that seem to have less experience then myself in Linux -.- I cease to find a solution to my problem.

So.. i then come up with this great idea! What if i were to install Ubuntu, alongside my Win10 partitions? Thinking to myself that maybe that would reinstall grub thinking i was a genius at this moment would be an understatement LOL

So i create the Ubuntu 19.04 boot-able USB, and away i go! After the installation, which didn’t go necessarily as planned, i learned this in-fact did not solve my problem! (during the installation i was required to make a EFI partition manually, which i did totalling 500mb. After-which i was able to install Ubuntu. It was recommended that i install Ubuntu on a singular partition of / which i did so)

Moving forward however, this did not solve my initial problem of having an un-bootable windows.. and now there was a second problem that had arisen.. When i boot my laptop, i begin to fallow the steps to which i have become accustomed to; being i select F9 and select my hard drive. Before i select my hard drive i notice that Ubuntu itself has it own selection right there in the “F9-Select Boot Device Menu” ..alittle confused i proceeded to select my hard drive just because id rather stick with what i know at this point in time. However, this failed to boot, just as it did after initially deleting the Mint partitions.

So i restart my PC, this time selecting Ubuntu itself from the boot device menu. However, this also will not boot. So after alittle investigation and brain storming, i had gone back to the boot device menu and noticed that alongside my “Notebook Hard Drive” & “Ubuntu” selections, there was a 3rd option to which i was able to select; “Boot From EFI” which after selecting, i would navigate thru finally discovering how to boot my Ubuntu installation (a procedure i have to fallow when booting Ubuntu every single time to this very moment..

Someone had said to me that it sounded like Windows was installed on BIOS and Ubuntu was installed on EFI ???

Lastly i went to visit a family member today, and while i was there i decided to create a new Windows 10 Media Creation Tool USB.. (i did have a DVD-RW with Windows 10 burned to it however i figured maybe an up-to-date USB would be better) after all, all bootrec attempts to save my windows installation have failed when using the DVD-RW so figured newer was better aha

I have initially decided to install Windows 10 onto my 750GB Ext HDD (USB) which when attempted, said my EXT HDD was unable to install Windows onto due to the fact that it was not GPT. So i boot BACK INTO Ubuntu and open GParted and convert my EXT HDD to GPT. Which i reboot back into my freshly made Win10 Creation Tool USB and discover that i get the error stating

“SETUP DOES NOT SUPPORT CONFIGURATION OF OR INSTALLATION TO DISKS CONNECTED THRU A USB OR IEEE 1394 PORT”

can’t install dual boot in second ssd hard drive. It starts only from usb

I’m trying to install Kubuntu in a Samsung SSD 850 EVO hard drive. Actually I’ve also a Samsung SSD 860 EVO hard drive with Windows 10 installed. I’ve downloaded the ISO and burned into the USB key with Rufus. The ISO was ok and when I reboot and I choose USB as boot device, it starts.

I perform the installation on the hard disk (/dev/sda) that’s ok, or at least I don’t see any error. When the installer tells me that I need to restart, I reboot the PC, I choose the drive with Ubuntu installed but windows appears again.

The strange thing is that if I boot from the USB key, the UEFI menu tells me that I can boot from usb the hard disk ubuntu installation starts. It’s like grub was installed on the usb key.

So if I remove the usb key and I boot from ubuntu disk, nothing happens (windows starts). If I boot from USB key Kubuntu starts from hard drive.

I’ve also created manually partitions during the installed to be sure that grub will be installed on my hard disk.

What I’m doing wrong?

Leaving the US on a foreign passport with no entry stamp/visa? For dual citizens

I am a dual citizen MEX/US. So I have a US and a Mexican passport. My US passport needs to be out of commission for a matter of weeks, and I need to exit the US during that time for travel. I am wondering if I can leave the US on my Mexican passport although it has no stamps in it currently

Obtaining the dual variables of an optimisation problem with second order cone constraints solved using Gurobi

I’m solving an optimisation problem with linear and second order cone constraints, in other words the problem is convex and should have dual variables. I’m using Julia with JuMP to formulate the optimisation problem and I’m solving the problem with Gurobi. From the JuMP documentation, it should be possible to obtain the dual variables using the function dual. However I obtain NaNs when I do this while a linear version of my problem returns the duals as expected. Can anyone explain to me why this is and possible work arounds?

Dual Chinese/British travelling from China to UK via third country – Non EU Suggestions

I am British my wife is Chinese. Our kids hold passports for both countries.

Last year we used method three from here to travel to visit family in the UK. Dual Nationality Thread

Last year we managed to get visas for France for my wife and children in their Chinese passports and also a UK visa for my wife.

We traveled out of China on their Chinese passports (this is the only way, the Chinese see the kids as Chinese) and arrived in France. Then we left France and flew to the UK, my wife used her Chinese passport to travel and my children used their British passports to exit France and to arrive in the UK.

This year we tried the same process. My wife was granted a French visa however the kids were not, the reason being that they do not believe the itinerary that was supplied with the application. The three applications were identical for the whole family – so we are currently trying to appeal this decision.

I am worried that making a new application for an EU visa while we are still appealing the first decision may not be viewed in a good light.

Has anyone successfully traveled via an alternative non-EU third country?

Mobile app development using Xcode. Single Graphics vs Dual Graphics?

I have decided to buy a pre-owned MacBook for mobile app development using Xcode, I have two options:

  1. MacBook Pro (13″, Early 2015)

    • Processor: 3.1 Ghz Intel Core i7, Integrated Graphics

    • 16 GB RAM

    • 512 GB SSD

    • Cost: 65K

  2. MacBook Pro (15″, Mid 2014)

    • Processor: 2.5Ghz Intel Iris Pro Graphics, Dual Graphics

    • 16 GB RAM

    • 512 GB SSD

    • Cost : 69K

Can any one please tell me which one is better for Xcode based on the year? Also what is the difference between single and dual graphics?

Unable to access GRUB in Win10/Ubuntu18.04 legacy dual boot

I’ve installed Windows 10 Pro & Ubuntu 18.04 on primary partitions on a Dell Opti-Plex 7010. I made sure to use legacy BIOS for OS installations on account of having partitioned the hard drive using Ubuntu Live’s GParted (MBR). After finishing the Ubuntu installation the PC doesn’t enter GRUB when booting, it just boots Windows. I think I created the 18.04 bootable USB about a year ago from 16.04, I don’t quite remember the settings (if there were any). I don’t know if this should make a difference when I installed this attempted dual boot selecting legacy BIOS.

(I tried to tag this question “legacy-bios”, but the tag doesn’t seem to exist.)

Dual Boot Problem – GRUB not loading Win10 / Windows 10

I wanted to dual boot using only the BIOS using two separate SSD’s (one existing Win10 and the other Kubuntu 19.04) but I didn’t realised thats just not how it works on UEFI systems.

So this is as much a reminder to myself as a guide to others. Anyways …

The 1st time I installed Kubuntu 19.04 I installed it having booted up in non-UEFI mode in the BIOS and I suspect this is when the all the directories on the Windows boot partition got scrubbed.

After I installed Kubuntu 19.04 the 2nd time it would only boot into Kubuntu without presenting the GRUB menu.

I installed and ran boot-repair (and selected unhide menu option) which resulted in the GRUB menu being presented but no Windows option. NOTE: I also ensured that GRON was intalled on all drives and that the SSD with Windows on it was the primary boot drive in the BIOS.

There is where I when off on a tagent trying to manually add custom menu options which resulted in errors like “Invalid EFI path” or “file /EFI/Microsoft/Boot/bootmgfw.efi not found”.

So heres the tip: If GRUB2 can’t find a bootable windows partition It wont add anything the the GRUB menu. So to confirm and fix this you will a Windows recovery USB and willingness to to use the CLI.

If you dont have a Win10 Recovery USB follow these instructions (assum ing you access to a working Win10 Machine) https://support.microsoft.com/en-us/help/4026852

Failing that

Steps: – Reboot using the Windows recovery USB – Go to Repair Your Computer > Trouble Shoot > Advanced Options > Command Prompt

@ Command Prompt  diskpart     ## Starts Win10 partion manager  sel disk 0   ## Selects the 1st disk drive  list vol     ## Shows partitions - The Windows boot partition will be about 100 Mb to ~250 Mb in size and is usually the 1st partition on the disk. You may need to work you way through the drive numbers.  ## Assing a drive letter if list vol shows NO drive letter for the boot partion -  skip this if a letter is alyeady assigned assign letter=S:   exit ## exits back to the command prompt  S: ## swaps to the S drive or use the drive letter  dir ## Lists all the top level folder oin this drive - in my case there was nothing!  mkdir \EFI\Microsoft\Boot\ cd \EFI\Microsoft\Boot\ ## create and cd into the boot folder  bootrec /fixboot bcdboot C:\Windows /s S: ## Installs the bootloader for winbdows and points it to C: drive ## C drive is were Windows is usually installed but use the drive letter per the list vol command.  - Exit and reboot  - Windows as picked up by GRUB2 and added as a menu but if not boot into linux and run boot-repair, you should notice the console log picks up the fact theres a Windows bootable partition and adds it to the GRUB menu 

Haven’t have a problem since and wished I knew what I know now which would have saved me days of angst.

Helpful links: http://www.rodsbooks.com/refind/installing.html#winprob

https://www.easeus.com/partition-manager-software/repair-efi-bootloder-in-windows-10-8-7.html

http://www.lostsaloon.com/technology/how-to-list-disks-in-linux/

Dual boot Ubuntu 16.04 with preinstalled Windows 10 Dell G5 5587

I am trying to install+dual boot Ubuntu 16.04(LTS) with pre installed Windows 10(home) in my Dell G5 5587. Windows is installed in SSD. I have 1TB HDD alongside the SSD.

I did the following:

  • Freed 100 GB from SSD and created 100 GB unallocated space.
  • Turned off Windows 10 Fast boot.
  • Turned off Secure boot feature from BIOS.
  • Changed Secure boot mode to audit mode in BIOS.

msinfo32 is showing:

BIOS Mode           UEFI Secure Boot State   Off 

The BIOS is showing UEFI on, Secure Boot off, PTT on.

Approach 1 (MBR+UEFI/Legacy)

I burned Ubuntu using Rufus(MBR+UEFI/Legacy) to a pendrive. I got the pendrive in the one time boot menu(F12). When I try to install Ubuntu it showed the following warning:

“This machine’s firmware has started the installer in UEFI mode but it looks like there may be existing operating systems already installed using “BIOS compatibility mode”. If you continue to install Debian in UEFI mode, it might be difficult to reboot the machine into any BIOS-mode operating systems later.

If you wish to install in UEFI mode and don’t care about keeping the ability to boot one of the existing systems, you have the option to force that here. If you wish to keep the option to boot an existing operating system, you should choose NOT to force UEFI installation here.”)

Force UEFI installation

As I do not want to risk losing Windows, I aborted installing Ubuntu.

Approach 2 (GPT+UEFI)

If I burn the Ubuntu OS using Rufus(GPT+UEFI), I do not find the pendrive in one time boot menu(F12).

Question

How to properly install dual boot Ubuntu 16.04 LTS with pre installed Windows 10 in Dell G5 5587?