Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Full install Ubuntu 16.04 LTS SanDisk 32GB Ultra 3.0

  1. #11
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Full install Ubuntu 16.04 LTS SanDisk 32GB Ultra 3.0

    Quote Originally Posted by sudodus View Post
    Welcome to the Ubuntu Forums

    I have been thinking a lot about the things that you want to do, and I think I have a solution. I install bootloaders for both UEFI and BIOS mode, and for an external drive. You can do it yourself 'from scratch' according to the description or take a short-cut and use the compressed image files. It is described and explained at the following links,

    Installation/UEFI-and-BIOS with details at .../stable-alternative

    Portable installed system that boots in UEFI as well as in BIOS mode
    Quote Originally Posted by Doktertje View Post
    Hi all,

    I've read Sudodus' suggestions, but they seemed a bit more complicated than what I had time for, especially with taking out the hard drive, which is not very easy for my Acer V7-482PG laptop.

    ...

    Thanks in advance!
    Good luck trying along the advice of oldfred

    But if still no luck, you can 'take a short-cut and use the compressed image files' according to my first post. You need not remove your internal drive to use that method.

  2. #12
    Join Date
    May 2016
    Beans
    6

    Re: Full install Ubuntu 16.04 LTS SanDisk 32GB Ultra 3.0

    Hi oldfred,

    I did the following things after your latest piece of advice:

    1) run sudo efibootmgr to find which entry is booted first. This was the ubuntu entry, because I had already previously set that ubuntu must be booted first in my BIOS. I ran your commands anyway, just to be sure;

    2) I mounted /dev/sda2 on /mnt/efipart (my windows ESP partition) and copied the ubuntu folder from there to my home folder (easier to copy it to here first, then move it to its designated spot);

    3) unmount /dev/sda2 from /mnt/efipart and mount /dev/sdb1 (USB ESP partition) on /mnt/efipart. I made the folder /EFI and copied the ubuntu folder into this folder. I made the Boot folder within /EFI and also copied the ubuntu folder into this Boot folder (/EFI/Boot). In the Boot folder, I renamed shimx64.efi to bootx64.efi;

    4) I rebooted my laptop and booted into BIOS. I found an option to set "trust" on files (didn't know this option existed in my BIOS) and set trust on shimx64.efi, bootx64.efi, and grub.cfg (maybe the name of the grub file is wrong, but it was at least the grub file within the ubuntu folder). This added these files to "allowed databases";

    5) I shutdown my laptop and booted again, with the USB drive with Ubuntu inserted. My laptop booted straight into Windows, even without showing GRUB.

    My BIOS boots in UEFI mode, not Legacy mode.

    Did I miss something here?
    What commands can I run next to give you more information?

    Kind Regards,

    Sjoerd

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

    Re: Full install Ubuntu 16.04 LTS SanDisk 32GB Ultra 3.0

    In the sdb drive it has to be /EFI/Boot/bootx64.efi.
    Your description seems to say it is /EFI/Boot/ubuntu/bootx64.efi

    And it has to be /EFI/ubuntu for the standard grub/ubuntu files.
    The versions of shim & grub installed to sda normally are hard coded to look for /EFI/ubuntu.

    The trust settings would normally be on the files in the internal drive.
    The external drive should always boot from /EFI/Boot/bootx64.efi.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Intro to Discourse: https://discourse.ubuntu.com/t/welco...and-help/49951

Page 2 of 2 FirstFirst 12

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
  •