Results 1 to 6 of 6

Thread: Boot-repair for Mint on a USB stick?

  1. #1
    Join Date
    Feb 2020
    Beans
    3

    Boot-repair for Mint on a USB stick?

    Aloha. Hope I have the correct forum, if not please let me know.

    I have a USB stick onto which I did a full install of Mint 19.1. It worked for a while, and then suddenly stopped working. When I try to boot from it, the machine acts like there is not a bootable partition on the stick. I've looked at Boot-Repair, but I don't know what advanced options I might need to repair just the USB stick and not the Mint desktop that I'm running Boot-Repair from. I've generated a boot info report:

    http://paste.ubuntu.com/p/ThpySwQN7C/

    The USB stick is /dev/sdd. /dev/sda is an external USB drive, /dev/sdb is the Mint desktop system, /dev/sdc is Windows 10

    Any help would be appreciated.

    Mahalo,

    Harry Z

  2. #2
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    29,807
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Boot-repair for Mint on a USB stick?

    Thread moved to MINT a more appropriate sub-forum.

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

    Re: Boot-repair for Mint on a USB stick?

    You do not have a bootable partition on the stick.

    Do not know Mint, but if like Ubuntu the installer puts grub into the first drive's ESP usually sda or first NVMe drive.
    So you can boot full install on flash drive only from internal drive.

    Better to have an ESP - efi system partition as FAT32 with boot flag and UEFI boot files in that ESP.
    External drives only boot from ESP & /EFI/boot/bootx64.efi. But if bootx64.efi is a copy of the full version of grub, it also need /EFI/ubuntu (does Mint use ubuntu?) for rest of grub's boot files. The installer has a limited grub that only needs a few files to boot installer.

    If Mint is using the broken Ubuntu's Ubiquity installer, there is this work around. Bug report is very old. I have installed Debian & Fedora just to see how grub works and both installed correctly to my sdb drive when I selected it. So it only is Ubuntu that does not give a user a choice.

    Ubuntu Installer uses wrong bootloader location for USB/sdb UEFI installs
    https://bugs.launchpad.net/ubuntu/+s...y/+bug/1173457
    Posted work around to manually unmount & mount correct ESP during install
    https://bugs.launchpad.net/ubuntu/+s...y/+bug/1396379
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1229488

    Or you can copy /EFI/Boot & /EFI/ubuntu folders from ESP on internal drive to flash drive. Issue may be another full install overwrote /EFI/ubuntu/grub.cfg which is a 3 line configfile to load the full grub in your install. You may need to check that.
    Line 208 in your report shows the UUID of your install in sdb2, so that is your default full grub.
    You need a similar entry in the ESP on your flash drive with UUID of your install on the flash drive.

    I also use configfile to boot other installs & load full grub menu of that install rather than direct boot of kernel that os-prober adds to grub menu.
    Use labels and configfile to boot another install
    https://askubuntu.com/questions/3441.../344359#344359 &
    https://www.gnu.org/software/grub/ma...-manual-config
    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.

  4. #4
    Join Date
    Feb 2020
    Beans
    3

    Re: Boot-repair for Mint on a USB stick?

    OK. I will just reinstall Mint on the USB stick. Seems like the path of least resistance.

    Mahalo for your reply.

    Harry Z

  5. #5
    Join Date
    May 2013
    Location
    Galiza
    Beans
    4,009
    Distro
    Ubuntu

    Re: Boot-repair for Mint on a USB stick?

    Quote Originally Posted by haoleboy2 View Post
    OK. I will just reinstall Mint on the USB stick. Seems like the path of least resistance.
    Yes, indeed.

    The problem with installations running from USB sticks (or even disks) is that they have a much higher tendency to become corrupted. But keep in mind that when that happens Boot Repair won't help you. It's important to understand its purpose and not be misled by its name. Its purpose is to install/reinstall/manage boot loaders and some firmware settings related to the boot process. A system that is booting already doesn't need Boot Repair as if later it doesn't than Boot Repair won't be of any use either, unless the problem is a a user action that resulted in deleting boot loaders.

  6. #6
    Join Date
    Feb 2020
    Beans
    3

    Re: Boot-repair for Mint on a USB stick?

    Quote Originally Posted by CelticWarrior View Post
    ... Its purpose is to install/reinstall/manage boot loaders and some firmware settings related to the boot process.
    This is why I was trying to use Boot-Repair

    Harry Z

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
  •