0

I have some problems setting up a dual boot between Win10 and Ubuntu20.04. To be specific, it seems the bootloader grub doesn't find my second hard drive. Note: I've added some pictures at the bottom.

My setup:

  • Microsoft Surface Pro (2017) with internal SSD (256GB)
  • SanDisk - High Endurance MicroSD-Card (128GB)

My Plan: Set up a dual boot with Win10 on the internal SSD and Ubuntu on the added MicroSD-Card.

What I did: Note: I've tried to install Ubuntu serveral times now and always ended up with the same grub-problem.

  • I used "rufus" to create a bootable USB-Stick. I made sure that UEFI is enabled. (pic. 1)
  • I disabled "fast-boot" in Win10 and "Secure-boot" in UEFI
  • I booted with the USB-Stick, went into live-mode and installed Ubuntu. On my...
    • ...fist try I chose "Install Ubuntu alongside Win10".
    • ...second try I chose "something different" and partitioned the drive myself (like in the answer on this question).
    • ...third try (current state) I chose "erase disk". Every time the installation went well, but not once I could boot normally.

My Problem: When I restart after installation I always end up in the "grub bash like" terminal (pic. 2). I read in a tutorial that I have to tell grub where my "root" is, but when i type "ls", the second Hard drive (MicroSD-Card) doesn't even show up. When I type "exit", Win10 boots normally. When I reboot, enter UEFI and tell it to boot into Ubuntu directly, it works (pic. 3&4). But on every "normal" boot, it sends me to the grub terminal.

What I've tried:

  • I've tried different installation methods (no difference)
  • I've tried using the Boot-Repair tool. No effect.

I've had the same problem a year ago with my main Desktop-PC (I also used a separate SSD for Linux) and had the exact same Problem. Last time I surrendered. This time I want to find a solution.

Pictures:

  1. Rufus - Bootable USB-Stick
  2. Grub2 - Bash like terminal
  3. UEFI - Boot-configuration
  4. Grub2 - Boot-menue

Edit 1: I tried boot-repair again, this time in advanced mode. These were the settings (those were default)

The returned Summaries:

Here is a Picture of the partitions in GParted

New Problem: Now I can't even boot manually into Ubuntu via UEFI anymore. The entry is still there but if i chose "boot with ubuntu" the screen goes dark for 2 sec. and I end up in UEFI again.

Note: I had to delete some pictures because i can only incluse 8 Links.

10
  • Is Windows fast startup off? Have you updated both UEFI & SSD firmware? Do you have an ESP on flash drive? Or is Ubuntu boot loader in ESP on SSD? Post link to Summary Report from Boot-Repair. askubuntu.com/questions/1296065/… & askubuntu.com/questions/16988/… UEFI/gpt partitioning in Advance, new versions use swap file so swap partition optional: askubuntu.com/questions/743095/…
    – oldfred
    Apr 3, 2022 at 14:31
  • Hi Oldfred, yes fast startup is off. Grub should be on the ESP of the MicroSD card. I looked at your post of your first link and tried boot-repair in advaced mode. I'll edit my post with the pictures of the settings and a link. But now i cant even boot manually via UEFI into linux anymore.
    – Davider
    Apr 3, 2022 at 15:54
  • I'm sorry, I don't know how or where to upload the summary report from boot repair. What do you usually use on askUbuntu?
    – Davider
    Apr 3, 2022 at 16:10
  • In Boot-Repair you just click to run Create Bootinfo Summary report & it will offer to upload to pastebin site. sourceforge.net/p/boot-repair/home/Home
    – oldfred
    Apr 3, 2022 at 17:43
  • Alright, I added the Links below the settings for Boot-repair.
    – Davider
    Apr 4, 2022 at 8:00

3 Answers 3

2

you probably cannot select the sd card as a boot medium (like usb,cd or lan) in your bios. if not available for boot i don't think you can use it for an os.

you might stick the sd card in a usb card reader and see if a default dual boot install or boot-repair will work.

5
  • I thought so too but: - ... I had the same problem a year ago with a normal SSD - ... I can boot direclty into Linux but just if I juse the detour through UEFI (Picture 3: select Ubuntu, hit enter -> boots normaly)
    – Davider
    Apr 3, 2022 at 13:27
  • at that point the sd card reader might have become active.
    – user74341
    Apr 3, 2022 at 13:31
  • From a quick Google web search. It is a jungle. If you are lucky, you can boot from an SD card with your current devices. You create an SD boot drive like you install a USB boot drive, for example with mkusb in linux and with Rufus or Win32 Disk Imager in Windows Also read this site. help.ubuntu.com/community/BootFromSD
    – David
    Apr 3, 2022 at 13:36
  • I figured it out. The Surface Pro 2017 (5) can definitely boot from MicroSD-Card. But it is important that "USB" is the first entry in the boot-order (see my answer that I posted).
    – Davider
    Apr 5, 2022 at 17:31
  • Regardless of whether this answer helped the user in the end, I think this is a good first answer with a helpful workaround suggestion and may help other people in the future. Apr 9, 2022 at 18:27
0

It depends on the type of Microsoft Surface Pro you have. Model 3 can boot from SD, model 4 doesn't. Please take a look at he Microsoft Community. e.g. https://answers.microsoft.com/en-us/surface/forum/all/surface-pro-4-boot-from-sd-card/b0eeb516-50b3-4460-8492-6ebb4edd9648. It seems to be able to boot from USB. Maybe a USB-SD cardreader is an option. I'm not sure though. Boot from USB: https://support.microsoft.com/en-us/surface/boot-surface-from-a-usb-device-fe7a7323-8d1d-823d-be17-9aec89c4f9f5.

0

First of all, thank you for your suggestions! I found a solution:

I followed (mostly) this guide. I changed:

  • Step 21: I've chosen "erase disk and install ubuntu"
  • Step 22&23: Choose the SD-Card
  • before Step 28: check the names of your drives with "sudo fdisk -l" (see Zhihao Wu's Comment)
  • Step 30: Don't drag "ubuntu" to the top (See MegaKyurem's comment). My Boot-order is: USB - Ubuntu - Windows

Reboot and it should work! You can even turn "secure boot" in UEFI back on (if you don't want the read lock to appear on your boot-screen).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .