Results 1 to 8 of 8

Thread: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

  1. #1
    Join Date
    Dec 2022
    Beans
    2

    Question Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    I'm new to Ubuntu so I'm sure I did something wrong while trying to set up a second partition for Windows 10. Whenever I boot Windows, it seems to break something in Linux and I'm not able to boot Linux anymore. I found a temporary workaround by writing in the command prompt: bcdedit /set {bootmgr} path EFIubuntugrubx64.efion Windows and restarting, but as soon as I boot into Windows again, Linux won't boot.

    Here's the process I took:
    1. I started with one disk that has Linux Mint 21 MATE installed.
    2. Inserted usb with Linux on it and booted that.
    3. Used GParted to resize the disk to make some unallocated space (from about 240GB to 110GB)
    4. Used GParted to create a new partition in the new space, formatted it to ntfs (/dev/sda5: ~130GB)
    5. Applied and shut down PC
    6. Inserted USB with Windows 10 installed, booted that and installed on the new partition.
    7. At this point I was having trouble booting Linux and I saw something about how Windows doesn't like to share an EFI partition, so I created a second EFI partition with 239MB for Windows (/dev/sda2)
    8. Still having issues booting Linux, ran bcdedit /set {bootmgr} path EFIubuntugrubx64.efi in command prompt and was able to boot Linux and run Boot Repair.
    9. Still can't boot Linux (shows a screen that says BusyBox 1.30.1 Built in shell (ash) initramfs)

    I did run Boot Repair on Linux a couple times, but it doesn't seem to fix the issue. Here is the Boot Info summary: sprunge.us/O3jGHU

    Please let me know if there is any other information I should include.

    Thanks
    Last edited by claytonblyon; December 6th, 2022 at 05:07 PM.

  2. #2
    Join Date
    Jun 2007
    Location
    Deland, FL
    Beans
    749
    Distro
    Ubuntu 22.10 Kinetic Kudu

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    This is something that I have done routinely on more than several PC's. Generally start with Win 10 Pro or 11 Pro. Make sure that there is plenty of room on SSD for the Ubuntu installer to create an ext4 partition and Ubuntuwill generally install. On UEFI machines, you need to go into the boot set up and make sure that one of the choices lets you boot from the Ubuntu partition.

  3. #3
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    Moved to MINT.

    Although the solution under the hood may be the same, MINT is based on Ubuntu but it is not Ubuntu or an official flavor.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    Your Boot-Repair link is not valid.
    It normally gives you a pastebin site as the link?

    With UEFI Windows better not to create one NTFS as it wants many partitions.
    https://msdn.microsoft.com/en-us/lib...Configurations
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Dec 2022
    Beans
    2

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    Thank you for letting me know. For some reason it keeps censoring the link. It gave me this link: sprunge.us/O3jGHU

  6. #6
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    When you run the boot-repair -boot-info script which is what you should do to start you will see a ubuntu.pastebin link in the output you get.

    Please use that rather than some unknown pastebin system which can, like the one you chose present difficulties with the forum software.

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    Your ESP, sda1 has some errors in partition boot sector.
    Run either dosfsck or Windows chkdsk on sda1 to repair it.

    It looks like you tried to create a second ESP as sda2. Delete it. It shows Windows boot files in sda1, anyway.
    Most systems only support one ESP per drive, even though UEFI does allow more. But there is no issue having Linux & Windows share one ESP as long as large enough. I do like an ESP on every drive, but even that is not required and usually not used by installer.

    Your sda3 shows errors and that is normal for the required unformatted Microsoft reserved.
    Unformatted partitions are usually shown as an error.

    Your Windows partition shows boot sector type unknown. Windows requires a NTFS type boot sector.
    NTFS has a backup and often chkdsk will repair a boot sector. But if totally missing you may need to create one.
    Testdisk used to create a Windows XP type which is different than the new types. But then chkdsk from newer Windows would convert it.
    Better to use Windows tools to repair a Windows issue.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    4,002
    Distro
    Xubuntu

    Re: Dual Boot Windows 10 and Linux Mint 21 MATE - Can't boot Linux

    I have never had any luck installing Windows after installing Linux. If all else fails, start over with Windows install first.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •